Statistics
Hypothesis testing–tidy regression output and interaction effects in R with broom
and margins
Multi-state duration models in R with mstate
Software
netlit
: A package to aid literature reviews with network analysis in R
legislators
: A package to find legislator names in messy text
congressionalrecord
: A package to scrape, parse, and analyze the Congressional Record
Data Science
Detetecting text-reuse with ngrams in R: public comments on CFPB’s Payday Loan Rule example
Detetecting change in policy texts with ngrams R: the Volcker Rule example
Summarizing texts with textrank
: CFPB’s Payday Loan Rule example
Scraping the Congressional Record in R with rvest
and purrr
Scraping company names from Federal Energy Regulatory Commission’s website in R with rvest
and purrr
Convert pdfs to a dataframes in R with pdftools
, stringr
, and purrr
Data Viz
Maps from GIS data in R: Canada example
PS 811: Statistical Computing for Political Science
There are more tutorials, slides, and links to other resources in my Statistical Computing for Political Science repo