R/data.R

#' owm city list containing ids and coordinates of cities.
#'
#' A dataset containing city ids and coordinates to be used in queries.
#'
#' @format data frame with 74071 rows and 4 variables:
#' \describe{
#'   \item{id}{city id}
#'   \item{nm}{city name}
#'   \item{lat}{latitude}
#'   \item{lon}{longitude}
#'   \item{countryCode}{two letter country code}
#' }
#' @source \url{http://bulk.openweathermap.org/sample/city.list.json.gz}
#'
# NOTE: UTF-8 string found in `owm_cities$nm[7053]`
# Metabetchouan-Lac-a-la-Croix, needs to be fixed in case dataset
# is updated
"owm_cities"

#' List of available owm weather map layers.
#'
#' @seealso
#'   \url{https://openweathermap.org/api/weathermaps}
"owm_layers"

Try the owmr package in your browser

Any scripts or data that you put into this service are public.

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