Learn R Programming

⚠️There's a newer version (0.1.3) of this package.Take me there.

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:


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 (olj23@bath.ac.uk)

Copy Link

Version

Install

install.packages('BANEScarparkinglite')

Monthly Downloads

16

Version

0.1.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Owen Jones

Last Published

June 30th, 2018

Functions in BANEScarparkinglite (0.1.2)

BANEScarparkinglite-package

Functions for obtaining and working with car parking data from Bath and North East Somerset
get_all_crude

Download all raw records from Bath: Hacked datastore
get_events

Scrape the number of advertised events in Bath for each day
refine.deduplicate

Remove duplicate records (internal method)
get_events_detail

Scrape the details of advertised events in Bath for each day
refuel

Add new processed records from Bath: Hacked datastore
reexports

Objects exported from other packages
refine

Clean up raw records
get_range_crude

Download records from a specified range from the Bath: Hacked datastore
get_rugby

Scrape Bath Rugby match dates, kick-off times and results
refuel_crude

Add new raw records from Bath: Hacked datastore