Get scientific names.

Share:

Description

Get scientific names.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
npn_species(...)

npn_species_itis(ids, ...)

npn_species_id(ids, ...)

npn_species_state(state, kingdom = NULL, ...)

npn_species_sci(genus, species, ...)

npn_species_comm(name, ...)

npn_species_search(network = NULL, year = NULL, groups = NULL,
  stationid = NULL, ...)

Arguments

...

Curl options passed on to GET

ids

One or more ITIS taxonomic serial numbers (tsn), or NPN ID numbers.

state

Required. A US state, two-letter abbreviation.

kingdom

Optional. A taxonomic kingdom.

genus

A genus name

species

A specific epithet, the second part of a full species name

name

A common name

network

The primary key of the network for which to filter species.

year

Year of obseration

groups

One or more primary keys associated with a species type.

stationid

Station ID. Use e.g., c(4881, 4882, etc.) if more than one species desired

Value

data.frame of species and their IDs

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
head( npn_species() )
npn_species_itis(ids = 27806)
npn_species_itis(ids = c(27806,36616))
npn_species_id(ids = 3)
npn_species_state(state = "HI")
npn_species_state(state = "HI", kingdom = "Plantae")
npn_species_sci(genus = "Clintonia", species = "borealis")
npn_species_comm(name = "thickleaved wild strawberry")
npn_species_comm(name = c("thickleaved wild strawberry","bluebead"))
npn_species_search(groups = 3, year = 2010)
npn_species_search(groups = c(3,9), year = 2010)

library('httr')
npn_species_itis(ids = 27806, config=verbose())

## End(Not run)