install_retriever_data: Download data from the 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

download_datasets is a wrapper around install_retriever_data to download multiple datasets, with the default to download all of the datasets that are supported.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
install_retriever_data(
  dataset,
  path = get_default_data_path(),
  force_install = FALSE
)

import_retriever_data(dataset = NULL, path = get_default_data_path())

download_datasets(
  dataset = c("jornada-lter-rodent", "shortgrass-steppe-lter", "veg-plots-sdl",
    "mapped-plant-quads-mt", "ushio-maizuru-fish-community",
    "global-population-dynamics", "breed-bird-survey", "biotimesql"),
  path = get_default_data_path(),
  force_install = FALSE
)

Arguments

dataset

the name of the dataset that you wish to download

path

the overarching folder in which to download datasets; OR the full path to the folder containing the data (when dataset == NULL)

force_install

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

Examples

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

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

## End(Not run)
## Not run: 
  download_datasets()

## End(Not run)

weecology/MATSS documentation built on May 15, 2020, 7:03 p.m.