GithubHelp home page GithubHelp logo

josephchancey / sqlalchemy-climate Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 390 KB

Explore .sqlite files with sqlalchemy to analyze a climate database.

License: MIT License

Jupyter Notebook 100.00%

sqlalchemy-climate's Introduction

sqlalchemy-climate

Explore .sqlite files with sqlalchemy to analyze a climate database.

Repository Structure

SQLAlchemy | Data Analysis

Generated Graphs

Referenced Datasets

Climate & Precipitation Analysis

Banner_Image

This project undertakes analysing Honolulu, Hawaii climate/precipitation data. The primary goal of this project is to stretch into SQLAlchemy and complete and analysis with: SQLAlchemy ORM queries, Pandas, and Matplotlib. What trends can we uncover by looking through this data? Where may be the best place to visit in this given dataset? Let's find out!

Precipitation Data Findings

  • Start by finding the most recent date in the data set.
  • Using this date, retrieve the last 12 months of precipitation data (through queries).
  • Select the date and prcp values for analysis.
  • Load the query results into a Pandas DataFrame.
  • Sort the DataFrame values by date.
  • Plot the results using the DataFrame plot method.

first_plot

Climate Data Findings

  • Design a query to calculate the total number of stations in the dataset.
  • Design a query to find the most active stations.
  • List the stations and observation counts in descending order.
  • Which station id has the highest number of observations?
  • Using the most active station id, calculate the lowest, highest, and average temperature.
  • Design a query to retrieve the last 12 months of temperature observation data (TOBS).
  • Filter by the station with the highest number of observations.
  • Query the last 12 months of temperature observation data for this station.
  • Plot the results as a histogram.

first_plot

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.