Working with Car Parking Data for Bath and North East Somerset

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>.


Build Status codecov.io CRAN_Status_Badge

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:


Package contents

  • get_all_crude (and get_range_crude) for retrieving the full dataset (or a subset) of records from Bath: Hacked datastore
  • refine for processing the raw records
  • refuel and refuel_crude for updating existing data frames with recent records
  • get_rugby, get_events (and get_events_detail) and get_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 ([email protected])

News

BANEScarparkinglite v0.1.2 (Release date: 2018-06-30)

Deletions:

  • Changes to the Wunderground website have left get_daily_weather floundering - it has been removed until a suitable alternative can be found!

BANEScarparkinglite v0.1.1 (Release date: 2018-01-20)

Additions:

  • get_daily_weather now 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.)
  • Added code tests for all main functionality (and added covr reporting to Travis)
  • Added NEWS file to keep track of changes

Bugfixes:

  • Minor usability improvements for several functions

BANEScarparkinglite v0.1.0 (Release date: 2017-08-27)

Additions:

  • Initial release; all functionality of main BANEScarparking package, without the attached datasets
  • Travis CI is being used to check the build

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("BANEScarparkinglite")

0.1.2 by Owen Jones, 9 months ago


https://github.com/owenjonesuob/BANEScarparkinglite


Report a bug at https://github.com/owenjonesuob/BANEScarparkinglite


Browse source code at https://github.com/cran/BANEScarparkinglite


Authors: Owen Jones [aut, cre] , Ryan Kenning [aut, ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, httr, lubridate, RCurl, readr, rvest, utils, XML, xml2, zoo

Suggests testthat


See at CRAN