Learn R Programming

ecoretriever (version 0.2.1)

fetch: Fetch a dataset via the EcoData Retriever

Description

Each datafile in a given dataset is downloaded to a temporary directory and then imported as a data.frame as a member of a named list.

Usage

fetch(dataset, quiet = TRUE)

Arguments

dataset
the name of the dataset that you wish to download
quiet
logical, if true retriever runs in quiet mode

Examples

Run this code

## fetch the Mammal Community Database (MCDB)
MCDB = ecoretriever::fetch('MCDB')
class(MCDB)
names(MCDB)
## preview the data in the MCDB communities datafile
head(MCDB$communities)

Run the code above in your browser using DataLab