Skip to content

Conduct climate analysis using SQL Alchemy and Flask. Specifically using SQLAlchemy ORM queries, Pandas and Matplotlib and display findings. Finally, a Climate App was designed with Flask API based on SQLAlchemy queries.

Notifications You must be signed in to change notification settings

albertdudek7/Climate_Analysis_with_SQLAlchemy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Climate Analysis with SQLAlchemy and Flask

Part 1: Analyze and Explore the Climate Data Used Python and SQLAlchemy to do a basic climate analysis and data exploration of the climate database. Specifically, used SQLAlchemy ORM queries, Pandas, and Matplotlib.

Used the SQLAlchemy create_engine() function to connect to SQLite database.

Used the SQLAlchemy automap_base() function to reflect tables into classes, and then saved references to the classes named station and measurement.

image

Linked Python to the database by creating a SQLAlchemy session.

Performed a precipitation analysis and then a station analysis.

Precipitation Analysis Finding the most recent date in the dataset.

Using that date, the previous 12 months of precipitation data were found by querying the previous 12 months of data.

image

Used Pandas to print the summary statistics for the precipitation data. image

Station Analysis Designed a query to calculate the total number of stations in the dataset. Designed a query to find the most-active stations.

image

Part 2: Design Climate App Designed a Flask API based on the queries that were developed.

image

image

image

About

Conduct climate analysis using SQL Alchemy and Flask. Specifically using SQLAlchemy ORM queries, Pandas and Matplotlib and display findings. Finally, a Climate App was designed with Flask API based on SQLAlchemy queries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published