Skip to content

Analysis of global weather patterns for vacation planning using citipy, OpenWeather API, and Google Maps API.

Notifications You must be signed in to change notification settings

coreydevinanderson/analysis-of-global-weather-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains an analysis of global weather data via the OpenWeather API, written Python in Jupyter Notebook files.


There are two directories:

  1. WeatherPy
  2. VacationPy
  • WeatherPy.ipynb uses custom functions to call weather data from the OpenWeather API.

  • Random coordinates were generated with 'numpy' and we use the 'citipy' package to identify the nearest city to each coordinate.

  • We then pulled weather data from OpenWeather API using 'requests' and 'json' with the assitance of 'time' and 'sys'.

  • Data were cleaned and manipulated with 'pandas' and plotted with 'matplotlib'.

  • VacationPy.ipynb uses the .csv output from WeatherPy.ipynb to plot humidity and select hotels based on specified weather conditions.

  • Global humidity data were plotted with 'gmaps'. We then the filtered data based on weather preferences with 'pandas' and used the Google Places API to determine the closest hotel to our desired destination.


All code was written by Corey D. Anderson

About

Analysis of global weather patterns for vacation planning using citipy, OpenWeather API, and Google Maps API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published