View source: R/lookup_usgs_elevation.R
lookup_usgs_elevation | R Documentation |
This is meant to supply an APPROXIMATE elevation, with no guarantees on
precision or on the lifetime of the API service used by the function. This
function uses two packages, RCurl
and XML
, that are not
required for the streamMetabolizer
package as a whole. If these are
not already installed, run install.packages(c('RCurl','XML'))
before
calling lookup_usgs_elevation
.
lookup_usgs_elevation(latitude, longitude, units = c("Meters", "Feet"))
latitude |
degrees latitude (positive for north) of the location to look up. |
longitude |
degrees longitude (positive for east) of the location to look up. |
units |
character, one of Meters or Feet, specifying the units in which to return the elevation |
https://nationalmap.gov/epqs/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.