Read climate variables (column meta data) from zip folders downloaded with
dataDWD()
.
The metadata file "Metadaten_Parameter.*txt"
in the zip folder file
is read, processed and returned as a data.frame.
file
can be a vector with several filenames.
readVars(file, params = dwdparams, quiet = rdwdquiet(), progbar = TRUE)
data.frame of the desired dataset, or a named list of data.frames if length(file) > 1.
Char (vector): name(s) of the file(s) downloaded with dataDWD()
,
e.g. "~/DWDdata/tageswerte_KL_02575_akt.zip"
data.frame: Parameter explanations. DEFAULT: dwdparams
Suppress message about non-abbreviated parameters?
DEFAULT: FALSE through rdwdquiet()
Logical: present a progress bar with estimated remaining time? If missing and length(file)==1, progbar is internally set to FALSE. DEFAULT: TRUE
Berry Boessenkool, berry-b@gmx.de, Jun 2018
dataDWD()
, readDWD()
, dwdparams
, newColumnNames()
readMeta()
for complete Metadaten_Parameter
file.
website use case