Code Monkey home page Code Monkey logo

surf_with_sqlalchemy's Introduction

SQLAlchemy - Surfs Up!

surfs-up.png

Background

This project is designed to explore and analyze data of climate database by using SQLAlchemy ORM queries, and Pandas and Matplotlib in Python. A Flask API is created to store all the information.

Climate Analysis and Exploration

Precipitation Analysis

Retrieve, summarize, and plot the most recent 12 months of precipitation data.

precipitation_analysis

Station Analysis

Retrieve, summarize, and plot the most recent 12 months of temperature observation data of the most active station.

station.png

Climate App

The Weather App Home Page includes available API routes as below:

  • /api/v1.0/precipitation
  • /api/v1.0/stations
  • /api/v1.0/tobs
  • Enter a start date to retrieve the weather info : /api/v1.0/yyyy-mm-dd
  • Enter a start and end date to retrieve the weather info : /api/v1.0/yyyy-mm-dd/yyyy-mm-dd

Other Analysis

Temperature Analysis I

Is there a meaningful difference between temperatures between the months of June and December?

  • T-test was used to calculate the means of two different independent samples: the temperature for June vs temperature for December across all available years in the dataset.

  • T-test Results: t = 30.624201480767336, p = 6.622829250184814e-178

  • Conclusion: With the p-value is extremely close to 0, there is not sufficient evidence to conclude that there is a significant difference in means between June and December temperatures across all the data years available.

Temperature Analysis II

  • Choose a date range for a trip and use the calc_temps function to calculate the min, avg, and max temperatures for the trip using the matching dates from the previous year.
  • Plot the min, avg, and max temperature from the query as a bar chart.

station.png

Daily Rainfall Average

Calculate the rainfall per weather station using the year's previous matching dates for the trip.

station.png

Daily Temperature Normals

Calculate the daily minimum, maximum, and average temperatures for the trip and plot an area plot with the results.

station.png

surf_with_sqlalchemy's People

Contributors

peiday avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.