Teaching & Tools
Open lessons and R packages for research on work, language, and data
Lessons
Teaching material written for people who are new to the topic. Every code example runs during the build, so nothing on the page is untested.
Periodic Table of NLP Tasks in R
A map of natural language processing arranged so related work sits together. Each lesson starts from a real problem, explains the terms as they appear, and shows the output of code you can run yourself. Every one of the 81 tiles opens a lesson, and the whole field is laid out on one page, so you can find a lesson by where it sits. A companion guide, Using a language model in a reproducible analysis, shows how to check a model's labels against people and correct estimates for its errors.
- Source and training data Encoding, files, APIs, scraping, OCR, annotation 13 / 13
- Language structure Tokens, morphology, phrases, entities, sentences, documents 29 / 29
- Models and analysis Training, evaluation, classification, topics, similarity 20 / 20
- Language generation Next-token prediction, report writing, translation, summarization, paraphrasing, long documents 6 / 6
- Language systems Relation extraction, question answering, chatbots, semantic search, knowledge bases, e-discovery 6 / 6
- Visualization Apps, annotated text, word clouds, embeddings, timelines, maps, knowledge graphs 7 / 7
R packages
Open-source packages for labor market research and for working with models from R. Each one has reference documentation and a public repository.
huggingfaceR
175 stars on GitHub
Run Hugging Face models from R. Pull pretrained models for classification, embeddings, and generation without leaving a tidyverse workflow.
onet2r
5 stars on GitHub
A client for O*NET occupational data. Read archived releases, bridge taxonomy changes between vintages, and weight by employment so a cross-section is not mistaken for a time series.
cmapr
3 stars on GitHub
Tools for analyzing global career mobility data using tidyverse workflows. Build and study the transition networks behind occupational movement.
foundryR
1 star on GitHub
An R interface to Azure AI Foundry. Call hosted models and manage deployments from an analysis script instead of a separate console.