Contains functions for importing and working with the BANES car parking records and other related datasets. For the full version of the package, including all datasets, see the repo at < https://github.com/owenjonesuob/BANEScarparking>. The original dataset of parking records can be found at < https://data.bathhacked.org/Government-and-Society/BANES-Historic-Car-Park-Occupancy/x29s-cczc>.
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:
get_range_crude) for retrieving the full dataset (or a subset) of records from Bath: Hacked datastore
refinefor processing the raw records
refuel_crudefor updating existing data frames with recent records
get_daily_weatherfor 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:
(Or if you want to keep up to date with the latest changes, you can install the development version with
You'll need the
devtools package to do this - you can install it with
Then you can load the package with
and you'll be good to go!
Version: 0.1.2 (released 2018-06-30)
Contact: Owen Jones ([email protected])
get_daily_weatherfloundering - it has been removed until a suitable alternative can be found!
get_daily_weathernow creates a weather table for any given date range (no longer limited to retrieving 398 records in one go...) and the format of this table is nicer than before (better column names etc.)
covrreporting to Travis)