R/data.r

#' Ontime Flight Data
#'
#' Data set detailing on-time performance of national US flights in
#' January 2015. This data is a subset of the data provided by the US Department of
#' Transportation. The full data as well as archived or more recent data is available for download from
#' \url{http://www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236&DB_Short_Name=On-Time}.
#'
#' @references \url{http://www.transtats.bts.gov/DL_SelectFields.asp?Table_ID=236&DB_Short_Name=On-Time}
#' @format A data frame consisting of the variables
#' \describe{
#' \item{FlightDate}{a date variable of the day of the flight}
#' \item{UniqueCarrier}{factor variable of the carrier (using the two letter abbreviation)}
#' \item{FlightNum}{numeric variable of the flight number}
#' \item{CRSDepTime}{scheduled departure time in hhmm format}
#' \item{DepTime}{actual departure time in hhmm format}
#' \item{CRSArrTime}{scheduled arrival time in hhmm format}
#' \item{ArrTime}{actual arrival time in hhmm format}
#' \item{TaxiOut}{numeric variable of the taxi out time in minutes}
#' \item{TaxiIn}{numeric variable of the taxi in time in minutes}
#' \item{ArrDelay}{Arrival delay, in Minutes}
#' \item{DepDelay}{Departure delay, in Minutes}
#' \item{CarrierDelay}{Carrier Delay, in Minutes}
#' \item{WeatherDelay}{Weather Delay, in Minutes}
#' \item{NASDelay}{National Air System Delay, in Minutes}
#' \item{SecurityDelay}{Security Delay, in Minutes}
#' \item{LateAircraftDelay}{Late Aircraft Delay, in Minutes}
#' }
#' @examples
#' library(ggplot2)
#' ggplot(ontime, aes(UniqueCarrier, TaxiIn + TaxiOut)) +
#'   geom_lv(aes(fill = after_stat(LV))) +
#'   scale_fill_lv() +
#'   scale_y_sqrt() +
#'   theme_bw()
"ontime"

#' County demographics based on 1980 US Census
#'
#' County level statistics based on the 1980 US Census.
#' @format A data frame with 10 variables
#' \describe{
#' \item{county}{County name}
#' \item{FIPS}{FIPS county code}
#' \item{Latitude,Longitude}{Geographic location of county centers}
#' \item{JanTmp,JulTmp}{(normalized) Temperatures in January & July}
#' \item{JanSun,JulSun}{(normalized) Sunshine measurment in January & July}
#' \item{Elevtn}{Elevation above sea level}
#' \item{totalpop}{Population}
#' }
"census"

Try the lvplot package in your browser

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

lvplot documentation built on Sept. 26, 2022, 1:05 a.m.