View source: R/rdataretriever.R
download | R Documentation |
Directly downloads data files with no processing, allowing downloading of non-tabular data.
download( dataset, path = "./", quiet = FALSE, sub_dir = "", debug = FALSE, use_cache = TRUE )
dataset |
the name of the dataset that you wish to download |
path |
the path where the data should be downloaded to |
quiet |
logical, if true retriever runs in quiet mode |
sub_dir |
downloaded dataset is stored into a custom subdirectory. |
debug |
setting TRUE helps in debugging in case of errors |
use_cache |
Setting FALSE reinstalls scripts even if they are already installed |
No return value, downloads the raw dataset
## Not run: rdataretriever::download("plant-comp-ok") # downloaded files will be copied to your working directory # when no path is specified dir() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.