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.
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
To run this project, download the following files.
- gun_data.csv (Raw NICS data)
- us_census_data.csv (Raw US Census data)
- 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.
Contributions and suggestions are welcome and may be submitted by forking this project and submitting a pull request through GitHub.