tpl.get: Get plant taxonomical and distribution data

Description Usage Arguments Value Examples

View source: R/tpl.get.R

Description

This function collects taxonomic information from The Plant List. Synonyms and misspelled names are resolved automatically.

Usage

1
2
3
4
5
tpl.get(taxa, replace.synonyms = TRUE, suggest.names = TRUE,
  suggestion.distance = 0.9, drop = c("major.group", "genus.hybrid.marker",
  "species.hybrid.marker", "nomenclatural.status.from.original.data.source",
  "ipni.id", "source.id", "publication", "collation", "page", "date"),
  apg.families = TRUE, return.synonyms = FALSE, parse = FALSE)

Arguments

taxa

a character vector containing one or more taxa, without authors see noauthors if you have a list with authorities

replace.synonyms

should the function automatically replace synonyms?

suggest.names

should the function try to suggest corrections for spelling errors?

suggestion.distance

how conservative should the suggestion algorithm be?

drop

NULL or character vector with columns from original dataset to drop.

apg.families

Return APG families?

return.synonyms

Return a list of synonyms instead of the regular dataset?

parse

Parse names through the GBIF parser?

Value

a data frame or a list of data frames if return.synonyms = TRUE

Examples

1
2
3
4
## Not run: 
tpl.get("Myrcia lingua")

## End(Not run)

gustavobio/tpl documentation built on May 17, 2019, 9:29 a.m.