powered by
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 = ".")
The dataframe with new column names
dataframe
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()
dwdparams
Separator between abbreviation and long name. DEFAULT: "."
Berry Boessenkool, berry-b@gmx.de, Apr 2019
dwdparams, readVars(), readDWD() argument varnames, newColumnNames()
readDWD()
varnames
newColumnNames()
# mainly for internal usage
Run the code above in your browser using DataLab