Data Science Homework Portfolio

see my main project here! :)

Homework 2:

Embedding charts from the RapidCharts webpage

Homework 3:

Constructing my own charts. This chart accesses data live from the gov.uk API.

This second chart then uses data from the same API, but which is locally stored in my Github repository:

Homework 4:

In this chart I have manually edited the data, adding a final data point of 3,000,000.

In this chart, I wrote the data manually inline in the JSON in Vega Lite.

Homework 5:

I found this first API from the CPTAC's, providing information about their cancer study programs. My chosen endpoint gives the total number of participants in their clinical trials by the tumour type. See the source here.

I then signed up for an AlphaVantage API key, and used this to access this data on close prices for Shopify.

Homework 6:

For the first part of this homework I used the requests package in Python to make a call to the Nasa Power REST API. See the fetch on Github / live on Google colab.

I created a loop in Python to batch download data for ozone emissions from the Emissions API. View the loop live in Colab, or on my Github.

Homework 7:

I built a scraper in python to get data from the World Happiness Report Wikipedia. View the scraper live in Google Colab,or on my Github.

Homework 8:

This chart attempts to evaluate the claim made at the Festival of Economics that "productivity in the UK has been stagnant since 2007". We can see in this chart that, while productivity certainly has not been growing as fast since 2007 as before, it can not be said to be entirely stagnant, with around an 8% increase from 2007 to 2020.

Homework 9:

I used Python to pull data from Yahoo Finance for the S&P 500 Index, and regressed this on data downloaded from NASDAQ on the GRNWIND Index, calculating a R-squared coefficient for fit. See the code in the live in the Colab notebook or on Github.

regression

regression

Homework 10:

For the next chart, I merged two datasets. See the code in this Colab Notebook or on my Github.