Apply functions to columns.

parse_columns(data, functions_)

Arguments

data

data frame

functions_

named list where keys correspond to column names

Value

updated data frame

Examples

# NOT RUN {
   parse_dt <- function(x){as.POSIXct(x, origin = "1970-01-01")}
   forecast <- get_forecast("Kassel")$list
   forecast %<>% parse_columns(list(dt = parse_dt))
# }