Checks if USA-NPN species exists
check_npn_species(species = NULL, list = TRUE)
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
if (FALSE) { # \dontrun{
# list all USA-NPN phenophases
check_npn_species(species = 3, list = TRUE)
} # }