How to Download & Unzip Zip files in Python

Photo by Shahadat Rahman on Unsplash

Web Scraping Links

First, we will collect all the download links available on their site. There are separate files for each available location.

Download, unzip and compile

Now, for each link we collected above, we will iterate the following steps: opening the link, unzip the zip file, reading the CSV as a Pandas data frame, and merging with the other datasets.

Happy Holidays!

Photo by Jamie Street on Unsplash

Data Scientist | Designer | Programmer | Researcher | Lifelong Learner

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store