R/data.R

NULL

#' Country code.
#'
#' Contains the \code{name}, ID \code{code}, and \code{continent} of each
#' country.
#'
#' @format A data frame with three variables:
#' \describe{
#' \item{\code{name}}{country name}
#' \item{\code{code}}{country code to use as \code{fly_from} and \code{fly_to}}
#' \item{\code{continent}}{continent name}
#' }
"country_code"

#' Continents' countries.
#'
#' For each continent, a character vector containing its countries codes.
#'
#' @format A data frame with three variables:
#' \describe{
#'   \item{\code{africa}}{codes of countries in Africa}
#'   \item{\code{asia}}{codes of countries in Asia}
#'   \item{\code{europe}}{codes of countries in Europe}
#'   \item{\code{north_america}}{codes of countries in North America}
#'   \item{\code{oceania}}{codes of countries in Oceania}
#'   \item{\code{south_america}}{codes of countries in South America}
#' }
"africa"

#' Continents' countries.
#'
#' For each continent, a character vector containing its countries codes.
#'
#' @format A data frame with three variables:
#' \describe{
#'   \item{\code{africa}}{codes of countries in Africa}
#'   \item{\code{asia}}{codes of countries in Asia}
#'   \item{\code{europe}}{codes of countries in Europe}
#'   \item{\code{north_america}}{codes of countries in North America}
#'   \item{\code{oceania}}{codes of countries in Oceania}
#'   \item{\code{south_america}}{codes of countries in South America}
#' }
"asia"

#' Continents' countries.
#'
#' For each continent, a character vector containing its countries codes.
#'
#' @format A data frame with three variables:
#' \describe{
#'   \item{\code{africa}}{codes of countries in Africa}
#'   \item{\code{asia}}{codes of countries in Asia}
#'   \item{\code{europe}}{codes of countries in Europe}
#'   \item{\code{north_america}}{codes of countries in North America}
#'   \item{\code{oceania}}{codes of countries in Oceania}
#'   \item{\code{south_america}}{codes of countries in South America}
#' }
"europe"

#' Continents' countries.
#'
#' For each continent, a character vector containing its countries codes.
#'
#' @format A data frame with three variables:
#' \describe{
#'   \item{\code{africa}}{codes of countries in Africa}
#'   \item{\code{asia}}{codes of countries in Asia}
#'   \item{\code{europe}}{codes of countries in Europe}
#'   \item{\code{north_america}}{codes of countries in North America}
#'   \item{\code{oceania}}{codes of countries in Oceania}
#'   \item{\code{south_america}}{codes of countries in South America}
#' }
"north_america"

#' Continents' countries.
#'
#' For each continent, a character vector containing its countries codes.
#'
#' @format A data frame with three variables:
#' \describe{
#'   \item{\code{africa}}{codes of countries in Africa}
#'   \item{\code{asia}}{codes of countries in Asia}
#'   \item{\code{europe}}{codes of countries in Europe}
#'   \item{\code{north_america}}{codes of countries in North America}
#'   \item{\code{oceania}}{codes of countries in Oceania}
#'   \item{\code{south_america}}{codes of countries in South America}
#' }
"oceania"

#' Continents' countries.
#'
#' For each continent, a character vector containing its countries codes.
#'
#' @format A data frame with three variables:
#' \describe{
#'   \item{\code{africa}}{codes of countries in Africa}
#'   \item{\code{asia}}{codes of countries in Asia}
#'   \item{\code{europe}}{codes of countries in Europe}
#'   \item{\code{north_america}}{codes of countries in North America}
#'   \item{\code{oceania}}{codes of countries in Oceania}
#'   \item{\code{south_america}}{codes of countries in South America}
#' }
"south_america"

Try the rflights package in your browser

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

rflights documentation built on Sept. 19, 2019, 1:02 a.m.