/Medium-articles

Code for articles I have written on Medium (Towards Data Science and Python in Plain English

Primary LanguageJupyter Notebook

Medium-articles

Here you'll find content related to articles I wrote on Medium related to data science and python. This includes any code examples I use during walkthroughs that I do.

In this article I talk about how to get data from the New York Times APIs (https://developers.nytimes.com/). I use the Archive API to get article data. My goal here was to showcase a great source of news data, show the basics of interacting with an API and saving the data to a database.

In this article I talk about how to use Pandas to get tabular data directly from a website. Here I focus on political polling data, as that is an interest of mine, but it could be used for anything. The Pandas read_html() method worked really well. I played around with the 'flavor' parameter to get the best results.

In this article I demonstrate the basics of SQL using Fantasy Premier League data. The queries run in the article can be found in the queries file.

In this article I demonstrate some of the basics of using the Requests library to interact with an API, including handling errors and JSON content.

In this article I go over the steps I took to get my chess game data from the chess.com API and process it using python-chess and pandas for analysis.

In this article, I get three days’ weather forecast data from the Met Éireann API and save it to a pandas DataFrame.