Nothing
#' Flatten list. (DEPRECATED)
#'
#' @param data list returned from owm
#'
#' @return flattened list
#' @export
#'
#' @examples \dontrun{
#' get_current("Rio de Janeiro") %>% flatten()
#' get_current("Rio de Janeiro") %>% flatten() %>%
#' tidy_up_()
#' }
flatten <- function(data) {
.Deprecated("owmr_as_tibble")
as.data.frame(data, stringsAsFactors = FALSE)[1, ] %>%
as.list()
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.