This function sources a recipe for extracting public trait data.

pulldata(x = NULL)

Arguments

x

The name of the dataset to source.

Details

The package 'traitdataform' comes with a collection of recipes for public trait data. These R-scripts

  1. define how to read the file from an online source, i.e. a URL to a txt, xlsx, or a ZIP archive

  2. assigns metadata attributes about authorship, license and original publication

  3. provide parameters for the standardize() function, i.e. a trait thesaurus, mappings and units.

New recipes can be suggested as a pull requrest via the package development page (https://github.com/EcologicalTraitData/traitdataform).

See also

Examples

# to get a list of all available data within the package pulldata()
#> Please choose a trait dataset to import! the following trait datasets are available: #> amniota #> amphibio #> arthropodtraits #> carabids #> heteroptera_raw #> heteroptera #> mammaldiet #> pantheria
# to import a dataset pulldata("carabids")
#> The dataset 'carabids' is now available for use!