Coder Social home page Coder Social logo

enj657 / world_weather_analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6.02 MB

Found weather data for random cities using OpenWeatherMap API and citipy module. Created user input to filter cities list, click on city and see a Hotel name, the city, country and current weather in the city. Created travel itinerary that shows route between four chosen cities using Google Directions API.

Jupyter Notebook 100.00%
python json openweathermap-api openweathermap matplotlib gmaps jupyter-notebook google-maps-api citipy

world_weather_analysis's Introduction

World_Weather_Analysis

Overview of WeatherPy Analysis

Our client, Jack, loves the PlanMyTrip app, but he wants to make a few changes to take the app even further. He wants to add the weather description to the weather data we already have, then have beta testers use input statements to filter the data for their weather preferences. These preferences will be used to find possible travel destinations and close hotels. From these possible locations, the tester will choose four cities to create an itinerary. Using the Google Maps Directions API, we will create a travel route between the four cities and make a marker layer map.

Purpose

The purpose of this analysis is to make our PlanMyTrip app even better by adding a weather description, user input, and maps to make a travel itinerary.

WeatherPy Analysis Results

Weather Database

We first found weather data for random cities around the world using the OpenWeatherMap API and the citipy module. The image below shows the first five cities in the DataFrame.

image info

Vacation Search

We then narrowed down the weather DataFrame by using customer input. The customer will choose a maximum and minimum temperature to filter the list. We used the data from the narrowed down list with our Google API to create a map. The customer can click on a city on the map and our label shows a hotel name, the city, country, and current weather, as seen in the image below.

image info

Vacation Itinerary

Next, we created a travel itinerary that shows the route between four chosen cities, using Google Directions API. Lastly, we created a marker layer map for each of the four cities on the itinerary. The two images are shown below.

image info

image info

WeatherPy Analysis Summary

We made many changes to our PlanMyTrip app, and we can see the improvements. Our clients can now find cities based on a maximum and minimum temperature, and view those cities on a map with markers. They can also choose four cities and get directions between the cities. Overall, the changes have made our app even better.

world_weather_analysis's People

Contributors

enj657 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.