
Download and aggregate data from public bicycle hire systems
Source:R/bikedata-package.R
bikedata.Rd
Download 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_bikedata
Download data for particular cities and datesstore_bikedata
Store data inSQLite3
database
Sample data for testing package
bike_test_data
Description of test data included with packagebike_write_test_data
Write test data to disk in form precisely reflecting data provided by all systemsbike_rm_test_data
Remove data written to disk withbike_write_test_data
Functions to aggregate trip data
bike_daily_trips
Aggregate daily time series of total tripsbike_stations
Extract table detailing locations and names of bicycle docking stationsbike_tripmat
Extract aggregate counts of trips between all pairs of stations within a given city
Summary Statistics
bike_summary_stats
Overall quantitative summary of database contents. All of the following functions provide individual aspects of this summary.bike_db_totals
Count total numbers of trips or stations, either for entire database or a specified city.bike_datelimits
Return dates of first and last trips, either for entire database or a specified city.bike_demographic_data
Simple table indicating which cities include demographic parameters with their databike_latest_files
Check whether files contained in database are latest published versions