check_npn_species: Checks if USA-NPN species exists

Description Usage Arguments Value Examples

View source: R/check_npn_species.r

Description

Checks if USA-NPN species exists

Usage

1

Arguments

species

An USA-NPN species (character or number). Will search in both Genus species and common name fields and will match any term within those fields. The search relies on regular expressions so this can be used to be more specific.

list

List all species numbers and names as verbose output

Value

a validated list of species numbers, if not a warning is thrown and any depended routines halted.

Examples

1
2
3
4
5
## Not run: 
# list all USA-NPN phenophases
check_npn_species(species = 3, list = TRUE)

## End(Not run)

khufkens/phenor documentation built on Oct. 4, 2019, 1:32 a.m.