Learn R Programming

neotoma2 (version 1.0.5)

get_sites.default: get_sites

Description

get_sites

Usage

# S3 method for default
get_sites(...)

Value

The function returns either a single item of class "try-error"

describing the reason for failure (either misdefined parameters or an error from the Neotoma API), or a table of sites, with rows corresponding to the number of individual sites returned by the Neotoma API. Each "site" object contains 6 parameters that can be accessed as well: siteid, sitename, location, altitude, description, limited collection units information.

  • loc An sf object that describes site's location.

  • collunits limited information on collunits

Arguments

...

One of a set of possible query parameters discussed in details.

Author

Socorro Dominguez s.dominguez@ht-data.com