pulldata: Pull trait data from the internet

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/data.R

Description

This function sources a recipe for extracting public trait data.

Usage

1

Arguments

x

the dataset to source. Leave empty for full list of available datasets.

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).

Value

Makes a raw dataset available in R according to instructions provided by dataset function.

Author(s)

Florian D. Schneider

See Also

Other rawdata: amniota, amphibio, arthropodtraits, carabids, heteroptera_raw, mammaldiet, pantheria

Examples

1
2
3
4
5
# to get a list of all available data within the package 
pulldata() 

# to import a dataset
pulldata("carabids")

traitdataform documentation built on March 23, 2021, 1:11 a.m.