addUSGSElevation: Add Elevation Data to a Dataframe

Description Usage Arguments Value References

View source: R/addUSGSElevation.R

Description

USGS APIs are used to determine elevation associated with the locations specified by the lonVar and latVar columns of the incoming dataframe.

Usage

1
2
3
4
5
6
addUSGSElevation(
  df,
  lonVar = "longitude",
  latVar = "latitude",
  existingMeta = NULL
)

Arguments

df

dataframe with geolocation information (e.g. created by wrcc_qualityControl() or airsis_qualityControl)

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

Value

Input dataframe with (possibly) additional column: elevation.

References

https://nationalmap.gov/epqs/


PWFSLSmoke documentation built on July 8, 2020, 7:19 p.m.