View source: R/getCoordsEDEN.R
getCoords_EDEN | R Documentation |
Scrapes EDEN station coordinate data.
getCoords_EDEN(stn = "S18C_T", spatial = TRUE)
stn |
character string. Case sensitive. |
spatial |
logical. If 'TRUE', a spatialPointsDataFrame is returned. If 'FALSE', a dataframe is returned |
dataframe/spdf getCoords_EDEN
returns a dataframe or spatialPointsDataFrame with lat/long (epsg:4326) UTM zone 19 coordinates, and the NAVD-to-NGVD conversion factor (units = feet). [ft. NAVD88] + [conversion factor] = [ft. NGVD29]
## Not run:
### example usage as part of a workflow
stns <- c(
"S18C_T",
"NESRS1"
)
stn.coords <- do.call(rbind, lapply(X = stns, getCoords_EDEN))
plot(stn.coords)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.