{"id":28392897,"url":"https://github.com/drod75/nyc-arrests-analysis","last_synced_at":"2026-05-04T21:38:33.841Z","repository":{"id":289350310,"uuid":"970928534","full_name":"drod75/nyc-arrests-analysis","owner":"drod75","description":"This is a simple Data Science Project made to analyze and display data and trends found within the NYC Arrests Year to Date Dataset.","archived":false,"fork":false,"pushed_at":"2025-05-19T22:28:16.000Z","size":30414,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T07:41:08.767Z","etag":null,"topics":["data-analysis","data-visualization","folium","jupyter-notebook","matplotlib-pyplot","nyc-opendata","nypd","python","scikit-learn","seaborn"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drod75.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-04-22T18:45:23.000Z","updated_at":"2025-05-19T22:28:20.000Z","dependencies_parsed_at":"2025-04-22T20:48:08.693Z","dependency_job_id":"794bfa7c-7697-4bbd-83c2-5b68f2917b82","html_url":"https://github.com/drod75/nyc-arrests-analysis","commit_stats":null,"previous_names":["drod75/nyc-arrests-analysis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drod75/nyc-arrests-analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drod75%2Fnyc-arrests-analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drod75%2Fnyc-arrests-analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drod75%2Fnyc-arrests-analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drod75%2Fnyc-arrests-analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drod75","download_url":"https://codeload.github.com/drod75/nyc-arrests-analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drod75%2Fnyc-arrests-analysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32626491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"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-analysis","data-visualization","folium","jupyter-notebook","matplotlib-pyplot","nyc-opendata","nypd","python","scikit-learn","seaborn"],"created_at":"2025-05-31T15:09:13.749Z","updated_at":"2026-05-04T21:38:33.836Z","avatar_url":"https://github.com/drod75.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n# NYC Arrests Analysis\n\n\u003cdetails open\u003e\n\u003csummary\u003eTable of Contents\u003c/summary\u003e\n\u003col\u003e\n  \u003cli\u003e\n    \u003ca href=\"#introduction\"\u003eIntroduction\u003c/a\u003e\n  \u003c/li\u003e\n  \u003cli\u003e\n    \u003ca href=\"#dataset-used\"\u003eDataset Used\u003c/a\u003e\n  \u003c/li\u003e\n  \u003cli\u003e\n    \u003ca href=\"#libraries\"\u003eLibraries\u003c/a\u003e\n  \u003c/li\u003e\n  \u003cli\u003e\n    \u003ca href=\"#further-detail\"\u003eFurther Detail\u003c/a\u003e\n  \u003c/li\u003e\n  \u003cli\u003e\n    \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\n  \u003c/li\u003e\n\u003c/ol\u003e\n\u003c/details\u003e\n\n## Introduction\nThis project was made for the Computer Science 3225 Class Data Tools and Algorithms at Brooklyn College, taught by Professor Matthew Mcneill, the project aims to create a portfolio level analysis project aimed at having us use real world analytical techniques taught in class.\n\nThere are many different folders in this repository and the folders in order are:\n\n- Datasets\n  - External, has the file that will be used for mapping\n  - Processed, has the file that is the cleaned arrests data\n  - Raw, the file that is the cleaned arrests data\n- Notebooks, has the Jupyer Notebook files used for the project\n\n## Dataset Used\nThe dataset I chose to do complex analysis on was the NYC Arrests year to date Dataset provided on NYC Open data:\n- Dataset Link: [Arrests Dataset](https://data.cityofnewyork.us/Public-Safety/NYPD-Arrest-Data-Year-to-Date-/uip8-fykc/about_data)\n- The dataset has the following column format:\n\n    | Column Name          | Description                                                                  | API Field Name    | Data Type      |\n    |----------------------|------------------------------------------------------------------------------|-------------------|----------------|\n    | ARREST_KEY           | Randomly generated persistent ID for each arrest                               | arrest_key        | Text           |\n    | ARREST_DATE          | Exact date of arrest for the reported event                                  | arrest_date       | Floating Timestamp |\n    | PD_CD                | Three digit internal classification code (more granular than Key code)         | pd_cd             | Number         |\n    | PD_DESC              | Description of internal classification corresponding with PD code (more granular than Offense description) | pd_desc           | Text           |\n    | KY_CD                | Three digit internal classification code (more general category than PD code)    | ky_cd             | Number         |\n    | OFNS_DESC            | Description of internal classification corresponding with KY code (more general category than PD description) | ofns_desc         | Text           |\n    | LAW_CODE             | Law code corresponds to the New York State Penal Law, VTL and other various local laws | law_code          | Text           |\n    | LAW_CAT_CD           | Level of offense: felony, misdemeanor, violation                             | law_cat_cd        | Text           |\n    | ARREST_BORO          | Borough of arrest. B(Bronx), S(Staten Island), K(Brooklyn), M(Manhattan), Q(Queens) | arrest_boro       | Text           |\n    | ARREST_PRECINCT      | Precinct where the arrest occurred                                           | arrest_precinct   | Number         |\n    | JURISDICTION_CODE    | Jurisdiction responsible for arrest. Jurisdiction codes (typically 0 (Transit) and 20 (Housing)) represent NYPD whilst codes 1 and 2 represent non NYPD Jurisdictions | jurisdiction_code | Number         |\n    | AGE_GROUP            | Perpetrator's age within a category                                          | age_group         | Text           |\n    | PERP_SEX             | Perpetrator's sex description                                                | perp_sex          | Text           |\n    | PERP_RACE            | Perpetrator's race description                                               | perp_race         | Text           |\n    | X_COORD_CD           | Midblock X-coordinate for New York State Plane Coordinate System, Long Island Zone, NAD 83, units feet (FIPS 3104) | x_coord_cd        | Number         |\n    | Y_COORD_CD           | Midblock Y-coordinate for New York State Plane Coordinate System, Long Island Zone, NAD 83, units feet (FIPS 3104) | y_coord_cd        | Number         |\n    | Latitude             | Latitude coordinate for Global Coordinate System, WGS 1984, decimal degrees (EPSG 4326) | latitude          | Number         |\n    | Longitude            | Longitude coordinate for Global Coordinate System, WGS 1984, decimal degrees (EPSG 4326) | longitude         | Number         |\n    | New Georeferenced Column |                                                                              | geocoded_column   | Point          |\n\n## Libraries\nThe libraries used here will be listed under:\n\n![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54)\n![Pandas](https://img.shields.io/badge/pandas-%23150458.svg?style=for-the-badge\u0026logo=pandas\u0026logoColor=white)\n![Matplotlib](https://img.shields.io/badge/Matplotlib-%23ffffff.svg?style=for-the-badge\u0026logo=Matplotlib\u0026logoColor=black)\n![scikit-learn](https://img.shields.io/badge/scikit--learn-%23F7931E.svg?style=for-the-badge\u0026logo=scikit-learn\u0026logoColor=white)\n\n## Further Detail\nFurther detail to the assignment such as methods, hypothesis, questions, and so on will be provided as links here:\n- Report Link: TBD\n\n## Special Thanks\nSpecial thanks to NYC Open Data for providing the people with free access to datasets, it is great help to young analysts who wish to do work on important datasets.\n- NYC Open Data: [Homepage](https://opendata.cityofnewyork.us/)\n\n    \u003cimg src=\"https://opendata.cityofnewyork.us/wp-content/themes/opendata-wp/assets/img/nyc-open-data-logo.svg\" alt='nyc open data' width=200\u003e\n\n## License\nMIT License\n\nCopyright (c) 2025 David Rodriguez\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n[Python]: https://img.shields.io/badge/python-FFDE57?style=for-the-badge\u0026logo=python\u0026logoColor=4584B6\n[Python-url]: https://www.python.org/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrod75%2Fnyc-arrests-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrod75%2Fnyc-arrests-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrod75%2Fnyc-arrests-analysis/lists"}