Description Usage Arguments Value References
View source: R/addGoogleElevation.R
Google APIs are used to determine elevation associated with the locations specified by the
lonVar
and latVar
columns of the incoming dataframe.
Address information is obtained by using the ggmap package.
1 2 3 4 5 6 | addGoogleElevation(
df,
lonVar = "longitude",
latVar = "latitude",
existingMeta = NULL
)
|
df |
dataframe with geolocation information (e.g. those created by |
lonVar |
name of longitude variable in the incoming dataframe |
latVar |
name of the latitude variable in the incoming dataframe |
existingMeta |
existing 'meta' dataframe from which to obtain metadata for known monitor deployments |
Input dataframe with (possibly) additional column: elevation
.
https://developers.google.com/maps/documentation/elevation/overview
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.