meta_smml: Downloads and evaluate species presence in SMML DBs

Description Usage Arguments Details Value Author(s) Examples

View source: R/meta_smml.R

Description

Searches, downloads and evaluates presence/absence of data in the SMML databases

Usage

1
meta_smml(x, spec_type = c("plant", "fungus"), process = TRUE)

Arguments

x

a vector of class character containing fungal or plant species or genus names

spec_type

a character string specifying the type of x. Can be either "plant" or "fungus"

process

logical, if TRUE downloading and extraction process is displayed

Details

Use this function before deriving data from one of the databases in order to prune your input species vector. With pruned species vectors the functions will run faster. This is important if x is some hundred species long.

Value

an object of class data.frame: presence/absence

Author(s)

Franz-Sebastian Krah

Examples

1
2
3
4
5
6
7
## Not run: 
fungus.meta <- meta_smml(x = "Picea abies", process = TRUE, spec_type = "plant")
fungus.meta
hosts.meta <- meta_smml(x = "Antrodiella citrinella", process = TRUE, spec_type = "fungus")
hosts.meta

## End(Not run)

ropensci/rusda documentation built on Jan. 28, 2021, 7 p.m.