Skip to content

Climate analysis of the weather in 500+ randomly generated cities across the world to determine location with ideal Vacation weather Conditions

Notifications You must be signed in to change notification settings

teomotun/Vacation-Planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's the Weather Like?

Equator

Background

The repo contains two notebooks WeatherPy- explores the way weather changes as we approach the equator - and VacationPy - plan future vacations given ideal weather conditions worldwide - . I used Pandas, Numpy, Scipy, JSON, Matplotlib, Requests, CitiPy api and Google API (Geoplaces API, GMAP API) to accomplish my task.

Part I - WeatherPy

Created a Python script to visualize the weather of 500+ cities across the world of varying distance from the equator. Utilized a simple Python library, the OpenWeatherMap API, and some data filtering to create a representative model of weather across world cities.

  • First Objective was to build a series of scatter plots to showcase various relationships:

  • Second objective was to run linear regression on each relationship, only this time separating them into Northern Hemisphere (greater than or equal to 0 degrees latitude) and Southern Hemisphere (less than 0 degrees latitude):

Part II - VacationPy

Used jupyter-gmaps and the Google Places API to plan future vacations.

  • Created a heat map that displays the humidity for every city from the WeatherPy notebook.

  • Filtered the dataframe to find ideal weather

    • A max temperature lower than 80 degrees but higher than 70.
    • Wind speed less than 10 mph.
    • Zero cloudiness.
  • Used Google Places API to find the first hotel for each city located within 5000 meters of the coordinates in the dataframe.

  • Created a map of the hotels on top of the humidity heatmap with each pin containing the Hotel Name, City, and Country.

    hotel map

About

Climate analysis of the weather in 500+ randomly generated cities across the world to determine location with ideal Vacation weather Conditions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published