We had a blast. This little package, {BANEScarparkinglite}
(and its big brother {BANEScarparking}
did its job splendidly for several years: simplifying access to the BANES historic car park occupancy dataset for our original group at BathML, and for independent researchers at Bath Uni and beyond, and for car park occupancy enthusiasts everywhere.
Over time, bits and pieces have broken and fallen off. The weather API was bought and closed by a private firm; the Bath Rugby website changed structure such that scraping became awkward; and now, at long last, Bath Hacked's marvellous datastore (the source underlying dataset of car parking records) has officially been retired.
Though the data will soon once again be accessible through Bath Hacked's shiny new datastore, {BANEScarparkinglite}
has served its purpose for now. As it heads into the sunset we wave fondly, and with an "au revoirparkinglite" we part ways, for now.
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)
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).
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.3 (released 2019-08-05)
Contact: Owen Jones (@owenjonesuob)