| download_study | R Documentation |
Downloads a study dataset from a GitHub Release and stores it in the local
cache (see cache_dir()). Once downloaded, the study is available to
connect_clinical_data() without an internet connection.
Requires the piggyback package.
download_study(
source,
version = "latest",
force = FALSE,
repo = "Lovemore-Gakava/clinTrialData"
)
source |
Character string. The name of the study to download (e.g.
|
version |
Character string. The release tag to download from. Defaults
to |
force |
Logical. If |
repo |
GitHub repository in the form |
Invisibly returns the path to the cached study directory.
# Download the CDISC Pilot study
download_study("cdisc_pilot")
# Then connect as usual
db <- connect_clinical_data("cdisc_pilot")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.