Skip to content

Identify potentiel travel destinations and nearby hotels to help create travel itinerary for customers based on their weather preferences.

Notifications You must be signed in to change notification settings

MireyNM/World_Weather_Analysis

Repository files navigation

World_Weather_Analysis

Project Overview

PLANMYTRIP is a top travel technology company that specializes in internet-related services in the hotel and lodging industry. In this project we will collect and present data for customers via the search page, which they will then filter based on their preferred travel criteria in order to find their ideal hotel, anywhere in the world.

Purpose

The aim of this project is to identify potential travel destinations and nearby hotels. To help create a travel itinerary for the customers, based on their weather preferences.

Resources

  • Data Source: new_full_student_data.csv
  • Software: Python 3.7.13, Conda 4.14.0, Jupyter Notebook, CitiPy
  • APIs: Google Maps - Open Weather

Analysis of Data and Results

Retrieve Weather Data

To perform this task, we used a Jupyter Notebook and the CitiPy module to get the cities for more than 2000 random latitudes and longitudes. Then, we have saved the data in a .csv file.
To check the full code, go to Weather_Database.ipynb
https://github.com/MireyNM/World_Weather_Analysis/blob/main/Weather_Database/Weather_Database.ipynb

Create a customer Travel Destinations Map

After retrieving weather data and storing it in a csv file, we imported these data as Pandas DataFrame. Then we employed input statements to find customer weather preferences and we used those preferences to identify potential travel destinations and nearby hotels. Finally, we showed those destinations on a marker layer map with pop-up markers showing hotel name, city, country, the weather description and the temperature. (See Fig.1)

Outcomes_vs_Goals

Fig.1 - Potentiel travel destination based on customer weather preferences.


To check the full code, go to: Vacation_Search.ipynb
https://github.com/MireyNM/World_Weather_Analysis/blob/main/Vacation_Search/Vacation_Search.ipynb

Create a travel Itinerary Map

Using the Google Maps Directions API, we have created a travel route between four cities, chosen based on customer's weather preferences. (See Fig.2).

Outcomes_vs_Goals

Fig.2 - Travel route between four cities chosen based on customer weather preferences.

Finally, we have created a marker layer map with a pop-up marker for each city on the itinerary (See Fig.3)

Outcomes_vs_Goals

Fig.3 - Pop-marker map showing weather informations for itinerary cities.

To check the full code, go to: ```Vacation_Itinerary.ipynb```
https://github.com/MireyNM/World_Weather_Analysis/blob/main/Vacation_Itinerary/Vacation_Itinerary.ipynb

Summary

The aim of this project was successful met. I believe we can narrow our potential hotels choice by adding more questions to the customers like if they prefer to have snow or rain. Or maybe we can ask if they have preferred continent.

About

Identify potentiel travel destinations and nearby hotels to help create travel itinerary for customers based on their weather preferences.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published