View source: R/cefa_loadMeta.R
cefa_loadMeta | R Documentation |
Loads all FW13 station metadata from the rawsDataDir
. If
the data is not in this directory, this will download and save the data.
cefa_loadMeta(
metadataUrl = "https://cefa.dri.edu/raws/RAWSfw13list.xlsx",
newDownload = FALSE,
verbose = TRUE
)
metadataUrl |
URL for station metadata. |
newDownload |
Logical flag stating whether or not to download and override existing data. |
verbose |
Logical flag controlling detailed progress statements. |
Dataframe containing station metadata.
Program for Climate, Ecosystem and Fire Applications
cefa_createMeta
setRawsDataDir
## Not run:
# Fail gracefully if any resources are not available
try({
# For creation of metadata
library(MazamaSpatialUtils)
setSpatialDataDir("~/Data/Spatial")
loadSpatialData("NaturalEarthAdm1.rda")
library(RAWSmet)
setRawsDataDir("~/Data/RAWS")
cefa_meta <- cefa_loadMeta()
dplyr::glimpse(cefa_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.