install_retriever_data: Download a dataset from data retriever

Description Usage Arguments Examples

View source: R/utils_retriever_data.R

Description

install_retriever_data downloads retriever datasets and is a wrapper around rdataretriever::install

import_retriever_data loads a previously downloaded retriever dataset

Usage

1
2
3
4
install_retriever_data(dataset, path = get_default_data_path(),
  force_install = FALSE)

import_retriever_data(dataset, path = get_default_data_path())

Arguments

dataset

the name of the dataset that you wish to download

path

the overarching folder in which to download datasets

force_install

whether to install the dataset if the correctly named folder already exists

Examples

1
2
3
4
5
6
7
8
## Not run: 
  install_retriever_data("veg-plots-sdl")

## End(Not run)
## Not run: 
  import_retriever_data("veg-plots-sdl")

## End(Not run)

diazrenata/mcsdb documentation built on May 29, 2019, 8:31 a.m.