tidy_up_: Tidy up owm data. (DEPRECATED)

Description Usage Arguments Value See Also Examples

View source: R/tidy_up.R

Description

Tidy up owm data. (DEPRECATED)

Usage

1
2
tidy_up_(data, flatten_weather_ = TRUE, use_underscore_ = TRUE,
  remove_prefix_ = c("main", "sys"))

Arguments

data

data frame

flatten_weather_

see flatten_weather

use_underscore_

substitute dots in column names with underscores

remove_prefix_

prefices to be removed for shorter column names (remove_prefix_ = NULL will keep all prefices)

Value

updated data frame

See Also

tidy_up,
remove_prefix,
use_underscore

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

## End(Not run)

owmr documentation built on Jan. 11, 2020, 5:08 p.m.