Scatter plot a TV series listed within the Internet Movie Database (IMDb).
A more recent web app approach is offered by ratingraph.com.
Start by downloading the setup file IMDBratings_setup.py
and the execution file IMDBratings.py
.
Run python IMDBratings_setup.py
. The CLI will guide you through the setup:
- The script will create a
raw
folder within the current directory, then - it will download three datasets from https://datasets.imdbws.com/. Specifically, (1)
title.basics.tsv.gz
, (2)title.episode.tsv.gz
, and (3)title.ratings.tsv.gz
. - Thereafter, it will extract the files and merge the tables.
- Lastly, the script removes the gz files, and you end up with a csv file being approx. 26โฏMB
Run python IMDBratings.py
. The CLI will guide you through the setup:
- You can enter an arbitrary series (it needs to be listed in IMDb).
- In case there are multiple series sharing the same name, you get asked to enter a release year to specify your selection.
- The script returns a scatter plot with a linear regression of your series.
This project was part of the lecture Introduction to Digital Humanities during the term 2017/2018, held by Dr. Francesco Mambrini (@francescomambrini) at Leipzig University. There is also a not so serious project report as PDF.