This function takes information of where and when a set of environmental samples were
collected and retrieves the elevation (in meters) for those locations at an approximate 100m spatial resolution.
Data come from the SRTM
DEM which are accessed through the Amazon Web Services (AWS) API and the elevatr
R package.
Usage
get_elevation_data(lon, lat)
Value
data.frame
Arguments
lon
A numeric vector giving the longitude of the sampling sites in Decimal Degrees.
lat
A numeric vector giving the latitude of the sampling sites in Decimal Degrees.