nps_taxonomy: Retrieve raw NPS taxonomic information matching scientific...

Description Usage Arguments Details Value Examples

View source: R/taxonomy_helpers.R

Description

Queries National Park Service taxonomy records by scientific name, returning all records that match the input sci_name parameter (including partial matches; see Details). Returns basic taxonomic information, if available, including ITIS Taxonomic Serial Number (tsn), the taxon_code assigned by the National Park Service (and used also by the US Fish & Wildlife Service), common_name(s), a generic taxon group, whether the taxon is valid according to ITIS and, if not, the accepted taxon_code if a match is found.

Usage

1
nps_taxonomy(sci_name)

Arguments

sci_name

scientific name character scalar (case-insensitive) for which to retrieve basic taxonomic information. Unlike retrieve_taxonomy, matches are not restricted to the species level; that is, subspecies may be returned.

Details

It is somewhat unclear how the NPS records are filtered. The best guess is that it parses the unique words in the query string (sci_name) and returns all records that match that set of unique words. The order of query words is not strictly enforced. See examples.

Value

a data.frame of basic taxonomic infomration or NULL if there are no matching records

Examples

1
2
3
4
5
6
## Not run: 
nps_taxonomy("GULo gulo")
nps_taxonomy("Lampropeltis holbrooki")
nps_taxonomy("holBRooki lampropeltis")

## End(Not run)

adamdsmith/fwspp documentation built on April 3, 2018, 12:02 p.m.