tidy_up_ {owmr}R Documentation

Tidy up owm data. (DEPRECATED)

Description

Tidy up owm data. (DEPRECATED)

Usage

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

## 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)

[Package owmr version 0.8.2 Index]