The purpose of this project is to analyze weather data from various cities across the world, and selecting a potential vacation spot that fits all the wanted weather conditions.
Step 1: WeatherPy
- Randomly select 2000 sets of latitude and longitude, find the nearest city on the picked set (discard repeated cities), and perform weather API calls and gather various weather data.
- Create scatter plot on the following:
- Temperature (F) vs. Latitude
- Humidity (%) vs. Latitude
- Cloudiness (%) vs. Latitude
- Wind Speed (mph) vs. Latitude
- Create linear regression on the below relationships:
- Northern Hemisphere - Temperature (F) vs. Latitude
- Southern Hemisphere - Temperature (F) vs. Latitude
- Northern Hemisphere - Humidity (%) vs. Latitude
- Southern Hemisphere - Humidity (%) vs. Latitude
- Northern Hemisphere - Cloudiness (%) vs. Latitude
- Southern Hemisphere - Cloudiness (%) vs. Latitude
- Northern Hemisphere - Wind Speed (mph) vs. Latitude
- Southern Hemisphere - Wind Speed (mph) vs. Latitude
- Example Screenshots:
Step 2: VacationPy
- Create a heat map that displays the humidity for every city from step 1.
- Narrow down the data to find the ideal weather condition below:
- A max temperature lower than 80 degrees but higher than 70.
- Wind speed less than 10 mph.
- Zero cloudiness.
- Using Google Places API to find the first hotel for each city located within 5000 meters of the coordinates.
- Plot the hotels on top of the humidity heatmap with map marker.