• Stars
    star
    221
  • Rank 179,773 (Top 4 %)
  • Language
    Jupyter Notebook
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Introduction to Cultural Analytics & Python, course website and online textbook powered by Jupyter Book

Introduction to Cultural Analytics & Python

Designed by Melanie Walsh // Powered by Jupyter Book

This repository hosts the code for the online textbook, Introduction to Cultural Analytics & Python, which offers an introduction to the programming language Python that is specifically designed for people interested in the humanities and social sciences.

The book demonstrates how Python can be used to study cultural materials such as song lyrics, short stories, newspaper articles, tweets, Reddit posts, and film screenplays. It also introduces computational methods such as web scraping, APIs, topic modeling, Named Entity Recognition (NER), network analysis, and mapping.

These materials were originally created to support "Introduction to Cultural Analytics: Data, Computation & Culture," an undergraduate course taught at Cornell University and the University of Washington.

Jupyter Book Overview and Repository Structure

The Python package jupyter-book processes the Jupyter notebook files from this repository and outputs them as the publication-quality HTML files that generate the corresponding website.

The HTML files are currently hidden in this branch of the GitHub repository, but you can find them in the gh-pages branch.

Below I will briefly explain the structure of this repository and some important Jupyter Book features.

  • /book contains all the materials that generate the Jupyter Book
  • /binder contains materials that set up the virtual Binder environment for running Jupyter notebooks in the cloud

Configuration file

The configuration file /book/_config.yml is where I establish key features of the book, such as the title, logo, and whether users can open the Jupyter notebook files in the cloud.

Table of Contents file

The table of contents file /book/_toc.yml establishes the table of contents structure on the left-hand side of the web page.

Data

Data can be can be found in /book/data

Texts

Texts can be can be found in /book/texts

Custom CSS

Custom CSS styling can be found in /book/_static/custom.css (it's a bit messy at the moment, sorry)

Learn More About Jupyter Book

You can learn more about Jupyter Book by exploring the documentation: https://jupyterbook.org/intro.html

Acknowledgments

This course was inspired by a range of excellent course materials, including those by Lauren Klein, David Mimno, and Allison Parrish. The section "Working with Languages Beyond English" was co-authored with Quinn Dombrowski.

License

This book is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License.

Support This Project

I'm proud to make this book freely available, but if you find it useful, and if you'd like to support its continued development and maintenance, you can buy me a coffee โ˜•.

More Repositories

1

sample-social-network-datasets

A collection of social network datasets for teaching with tools like Gephi
106
star
2

responsible-datasets-in-context

Responsible Datasets in Context
TeX
64
star
3

BERT-4-Humanists

The GitHub repository for the BERT for Humanists Project
Jupyter Notebook
14
star
4

Working-with-Twitter-Data-TAPI-2022

Working with Twitter Data TAPI 2022
Jupyter Notebook
12
star
5

Goodreads-Classics

This repository hosts the code behind Melanie Walsh and Maria Antoniak's Goodreads Classics website and interactive plots.
HTML
6
star
6

info498a-au21

Course materials for Autumn 2021 University of Washington course Info498A, "Introduction to Cultural Analytics"
HTML
5
star
7

heart-disease-prediction

Machine learning project for predicting heart disease
Jupyter Notebook
5
star
8

Neat-Datasets

Sometimes you want to play with neat datasets
5
star
9

AI-for-Humanists

Code for the AI for Humanists website: https://www.aiforhumanists.com/
SCSS
5
star
10

Sample-Map-Website

HTML
3
star
11

Data-Analysis-with-Pandas

This is the repository for my June 14-18 course "Data Analysis with Pandas," part of the 2021 Text Analysis Pedagogy Institute
Jupyter Notebook
3
star
12

Collecting-Twitter-Data

Jupyter Notebook
2
star
13

lis572-au22

LIS 572: Intro to Data Science: Applications in Library Science and Humanistic Research
R
2
star
14

HDSSI-2023

Materials for the new Humanities Data Science Summer Institute at the University of Washington
Jupyter Notebook
1
star
15

Cornell-DH-Notebooks

Jupyter Notebook
1
star
16

network-analysis-lab

Resources for Humanities by the Numbers: Essential Readings in DH
1
star
17

info498e-sp23

Introduction to Cultural Analytics: Data, Computation, & Culture (SP 2023)
Java
1
star
18

HDSSI-reception-lab-2023

Python
1
star
19

HDSSI-demo-repo

Practice repo for learning about git and GitHub
1
star
20

lil-microfiction-generator

๐Ÿ‘‡This lil' microfiction generator tells randomly-generated stories about Academia, Hollywood, or the NBA
HTML
1
star
21

Web-Scraping-Twitter-Reddit-Workshop

Social media data collection workshop for the Cornell Data Journal
Python
1
star
22

Week6-Exercises

R
1
star