View source: R/data-access-io-prepare.R
| download_database | R Documentation |
Downloads are explicit, versioned, and cached. Existing files are reused
unless force = TRUE. A catalog entry may comprise several jointly
versioned and verified artifacts. No analytical function calls this
function.
download_database(
id,
version = NULL,
cache_dir = NULL,
force = FALSE,
quiet = FALSE,
accept_license = FALSE
)
id |
Catalog identifier from |
version |
Database release specified by the catalog. By default, the
release associated with |
cache_dir |
Cache root. Download functions require an explicit path;
read-only loaders use the package user cache when it is |
force |
Replace existing cached artifacts. |
quiet |
Suppress download progress. |
accept_license |
Confirm that you reviewed the catalog entry's source
terms. Required only when |
The normalized cached artifact path, or a named vector of paths for a grouped database, invisibly.
available_databases(), load_database()
cache <- file.path(tempdir(), "NEArender-cache")
## Not run:
download_database("reactome_pathways", cache_dir = cache)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.