download: Download datasets via the Data Retriever.

Description Usage Arguments Examples

Description

Directly downloads data files with no processing, allowing downloading of non-tabular data.

Usage

1
2
download(dataset, path = "./", quiet = FALSE, sub_dir = FALSE,
  debug = FALSE)

Arguments

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

if true and the downloaded dataset is stored in subdirectories those subdirectories will be preserved and placed according the path argument, defaults to false.

debug

Setting TRUE helps in debugging in case of errors

Examples

1
2
3
4
rdataretriever::download('plant-comp-ok')
# downloaded files will be copied to your working directory
# when no path is specified
dir()

zhangcandrew/rdataretriever documentation built on May 28, 2019, 5:57 p.m.