get_sites: Return Site Information.

Description Usage Arguments Value Author(s) References Examples

Description

get_sites returns site information from the Neotoma Paleoecological Database based on parameters defined by the user.

Usage

1
  get_sites(siteid, sitename, altmin, altmax, loc, gpid)

Arguments

siteid

The numerical site ID.

sitename

A character string representing the full or partial site name.

altmin

Minimum site altitude (in m).

altmax

Maximum site altitude (in m).

loc

A numeric vector c(lonW, latS, lonE, latN) representing the bounding box within which to search for sites. The convention here is to use negative values for longitudes west of Grewnwich or longitudes south of the equator.

gpid

A character string, must correspond to a valid geopolitical identity in the Neotoma Database. Use get.tables('GeoPoliticalUnits') for a list of acceptable values, or link here: http://api.neotomadb.org/apdx/geopol.htm

Value

A table:

Extended response variables when only a single site is returned:

Author(s)

Simon J. Goring simon.j.goring@gmail.com

References

Neotoma Project Website: http://www.neotomadb.org API Reference: http://api.neotomadb.org/doc/resources/contacts

Examples

1
2
3
4
5
6
7
8
## Not run: 
#  What is the distribution of site elevations in Neotoma?
all.sites <- get_sites()  #takes a bit of time.

plot(density(all.sites$Altitude, from = 0, na.rm=TRUE),
main = 'Altitudinal Distribution of Neotoma Sites', xlab = 'Altitude (m)', log='x')

## End(Not run)

neotoma documentation built on May 2, 2019, 5:55 p.m.