download_dataset: Download a dataset as a zip archive and store at the...

Description Usage Arguments Value Examples

View source: R/download_dataset.R

Description

Download a dataset as a zip archive and store at the specified path.

Usage

1
download_dataset(owner_id, dataset_id, output_path)

Arguments

owner_id

User name and unique identifier of the creator of a dataset or project

dataset_id

Dataset unique identifier

output_path

Local file path where dataset zip file will be saved.

Value

Server response message.

Examples

1
2
3
4
5
## Not run: 
  dwapi::download_dataset('user', 'dataset',
   output_path = tempfile(fileext = 'zip'))

## End(Not run)

datadotworld/dwapi-r documentation built on July 3, 2021, 3:40 a.m.