Package Overview

bikedata

Download and aggregate data from public bicycle hire systems

Functions to Download and Store Data

dl_bikedata

Download hire bicycle data

store_bikedata

Store hire bicycle data in SQLite3 database

Sample Data for Testing Package

bike_test_data

Test data for all 6 cities

bike_write_test_data

Writes test data bundled with package to zip files

bike_rm_test_data

Removes test data written with 'bike_write_test_data()'

Functions to Aggregate Trip Data

bike_daily_trips

Extract daily trip counts for all stations

bike_stations

Extract station matrix from SQLite3 database

bike_tripmat

Extract station-to-station trip matrix or data.frame from SQLite3 database

Summary Statistics

bike_summary_stats

Extract summary statistics of database

bike_db_totals

Count number of entries in sqlite3 database tables

bike_datelimits

Extract date-time limits from trip database

bike_demographic_data

Static summary of which systems provide demographic data

bike_latest_files

Check whether files in database are the latest published files

Database Removal

bike_rm_db

Remove SQLite3 database generated with 'store_bikedat()'