check_npn_species: Checks if USA-NPN species exists

View source: R/check_npn_species.r

check_npn_speciesR Documentation

Checks if USA-NPN species exists

Description

Checks if USA-NPN species exists

Usage

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


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

## End(Not run)

bluegreen-labs/phenor documentation built on Sept. 2, 2023, 10:34 a.m.