Material from my Machine Learning for the Social Sciences course
-
Updated
Jan 2, 2024 - Jupyter Notebook
Material from my Machine Learning for the Social Sciences course
The ABC of Computational Text Analysis. BA Seminar, Spring 2022, University of Lucerne
A small showcase for topic modeling with the tmtoolkit Python package. I use a corpus of articles from the German online news website Spiegel Online (SPON) to create a topic model for before and during the COVID-19 pandemic.
Code for collecting and cleaning speeches (text) of the US 2020 election campaign. Corresponding publication: "A text dataset of campaign speeches of the main tickets in the 2020 US presidential election", by Ioannis Chalkiadakis, Louise Anglès d’Auriac, Gareth W. Peters, and Divina Frau-Meigs
From using xpdf, rvest, and quanteda on United Nations Digital Library search results to applying dictionaries to speeches in United Nations meeting records
Replication script for the Webscrapping Transcripts of the Parliamentary Debates in the National Council of the Slovak Republic (1994-2023) and the ensuing sentiment analysis
Literature 📄 and datasets 📚 on automatic populism detection
Original corpus of articles relating to refugees scraped from Tennessee newspaper The Chattanoogan along with simple code for text-as-data word cloud.
Empirical framework applied to parliament discourses and Twitter data, with a Discourse Polarization Index.
Applied empirical economics PhD course at Stockholm University
This repository uses text-as-data methods alongside traditional primary source reading to analyze early American state constitutions. The R scripts create a function to scrape and clean the constitutional text, run sentiment analysis, calculate tf-idf, and perform LDA. This is a work-in-progress.
Code and models for 3 different tools to measure appeals to 8 discrete emotions in German political text
Summer/ winter schools, workshops and conferences in computational social science 🫂
A tutorial on using regular expressions in R
The ABC of Computational Text Analysis. BA Seminar, Spring 2021, University of Lucerne
An Automation Webcrawler for Extracting Central Bankers' Speeches
LinkOrgs: An R package for linking linking records on organizations using half a billion open-collaborated records from LinkedIn
Summer 2017 Social Media Analytics Workshop Series
Add a description, image, and links to the text-as-data topic page so that developers can more easily learn about it.
To associate your repository with the text-as-data topic, visit your repo's landing page and select "manage topics."