This repository contains code and data for the projects described in my book Theater as Data(University of Michigan Press, 2021), which is available here as Open Access. The book explains how and when to use computational methods for studying the performing arts (and other forms of intangible cultural heritage).
data/
- All the necessary data for running the code, mostly in .csv format, organized per chapter.
ch_7
contains a .zip for Google Colab, which is not required for runnning the analysis locally.
- All the necessary data for running the code, mostly in .csv format, organized per chapter.
code/
- Jupyter Nobtebooks for running the statistical analyses and re-creating the visualizations described in the book.
The code here is almost identical to that which is available from the publisher's website, with some minor adaptations for easier work with the most recent version of certain libraries.
You can clone this repository to run this code locally. You can installed the required packages with the following command
pip install -r requirements.txt
Alternatively, you can also run the four Notebooks directly on Google colab:
*Note: the code in Colab has been adapted slightly to load the data directly from this GitHub repo, rather than having to upload it directly.
This interactive Jupyter Notebooks assume basic familiarity with Python and Jupyter. For users not familiar with Python, I recommend Allen Downey's Elements of Data Science and Melanie Walsh's Introduction to Cultural Analytics & Python
If you use this code in your teaching or research, please let me know! You can find my contact details at https://miguelescobar.com. Please also open an issue or get in touch if you find any errors.