This repo contains the code and data for Toronto Streetcar Delays Varies by Different Causes, an analysis of TTC Streetcar Delay Data.
The data for this paper can be found from the OpenDataToronto portal. No download is required to reproduce the PDF; data is automatically downloaded when rendered.
The repo is organized as follows:
inputs/data/cleaned_ttc_streetcar.csv: The cleaned CSV fileinputs/data/ttc_streetcar.csv: The CSV file generated using the Quarto Document fileinputs/data/ttc-streetcar-delay-data-2022.xlsx: The Excel fileoutputs/paper/Paper.qmd: The Quarto Document fileoutputs/paper/Paper.pdf: The PDF file generated using the Quarto Document filescripts/00-download_data.R: Script used in the Quarto Document file to download the datascripts/00-simulation_data.R: Script used in the Quarto Document file to simulate the data
If you face difficulty running certain files, then you can still download this entire project as a zip file by contacting me.