getStns_EDEN | R Documentation |
Scrapes EDEN station coordinate data.
getStns_EDEN(url = "https://sofia.usgs.gov/eden/stationlist-area.php?area=WCA3")
url |
character string. Web address with EDEN stations (e.g., https://sofia.usgs.gov/eden/stationlist-area.php?area=WCA3). |
dataframe getCoords_EDEN
returns a dataframe with EDEN stations in the requested region.
## Not run:
tst <- getStns_EDEN()
### generate list of all stations
areas <- c("WCA1", "WCA2", "WCA3", "BCNP", "ENP", "Pennsuco", "FLBay", "GOM")
area.urls <- c(paste0("https://sofia.usgs.gov/eden/stationlist-area.php?area=", areas))
stn.list <- lapply(X = area.urls, getStns_EDEN)
stns <- do.call(c, stn.list)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.