This is GVPT 628: Coding for Political Analysis
Instructor Info:
Neil Lund (nlund@umd.edu)
Office 1140C Tydings Hall (in the suite behind the glass doors)
Office Hours: Tu: 3:30 - 5:00, Thu: 11:00 - 12:30, MWF: by appointment
Access to computer with Python and R-Studio
Other materials provided through ELMS or Github
By the end of the semester you should:
Have a basic understanding of R (as well as some basic Python)
Understand how to get from messy real world data to “clean” analyses
Have some materials you can start using to build a portfolio
Most importantly: you should have a solid baseline to develop new skills on your own and collaborate with others.
Pt 1: Basics
Loops and functions
Munging, aggregation, visualization
Survey analysis
Collaboration and presentation
Pt 2: Data collection, cleaning and project management
Automation and replication
Using APIs
Building/using a relational database, basic SQL
Pt 3: Analysis, Machine learning, Prediction
Dimensionality reduction
Inference, prediction, and model comparison
Working with text data
Homework and group assignment (60%)
More or less one a week. Submit on ELMS before class
Must include answers AND code (that works)
Will drop the lowest (if needed)
Participation and engagement (10%)
Final Project (30%)
Your code should run with little-to-no modification from the person attempting to run it. Replicability is key.
I’ll generally leave some notes to highlight issues. “See me” typically sounds more ominous than it is.
Creating an R project
Turning off some settings
Connecting to a Github repository