Description Usage Arguments Value Examples
View source: R/tidy_up-parse_columns.R
Apply functions to columns.
1 | parse_columns(data, functions_)
|
data |
data frame |
functions_ |
named list where keys correspond to column names |
updated data frame
1 2 3 4 5 6 | ## 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))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.