= collisions_2023 |>
collisions_hourly mutate(time = lubridate::hour(datetime)) |>
count(time, accident_severity)
Data science project plan
Project submission
TRAN5340M Data Science Coversheet
Assignment title:
Student ID:
Word count:
Lecturer:
Submission Date:
Semester:
Academic Year:
Generative AI Category:
Amber
Use of Generative Use of Generative Artificial Intelligence (Gen AI) in this assessment – mark one box as appropriate:
By submitting the work to which this sheet is attached you confirm your compliance with the University’s definition of Academic Integrity as: “a commitment to good study practices and shared values which ensures that my work is a true expression of my own understanding and ideas, giving credit to others where their work contributes to mine”. Double-check that your referencing and use of quotations is consistent with this commitment.
Introduction
[Write your introduction here, explaining the context and importance of your chosen topic]
[ Using this template:
See the source code for this template in the course GitHub repository at github.com/itsleeds/tds in folder/file d2/template.qmd.
Note: the code in that files contains steps to render the file to PDF and create a .zip file for submission.
See the rendered PDF at github.com/itsleeds/tds/releases/download/2025/template.pdf
]
Working title
[Your project title here]
Data
[List and briefly describe the datasets you plan to use]
Research question
[State your main research question here]
Initial analysis
[Describe your planned analysis approach and include any preliminary data exploration]
The following code was used to aggregate the data by hour:
Initial data exploration
A visualisation of the data is shown below:
Questions
[List any questions or challenges you anticipate]
Reproducibility
Notes on how to reproduce this analysis are provided in the code chunks above. The full code is available in the .qmd
file.
You could include details on how you created the submitted zip file, e.g.:
You can render your report to a PDF file with the following commands:
# Install tinytex, enabling quarto to render to PDF:
system("quarto install tinytex")
::quarto_render(
quarto"submission.qmd",
output_format = "pdf",
output_file = "submission.pdf"
)
You can create a zip file with the files needed to reproduce this analysis with the following command:
zip(
zipfile = "submission.zip",
files = c("project-plan.qmd", "project-plan.pdf", "wy.gpkg")
)