Skip to content

mdaxc6/amusement-park-saftey-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amusement Park Ride Safety Analysis

rollercoaster

Project Proposal

Background Work

ETL Used Python and Pandas to format and prepare the data. State Abbr -> Full Names Used Google geocode API to add location info to the dataset. Used Pandas to create sqlite database containing info.

SQLite and Flask-API Created Flask app with 3 routes All Accident Data Accident Data by State Accident Data by City We utilized SQLAlchemy to pull data from the database, and jsonify to return a JSON format. The main dashboard is rendered in flask via a render template.

Heroku The flask app was pushed to Heroku with automatic deploy https://park-accidents-api.herokuapp.com/

Using Plotly to Plot Visualizations

heatmap

HTML