pulldata: Pull trait data from the internet

View source: R/data.R

pulldataR Documentation

Pull trait data from the internet

Description

This function sources a recipe for extracting public trait data.

Usage

pulldata(x = NULL)

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


# to get a list of all available data within the package 
pulldata() 

# to import a dataset
pulldata("carabids")

EcologicalTraitData/traitdataform documentation built on June 12, 2022, 5:57 a.m.