/Waiting_for_Mark

Analysing differences between scheduled and actual start times for Mark McGowan press conferences

Primary LanguageRCreative Commons Zero v1.0 UniversalCC0-1.0

Waiting for Mark

Github repo for analysing differences between scheduled and actual start times for Western Australia Premier Mark McGowan press conferences between December 1 2020 and July 8 2021.

Plot of Mark McGowan Press Conference Lateness. Median wait time of 9 minutes plus or minus 6.2 median average deviation

Any additional data or data analysis welcome, just open a PR!

Notes:

Data from the ABC News Youtube channel was scraped using the Youtube API; see the livestream_data.py file. A few amendments were made where the @whattimemark twitter account provided an official scheduled time that differed to the time scheduled by the ABC News Youtube team. These are documented in the livestream_wrangling.R file.

Data from the ABC News Perth Facebook videos were input manually as the livestreams varied on whether the broadcast started when Mark began or beforehand (i.e., the broadcasting start time did not necessarily reflect the time Mark arrived).

Kaplan-Meier curve estimation and visualisation was conducted using the survival and survminer packages for R, respectively. The dates were formatted nicely using lubridate.