Apply functions to columns.
parse_columns(data, functions_)
data | data frame |
---|---|
functions_ | named list where keys correspond to column names |
updated data frame
# 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)) # }