Skip to content

Analysis of NICS firearm background check data (2006-2016)

License

Notifications You must be signed in to change notification settings

cander67/gun_data

Repository files navigation

NICS Background Check Analysis

This project parses, cleans, and analyzes NICS firearm background check data and US Census data to identify trends in the prevelence of firearms in the US during 2006-2016.

Pre-requisites

Local deployment can be accomplished by creating a virtual environment using Python 3.11 and installing the necessary dependencies as described below.

Install dependencies from the terminal using the following command: pip install -r requirements.txt

OR

  • Python 3.11
  • Jupyter Notebook 6.5.4

The following third party Python libraries were used:

  • Pandas 2.2.1

Getting Started

To run this project, download the following files.

  1. gun_data.csv (Raw NICS data)
  2. us_census_data.csv (Raw US Census data)
  3. nics_background_check_analysis.ipynb (Project notebook)

Open the .ipynb file in Jupyter Notebook and run the code to parse, clean, and analyze the raw NICS and US Census data.

Support

Contributions and suggestions are welcome and may be submitted by forking this project and submitting a pull request through GitHub.

About

Analysis of NICS firearm background check data (2006-2016)

Resources

License

Stars

Watchers

Forks