Hello everyone! After I finished the API and web scraping courses on DataQuest I was very excited about the idea of creating my own datasets. There is some much data on the web that you can analyze and we have so powerful instruments to retrieve all this data.
I decided to practice API and mainly used this amazing tutorial by DQ to create my own dataset. My initial idea was just to have fun writing some code but then I understood that I can create some useful datasets that other people can use for their own analysis and here where the project’s idea was born.
I scrolled this list of public APIs and decided to choose Nager.Date API that collects data about holidays worldwide. Finally, I created two datasets: of public holidays and of long weekends in different counties. I also did some data cleaning to prepare the datasets for analysis but the rest is on the shoulders of whom is going to use them.
I also proposed some questions to answer to help someone kick off with the analysis.
I will upload the notebook here on DQ and you can access the csv
files on my GitHub.
I would like to receive feedback mainly on code efficiency. I also thought about creating a function for cell 5 to improve readability but couldn’t understand how to implement it… If you see any possibility to make it, I would be grateful for your help.
Happy coding, everyone!
P.S. I wasn’t able to tag this topic as personal-project
because it’s not in the list of available tags…
nager-public-holidays.ipynb (33.4 KB)
Click here to view the jupyter notebook file in a new tab