{"id":22016010,"url":"https://github.com/micahkepe/stat405project","last_synced_at":"2026-04-28T15:39:58.107Z","repository":{"id":222391383,"uuid":"757142825","full_name":"micahkepe/stat405project","owner":"micahkepe","description":"Data science project for STAT 405 @ Rice University 🗽","archived":false,"fork":false,"pushed_at":"2024-04-12T17:25:31.000Z","size":109991,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T19:57:31.720Z","etag":null,"topics":["data-science","r","revealjs","statistical-analysis"],"latest_commit_sha":null,"homepage":"https://micahkepe.shinyapps.io/NYC-Crashes/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/micahkepe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-13T22:10:59.000Z","updated_at":"2025-02-03T13:56:31.000Z","dependencies_parsed_at":"2025-01-28T15:52:10.849Z","dependency_job_id":null,"html_url":"https://github.com/micahkepe/stat405project","commit_stats":null,"previous_names":["micahkepe/stat405project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/micahkepe/stat405project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micahkepe%2Fstat405project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micahkepe%2Fstat405project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micahkepe%2Fstat405project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micahkepe%2Fstat405project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micahkepe","download_url":"https://codeload.github.com/micahkepe/stat405project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micahkepe%2Fstat405project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32387916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-science","r","revealjs","statistical-analysis"],"created_at":"2024-11-30T04:31:26.722Z","updated_at":"2026-04-28T15:39:53.099Z","avatar_url":"https://github.com/micahkepe.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NYC Crash Data Analysis\n\n## Prerequisites\n\nTo run the code in this repository, you will need to have the following installed:\n\n-   RStudio\n-   R\n-   pdflatex (for rendering the `.pdf` files)\n\n## Data Setup\n\nThe link to the SQLite database used can be found [here](https://www.dropbox.com/scl/fo/ure76b4mdginkf0b2b235/h?rlkey=4h36pnk51rj48v71ng6kbhv4d\u0026dl=0)\n\nTo populate your local repository with the database, download the database from the link above and move it to the `data` folder in the root of the repository. The database should be named `nyc_crash_data.db`. If the `data` folder does not exist, create it in the root of the repository.\n\nThe original CSV files used to create the database were the most up-to-date data sets available at the time of the project. The data sets were downloaded from the NYC OpenData website and can be found [here](https://data.cityofnewyork.us/Public-Safety/Motor-Vehicle-Collisions-Crashes/h9gi-nx95), [here](https://data.cityofnewyork.us/Public-Safety/Motor-Vehicle-Collisions-Person/f55k-p6yu), and [here](https://data.cityofnewyork.us/Public-Safety/Motor-Vehicle-Collisions-Vehicles/xe9j-u5d6).\n\n## About the Data\n\nvia [NYC OpenData](https://data.cityofnewyork.us/Public-Safety/Motor-Vehicle-Collisions-Crashes/h9gi-nx95/about_data):\n\n\"The Motor Vehicle Collisions crash table contains details on the crash event. Each row represents a crash event. The Motor Vehicle Collisions data tables contain information from all police reported motor vehicle collisions in NYC. The police report (MV104-AN) is required to be filled out for collisions where someone is injured or killed, or where there is at least \\$1000 worth of damage.\"\n\nThe data sets we used are:\n\n1\\. `Motor Vehicle Collisions - Crashes`: This data set contains information about the crashes themselves, such as the date, time, and location of the crash, as well as the number of people injured and killed.\n\n2\\. `Motor Vehicle Collisions - Persons`: This data set contains information about the people involved in the crashes, such as their age, their unique identifier, etc.\n\n3\\. `Motor Vehicle Collisions - Vehicles`: This data set contains information about the vehicles involved in the crashes, such as the vehicle type, the vehicle make, etc.\n\nFor a more detailed breakdown of the data sets used and how they relate, please see the data dictionary located in the `data` folder. This file details the foreign keys and their corresponding tables, as well as the data types and descriptions of each column in the data set.\n\n## Data Analyses\n\nTo see our incremental data analysis, please see the `reports` folder. This folder contains both the `.qmd` files and their corresponding `.pdf` files of each of our report iterations.\n\n## Live Demo of the Shiny App\n- Check out the demo of our Shiny app [here](https://micahkepe.shinyapps.io/NYC-Crashes/).\n\n## Running the Shiny App Locally (Optional)\n\nThe Shiny app can be run by opening the `app.R` file in the in `app/` directory in RStudio and clicking the \"Run App\" button in the top right corner of the script editor. This will open the app in a new window in your default web browser. (Note: You will have needed to have run the code in the `report_final.qmd` file to populate the database before running the Shiny app.)\n\n## Contributors\n\n-   [Micah Kepe](https://www.linkedin.com/in/micah-kepe/)\n-   [Zachary Kepe](https://www.linkedin.com/in/zachary-kepe-6801b7241/)\n-   [Kevin Lei](https://www.linkedin.com/in/lei-kevin/)\n-   [Giulia Costantini](https://www.linkedin.com/in/costantini-giulia/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicahkepe%2Fstat405project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicahkepe%2Fstat405project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicahkepe%2Fstat405project/lists"}