This project aims to analyse weather data of various cities to understand the relationship between weather variables and the latitude of the cities. We also utilise the analysed data to plan future vacations by selecting ideal weather conditions for our trip and finding hotels in the cities that meet our criteria.
In this part, we create a Python script to visualize the weather of over 500 cities of varying distances from the equator using the citipy Python library, the OpenWeatherMap API, and our problem-solving skills.
We generate scatter plots to showcase the following relationships:
We also compute linear regression for each relationship, separating the plots into Northern Hemisphere (greater than or equal to 0 degrees latitude) and Southern Hemisphere (less than 0 degrees latitude).
In this part, we use our weather data to plan future vacations. We use Jupyter notebooks, the geopandas Python library, and the Geoapify API to create map visualizations of our ideal vacation spots.
We narrow down the city_data DataFrame to find our ideal weather conditions and use the Geoapify API to find the first hotel located within 10,000 meters of our coordinates.