Description Usage Arguments Value
View source: R/get_elevation.R
This function loads a dataframe. It accepts an R object with unique asset identifier (default set as "AssetID"), longitude and latitude to calculate elevation.
1 2 3 4 5 6 7 8 | get_elevation(
x,
AssetID = "AssetID",
Longitude = "Longitude",
Latitude = "Latitude",
unit = "meters",
src = "epqs"
)
|
x |
An R object or a dataframe |
AssetID |
An asset base containing the AssetID, Longitude and Latitude |
Longitude |
numerical string(s) consisting geographic coordinate specific to the east-west position of a point on the Earth's surface |
Latitude |
numerical string(s) consisting geographic coordinate specific to the north-south position of a point on the Earth's surface |
unit |
elevation unit in "meters" or "feet" |
src |
this selects which API to use. "epqs"is best for US only, "aws" for large number of points (>500) |
Returns the same dataframe with the addition of the "elevation" column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.