npn_allobssp: Get all observations for a particular species or set of...

Description Usage Arguments Value Examples

View source: R/npn_allobssp.R

Description

Get all observations for a particular species or set of species

Usage

1
npn_allobssp(speciesid, startdate = NULL, enddate = NULL, ...)

Arguments

speciesid

species id numbers, from 1 to infinity, potentially, use e.g., c(52, 53, etc.) if more than one species desired (numeric)

startdate

start date of data period desired, see format in examples (character)

enddate

end date of data period desired, see format in examples (character)

...

Curl options passed on to GET

Value

A list with slots for taxa, stations, phenophase (metadata) and data

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# Lookup names
lookup_names(name='Pinus', type='genus')

# Get data on one species
npn_allobssp(speciesid = 52, startdate='2008-01-01', enddate='2011-12-31')

# Get data on two species
npn_allobssp(speciesid = c(52, 53), startdate='2008-01-01', enddate='2011-12-31')

# Get data on one species, convert to a single data.frame
npn_allobssp(speciesid = 52, startdate='2008-01-01', enddate='2011-12-31')

## End(Not run)


rnpn documentation built on May 19, 2017, 1:16 p.m.
Search within the rnpn package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.