A comparison of animal bite data in Louisville, KY from 2010-2017 with phases of the moon.
- Imports data from CSV files to a SQL database
- Queries SQL database for relevant data
- Cleans data and merges into a Pandas dataframe
- Includes Tableau dashboard for visualizations
- Python 3.10
- Pandas
- Jupyter Notebook
- Navigate to directory and set up a virtual environment
python -m venv venv
- Activate virtual environment
- Windows:
venv\Scripts\activate
- Mac/Linux:
source venv/bin/activate
- Install requirements.txt
pip install -r requirements.txt
- Type
jupyter notebook
to start Jupyter Notebook, and select lunacy.ipynb to run.
The goal of this project is to discover if there is any correlation between animal bites reported in Louisville, KY between October 29th 2009 and September 8th 2017, and the phase of the moon when the bite occurred. The bite dataset contains reports from many other years, but the reporting is inconsistent and missing most of the applicable data points. Along the way, we learn some interesting things about this dataset.
Tableau Dashboard: Animal Bites and Lunacy