Learn practical skills, build real-world projects, and advance your career
Created 3 years ago
INTRODUCTION
In this project, I'm using a dataset from Github that contains the greenhouse emissions data from all the countries in the world, during a time period of 270 years.
I am going to use the urlreteive function to download the dataset
from urllib.request import urlretrieve
The raw dataset can be downloaded from these links.
raw_co2_url = "https://raw.githubusercontent.com/owid/co2-data/master/owid-co2-data.csv"
raw_co2_code_url = "https://raw.githubusercontent.com/owid/co2-data/master/owid-co2-codebook.csv"
Now I'm gonna save the datasets into a local csv file so that it can be accessed throught the project