R/data.R

#' Test data for all 6 cities
#'
#' A data set containing for each of the six cities a \code{data.frame} object
#' of 200 trips.
#'
#' @docType data
#'
#' @format A list of one data frame for each of the five cities of (bo, dc, la,
#' lo, ny), plus two more for chicago stations and trips (ch_st, ch_tr). Each of
#' these (except "ch_st") contains 200 representative trips.
#'
#' @note These data are only used to convert to \code{.zip}-compressed files
#' using \code{bike_write_test_data()}. These \code{.zip} files can be
#' subsequently read into an SQLite3 database using \code{store_bikedata}.
"bike_test_data"

#' Docking stations for London, U.K.
#'
#' A \code{data.frame} of station id values, names, and geographic coordinates
#' for 786 stations for London, U.K. These stations are generally (and by
#' default) downloaded automatically to ensure they are always up to date, but
#' such downloading can be disabled in the \code{store_bikedata()} function by
#' setting \code{latest_lo_stns = FALSE}.
#'
#' @docType data
#'
#' @format A \code{data.frame} of the four columns described above.
"lo_stns"
ropensci/bikedata documentation built on Feb. 7, 2024, 6:04 a.m.