rdwd (version 1.2.0)

newColumnNames: Enhance readDWD column names

Description

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.

Usage

newColumnNames(dataframe, variables = dwdparams, separator = ".")

Arguments

dataframe

Dataframe as returned by readDWD.data

variables

Dataframe as returned by readVars for a single file. Rownames must be variable abbreviations. There must be a "Kurz" column. DEFAULT: dwdparams

separator

Separator between abbreviation and long name. DEFAULT: "."

Value

The dataframe with new column names

See Also

dwdparams, readVars, readDWD argument varnames

Examples

Run this code
# NOT RUN {
# mainly for internal usage

# }

Run the code above in your browser using DataLab