getCoords_EDEN: Retrieve station coordinates from EDEN

View source: R/getCoordsEDEN.R

getCoords_EDENR Documentation

Retrieve station coordinates from EDEN

Description

Scrapes EDEN station coordinate data.

Usage

getCoords_EDEN(stn = "S18C_T", spatial = TRUE)

Arguments

stn

character string. Case sensitive.

spatial

logical. If 'TRUE', a spatialPointsDataFrame is returned. If 'FALSE', a dataframe is returned

Value

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]

Examples

## 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)


troyhill/SFNRC documentation built on Dec. 30, 2024, 4:32 p.m.