
Download and aggregate data from public bicycle hire systems
Source:R/bikedata-package.R
bikedata.RdDownload data from all public bicycle hire systems which provide open data, currently including
Santander Cycles London, U.K.
citibike New York City NY, U.S.A.
Divvy Chicago IL, U.S.A.
Capital BikeShare Washingon DC, U.S.A.
Hubway Boston MA, U.S.A.
Metro Los Angeles CA, U.S.A.
Download and store data
dl_bikedataDownload data for particular cities and datesstore_bikedataStore data inSQLite3database
Sample data for testing package
bike_test_dataDescription of test data included with packagebike_write_test_dataWrite test data to disk in form precisely reflecting data provided by all systemsbike_rm_test_dataRemove data written to disk withbike_write_test_data
Functions to aggregate trip data
bike_daily_tripsAggregate daily time series of total tripsbike_stationsExtract table detailing locations and names of bicycle docking stationsbike_tripmatExtract aggregate counts of trips between all pairs of stations within a given city
Summary Statistics
bike_summary_statsOverall quantitative summary of database contents. All of the following functions provide individual aspects of this summary.bike_db_totalsCount total numbers of trips or stations, either for entire database or a specified city.bike_datelimitsReturn dates of first and last trips, either for entire database or a specified city.bike_demographic_dataSimple table indicating which cities include demographic parameters with their databike_latest_filesCheck whether files contained in database are latest published versions