Justin Grimmer
  • Home
  • C.V.
  • Contact
  • Books
  • Software
  • Research
  • Teaching
  • Personal

Courses Taught (Stanford University)

  • Approaches to Studying Political Science (Political Science 420A)
  • The Politics of Communication (Political Science 24N)
  • American Political Institutions (Political Science 120C)
  • Political Methodology I (Political Science 350a, 150a; Public Policy 303a)
Lecture Notes
  • Texts as Data (Political Science 452)

Course Material: Political Science 452

  • Course Syllabus
  • A Guide to R (courtesy of Brandon Stewart)
  • Class 1: Finding Text Data
Lecture Notes
Python Code: Scraping Paul Tonko's Website 
How to Mturk: Amazon Guide 

  • Class 2: Representing Text Quantitatively
Lecture Notes
Python Code: Split a Lexis Doc  Scrape Signing Statements Gettysburg
R Code: Open Ended Responses
  • Class 3: Dictionary Methods
Lecture Notes
R Code:  Preprocessing Text with Undergrad
  • Class 4: Separating Words
Lecture Notes
  • Class 5: Vector Space Model
Lecture Notes
  • Class 6: Clustering 
Lecture Notes
  • Class 7: Topic Models
Lecture Notes
  • Class 8: Supervised Learning 
Lecture Notes
Example Coding Protocol
  • Class 9: SVMs, Ensembles, and Scaling
Lecture Notes

Courses Taught (Graduate Student)

  • Gov 2001: Advanced Quantitative Methodology (Gary King), Spring 2007 
  • Gov 1524: Agenda Setting in Congress (Matthew Platt), Spring 2009  
  • Gov 2010: Quantitative and Qualitative Research Design (Nahomi Ichino and Adam Glynn), Spring 2010
  • Supervisor for summer intern, directing projects on partisan rancor in Congress (Summer 2009)

Lecture Notes

Gov 2010: Concepts, Measurement and Description