https://github.com/lingumd/world_weather_analysis
Updated PlanMyTrip app to include input from user using Google Maps Directions API, OpenWeatherMap API, and Python.
https://github.com/lingumd/world_weather_analysis
concatenate gmaps google-maps-api jupyterlab open-weather-map-api pandas-loc pandas-python python
Last synced: about 2 months ago
JSON representation
Updated PlanMyTrip app to include input from user using Google Maps Directions API, OpenWeatherMap API, and Python.
- Host: GitHub
- URL: https://github.com/lingumd/world_weather_analysis
- Owner: lingumd
- Created: 2022-07-19T14:20:06.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-28T06:00:48.000Z (over 3 years ago)
- Last Synced: 2025-01-23T08:43:01.001Z (over 1 year ago)
- Topics: concatenate, gmaps, google-maps-api, jupyterlab, open-weather-map-api, pandas-loc, pandas-python, python
- Language: Jupyter Notebook
- Homepage:
- Size: 5.29 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# World_Weather_Analysis
Use weather description data to enhance the PlanMyTrip app. Then, use input statements to filter the data for weather preferences, which will be used to identify potential travel destinations and nearby hotels. The app will then choose four cities from the list of potential travel destinations to create a travel itinerary. Finally, using the Google Maps Directions API, create a travel route between the four cities and a marker layer map.
## Retrieve Weather Data
[Link to Weather Database code](./Weather_Database/Weather_Database.ipynb)
Find cities closest to randomly generated coordinates and gather information on them using a Weather Map API call into a list. Then, convert the list of information into a dataframe. Then, save to WeatherPy_Database.csv file.

## Create a Customer Travel Destinations Map
[Link to Vacation Search code](./Vacation_Search/Vacation_Search.ipynb)
From WeatherPy_Database.csv file and input from the user on preferred maximum and minimum temperatures, locate the cities that correspond to the user input and hotels in those cities. Then, save to WeatherPy_vacation.csv file and create a map with markers on the cities and pop-ups with the hotel name, city, country, current weather, and maximum temperature of the city. An example of a map with the user input for the minimum preferred temperature being 80 degrees Fahrenheit and the maximum preferred temperature being 95 degrees Fahrenheit is shown below.

## Create a Travel Itinerary Map
[Link to Vacation Itinerary code](./Vacation_Itinerary/Vacation_Itinerary.ipynb)
From the WeatherPy_vacation.csv file, select 4 cities and create a travel itinerary route between the 4 cities by creating dataframes for each city, then creating a direction layer to map the route between the start point, the waypoints, and the stop point. An example of the map for the route being from Shimoda, JP to Nara, JP to Hasaki, JP to Katsuura, JP and back to Shimoda, JP is shown below.

From the 4 cities selected, create a map with markers on the 4 cities and info boxes with the hotel name, city, country, current weather, and maximum temperature of the city. An example for the 4 cities chosen as Shimoda, JP, Nara, JP, Hasaki, JP, and Katsuura, JP is shown below.
