Description Usage Arguments Value Author(s) References Examples
Return site information from the Neotoma Paleoecological Database.
get_site
returns site information from the Neotoma Paleoecological Database
based on parameters defined by the user.
1 |
sitename |
character string representing the full or partial site name, or an object of class |
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 or numeric value, 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 |
... |
Optional additional arguments |
A data frame:
|
Unique database record identifier for the site. |
|
Name of the site. |
|
Mean longitude, in decimal degrees, for a site (-180 to 180). |
|
Mean latitude, in decimal degrees, for a site (-90 to 90). |
|
Elevation in meters. |
|
Free form description of a site, including such information as physiography and vegetation around the site. |
|
If the site is described by a bounding box this is the box width. |
|
If the site is described by a bounding box this is the box height. |
Simon J. Goring simon.j.goring@gmail.com
Neotoma Project Website: http://www.neotomadb.org API Reference: http://api.neotomadb.org/doc/resources/sites
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# What is the distribution of site elevations in Neotoma?
all.sites <- get_site() #takes a bit of time.
plot(density(all.sites$elev, from = 0, na.rm=TRUE),
main = 'Altitudinal Distribution of Neotoma Sites', xlab = 'Altitude (m)', log='x')
# Get site information from a dataset:
nw.datasets <- get_dataset(loc = c(-140, 50, -110, 65),
datasettype='pollen',
taxonname='Pinus*')
nw.sites <- get_site(nw.datasets)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.