ValleyBike.org utility functions.
To be used in conjunction with the valleybikeData
package.
Install the development version from GitHub:
devtools::install_github("Amherst-Statistics/valleybike")
library(valleybike)The valleybike package includes a variety of utility functions for
working with data from ValleyBike:
get_distance(get the distance covered by a trip)get_duration(get the duration of a trip)get_summary_report(get a .pdf summary report for a specific town)get_trajectory_data(get the point-by-point trajectory data for a trip)identify_trips(identify the route ID of a trip about which details are known)plot_trip(plot a trip on the map)weekend_or_holiday(check whether a trip took place during a weekend or a holiday)weekend_or_holiday_trips(get the number of weekend or holiday trips undertaken by a user)
For more details on the functions included in the package, please see the manual.
