cosore_data: Load the COSORE database

Description Usage Arguments Details Examples

Description

Load data from the COSORE continuous soil respiration database.

Usage

1
2
3

Arguments

version

Version to load. Verion "1.0.0" corresponds to the version published in Ecology in 2015. Other valid versions are "0.1.0", "0.2.0" and "0.9.0" which are stored on github but are of historical interest only.

path

Optional path in which to store the data. If omitted we use rappdirs to generate a reasonable path.

Details

The first time this is run for a given version, this function will download the Continuous Soil Respiration (COSORE) from github, using numbered versions), unpack the resulting zip file and load the RData and/or csv files. Subsequent calls will be considerably quicker.

The function cosore_delete deletes all traces of downloaded COSORE data if a version is not given, or a specific version if that is listed.

Examples

1
2
3
4
5
## Not run: 
cosore <- cosore_data()
head(cosore[[1]]$data)

## End(Not run)

bpbond/cosore.data documentation built on May 28, 2019, 12:32 a.m.