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
)

Arguments

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.

Value

Dataframe containing station metadata.

See also

cefa_createMeta

setRawsDataDir

Examples

if (FALSE) {
# 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)
}