powered by
Apply functions to columns.
parse_columns(data, functions_)
data frame
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)) # }
Run the code above in your browser using DataLab