View source: R/cefa_createMeta.R
cefa_createMeta | R Documentation |
Assembles individual station metadata from a CEFA webservice into a standardized dataframe. Metdata columns include:
deviceDeploymentID
– unique identifier
deviceID
– device identifier
locationID
– location identifier
locationName
– English language name
longitude
– decimal degrees E
latitude
– decimal degrees N
elevation
– elevation of station in m
countryCode
– ISO 3166-1 alpha-2
stateCode
– ISO 3166-2 alpha-2
timezone
– Olson time zone
nwsID
– NWS station identifier (for FW13 data)
wrccID
– WRCC station identifier (for WRCC data)
nessID
– NESS station identifier (in WRCC data)
agencyName
– responsible agency (in WRCC data)
cefa_createMeta(
metadataUrl = "https://cefa.dri.edu/raws/RAWSfw13list.xlsx",
verbose = TRUE
)
metadataUrl |
URL for station metadata. |
verbose |
Logical flag controlling detailed progress statements. |
Dataframe of station metadata.
Program for Climate, Ecosystem and Fire Applications
## Not run:
# Fail gracefully if any resources are not available
try({
library(RAWSmet)
library(MazamaSpatialUtils)
setSpatialDataDir("~/Data/Spatial")
meta <- cefa_createMeta(verbose = TRUE)
dplyr::glimpse(meta, width = 75)
}, silent = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.