Add short German parameter descriptions to the DWD abbreviations. This uses dwdparams to create column names like "TT_TU.Lufttemperatur" and "RSK.Niederschlagshoehe." Column names not in the abbreviation list will be left untouched.
dwdparams
newColumnNames(dataframe, variables = dwdparams, separator = ".")
Dataframe as returned by readDWD.data
readDWD.data
Dataframe as returned by readVars for a single file. Rownames must be variable abbreviations. There must be a "Kurz" column. DEFAULT: dwdparams
readVars
Separator between abbreviation and long name. DEFAULT: "."
The dataframe with new column names
dataframe
dwdparams, readVars, readDWD argument varnames
readDWD
varnames
# NOT RUN { # mainly for internal usage # }
Run the code above in your browser using DataLab