Read regular dwd data.
Intended to be called via readDWD.
readDWD.data(
file,
fread = FALSE,
varnames = FALSE,
format = NA,
tz = "GMT",
quiet = FALSE,
...
)Name of file on harddrive, like e.g. DWDdata/daily_kl_recent_tageswerte_KL_03987_akt.zip
Logical: read faster with data.table::fread?
When reading many large historical files, speedup is significant.
NA can also be used, which means TRUE if data.table is available.
DEFAULT: FALSE
Logical (vector): add a short description to the DWD variable
abbreviations in the column names?
E.g. change FX,TNK to FX.Windspitze,TNK.Lufttemperatur_Min,
see newColumnNames.
DEFAULT: FALSE (for backwards compatibility)
Char (vector): Format passed to
as.POSIXct (see strptime)
to convert the date/time column to POSIX time format.
If NULL, no conversion is performed (date stays a factor).
If NA, readDWD tries to find a suitable format based
on the number of characters. DEFAULT: NA
Char (vector): time zone for as.POSIXct.
"" is the current time zone, and "GMT" is UTC (Universal Time,
Coordinated). DEFAULT: "GMT"
Suppress empty file warnings? DEFAULT: FALSE
Further arguments passed to read.table or
data.table::fread
data.frame