View source: R/download_data.R
| download_iobr_data | R Documentation |
Downloads large datasets from GitHub releases to avoid CRAN size limits. Supports multiple download mirrors for users in different regions. Data is cached locally after first download. Cache directory can be customized via 'options(IOBR.cache_dir = "your/path")'.
download_iobr_data(
name,
force = FALSE,
verbose = TRUE,
mirrors = get_default_mirrors(),
cache_dir = NULL
)
name |
Character string. Name of the dataset to download. |
force |
Logical. Whether to force re-download even if cached. Default: FALSE. |
verbose |
Logical. Whether to print progress messages. Default: TRUE. |
mirrors |
Character vector. URLs of mirrors to try. Default uses get_default_mirrors(). |
cache_dir |
Character string. Custom cache directory. If NULL, uses the option 'IOBR.cache_dir' or the default system cache location. |
The requested dataset.
## Not run:
tcga_sig <- download_iobr_data("tcga_stad_sig")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.