rdwd (version 1.4.0)

readVars: Process data from the DWD CDC FTP Server

Description

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.

Usage

readVars(file, params = dwdparams, progbar = TRUE)

Arguments

file

Char (vector): name(s) of the file(s) downloaded with dataDWD(), e.g. "~/DWDdata/tageswerte_KL_02575_akt.zip"

params

data.frame: Parameter explanations. DEFAULT: dwdparams

progbar

Logical: present a progress bar with estimated remaining time? If missing and length(file)==1, progbar is internally set to FALSE. DEFAULT: TRUE

Value

data.frame of the desired dataset, or a named list of data.frames if length(file) > 1.

See Also

dataDWD(), readDWD(), dwdparams, newColumnNames()

Examples

Run this code
# NOT RUN {
# see dataDWD

# }

Run the code above in your browser using DataLab