This repository contains the materials used in the UBDC webinar on the 28th April 2021:
- webinar.pdf (presentation)
- openData.R (R script containing the examples of obtaining data)
- The html files are the maps created using the data obtained in 2
- london.R (R script containing the example of downloading, loading and combining London bikeshare trip data with covid restrictions dataset)
Here we have three examples of traffic count (Brussels, Hull, Glasgow)
Glasgow: count, events, parking, vms; require api key; (written in a more cumbersome way but perhaps easier to see how the lists work)
The lines of codes for setting up a database and scheduling the task for regular interval after the Glasgow example.
Two simple examples for bike availability are included (Citibike, Nextbike).
This is slightly different from the version I used in the webinar. The script includes:
- generating a list of links for file download (e.g., all csv files ending in '2020.csv'), instead of downloading a zip file
- reading the list of files that are unzipped
- converting the date column
- reading the covid19 restriction time series
- combining trip data and covid restriction data
https://chaumanfung.github.io/webinar/bru1.html
https://chaumanfung.github.io/webinar/hull1.html
https://chaumanfung.github.io/webinar/combined.html