BANEScarparkinglite: like BANEScarparking, but smaller!
This is a stripped-down version of the BANEScarparking package. It contains functions for obtaining and working with the BANES car parking records from the Bath: Hacked API, as well as some functions for getting other related datasets via web-scraping.
Feel free to contribute anything you think might be useful!
Contributors so far:
- Owen Jones (@owenjonesuob)
- Ryan Kenning (@rkenning)
- Nick Howlett (@niklz)
Package contents
get_all_crude
(andget_range_crude
) for retrieving the full dataset (or a subset) of records from Bath: Hacked datastorerefine
for processing the raw recordsrefuel
andrefuel_crude
for updating existing data frames with recent recordsget_rugby
,get_events
(andget_events_detail
) andget_daily_weather
for obtaining information through web-scraping.
The full BANEScarparking package contains all of these functions, along with parking, events, rugby and weather data up to the end of 2017 (stored as R datasets).
Installation
You can install the package from CRAN:
install.packages("BANEScarparkinglite")
(Or if you want to keep up to date with the latest changes, you can install the development version with
devtools::install_github("owenjonesuob/BANEScarparkinglite")
You'll need the devtools
package to do this - you can install it with install.packages("devtools")
.)
Then you can load the package with
library(BANEScarparkinglite)
and you'll be good to go!
Version: 0.1.2 (released 2018-06-30)
Contact: Owen Jones (olj23@bath.ac.uk)