lookup_names: Look up species IDs by taxonomic or common name

Description Usage Arguments Examples

View source: R/lookup_names.R

Description

Look up species IDs by taxonomic or common name

Usage

1
lookup_names(name, type = "genus", fuzzy = FALSE)

Arguments

name

A scientific or common name

type

One of common_name, genus, epithet, or genus_epithet

fuzzy

One of TRUE or FALSE, if FALSE, uses fuzzy search via agrep, if FALSE, uses grep

Examples

1
2
3
4
5
6
## Not run: 
lookup_names(name='Pinus', type='genus')
lookup_names(name='pine', type='common_name')
lookup_names(name='bird', type='common_name', fuzzy=TRUE)

## End(Not run)

rnpn documentation built on May 29, 2017, 3:29 p.m.

Search within the rnpn package
Search all R packages, documentation and source code