download: Download datasets via the EcoData Retriever.

Description Usage Arguments Examples

Description

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

Usage

1
download(dataset, path = ".", sub_dir = FALSE, log_dir = NULL)

Arguments

dataset

the name of the dataset that you wish to download

path

the path where the data should be downloaded to

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.

log_dir

the location where the retriever log should be stored if the progress is not printed to the console

Examples

1
2
3
ecoretriever::download('MCDB')
## list files downloaded
dir('.', pattern='MCDB')

ecoretriever documentation built on Jan. 15, 2017, 12:09 p.m.