Skip to content

patibindu/Python-API-Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-API-Challenge

Create a new repository for this project called python-api-challenge.

Clone the new repository to your computer.

Add a .gitignore File

Open python-api-challenge GitHub folder in VS Code.

Open the .gitignore file and type the following code on the first line:

Adding config.py file.

api_keys.py

Download the following files to help you get started:

Module 6 Challenge filesLinks to an external site. https://static.bc-edx.com/data/dl-1-2/m6/lms/starter/Starter_Code.zip

Part 1: WeatherPy

Requirement 1: Create Plots to Showcase the Relationship Between Weather Variables and Latitude To fulfill the first requirement, you'll use the OpenWeatherMap API to retrieve weather data from the cities list generated in the starter code. Next, you'll create a series of scatter plots to showcase the following relationships:

Latitude vs. Temperature

Latitude vs. Humidity

Latitude vs. Cloudiness

Latitude vs. Wind Speed

Requirement 2: Compute Linear Regression for Each Relationship To fulfill the second requirement, compute the linear regression for each relationship. Separate the plots into Northern Hemisphere (greater than or equal to 0 degrees latitude) and Southern Hemisphere (less than 0 degrees latitude). You may find it helpful to define a function in order to create the linear regression plots.

Next, create a series of scatter plots. Be sure to include the linear regression line, the model's formula, and the r values as you can see in the following image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published