Tidy up owm data. (DEPRECATED)
tidy_up_(data, flatten_weather_ = TRUE, use_underscore_ = TRUE, remove_prefix_ = c("main", "sys"))
data | data frame |
---|---|
flatten_weather_ | see |
use_underscore_ | substitute dots in column names with underscores |
remove_prefix_ | prefices to be removed for shorter column names
( |
updated data frame
# NOT RUN { result <- find_city("Malaga") result$list %>% tidy_up_() # keep dots in column names result$list %>% tidy_up_(use_underscore_ = FALSE) # keep all prefices result$list %>% tidy_up_(remove_prefix_ = NULL) # }