insightsengineering / teal.connectors.ssh

Teal connector to access data via ssh
https://insightsengineering.github.io/teal.connectors.ssh/
1 stars 0 forks source link
connectors nest r ssh

teal.connectors.ssh: teal connector to access data via SSH

Check πŸ›  Docs πŸ“š Code Coverage πŸ“”

GitHub forks GitHub repo stars

GitHub commit activity GitHub contributors GitHub last commit GitHub pull requests GitHub repo size GitHub language count Project Status: Active – The project has reached a stable, usable state and is being actively developed. Current Version Open Issues

The teal.connectors.ssh package allows SSH data to be pulled into teal applications. The app developer can be used as a teal_data_module in your teal application.

Key features

For an example as to how this works see the example app in the help page: help(ssh_connector).

Installation

install.packages("teal.connectors.ssh", repos = c("https://insightsengineering.r-universe.dev", getOption("repos"))))

# install.packages("pak")
pak::pak("insightsengineering/teal.connectors.ssh@*release")

Alternatively, you might also use the development version.

install.packages("teal.connectors.ssh", repos = c("https://pharmaverse.r-universe.dev", getOption("repos")))

# install.packages("pak")
pak::pak("insightsengineering/teal.connectors.ssh")

Example

library(teal.connectors.ssh)
x <- ssh_connector(
  paths = list(ADSL = "/path/to/ADSL.csv", ADTTE = "/path/to/ADTTE.csv"),
  host = "example.com:22"
)
app <- teal::init(data = x, modules = list(teal::example_module()))
shiny::shinyApp(app$ui, app$server)

Example of sample application