Data Preparation in Social Science
Import, recode, clean, join, reshape, summarize, and plot research data with R.
Authoring priority
Course 1 · 12 modules · About two hours of study per module
Before you start
Prerequisites: No prior R required.
Module sequence
Choose a module below. Planned modules contain curriculum information only; their lessons are not yet available.
| Module | Focus | Learning goal | Availability |
|---|---|---|---|
| 1 | First Steps in R | Run, save, and explain a short script. | Pilot |
| 2 | Importing and Inspecting Data | Identify observations, variables, types, and import settings. | Planned |
| 3 | Selecting, Filtering, and Sorting Data | Distinguish selecting columns, filtering rows, and ordering observations. | Planned |
| 4 | Creating Variables with Pipes | Read a pipeline and construct variables with explicit definitions. | Planned |
| 5 | Recoding and Handling Missing Values | Recode values and distinguish missing-value definitions. | Planned |
| 6 | Grouping Data, Summaries, and Percentages | Choose grouped summaries and state percentage denominators. | Planned |
| 7 | Plotting Data with ggplot2 | Match ggplot2 plots to distributions and group comparisons. | Planned |
| 8 | Joining Datasets | Identify join keys and anticipate unmatched or repeated records. | Planned |
| 9 | Reshaping Long and Wide Data | Recognize how reshaping changes table structure and observation keys. | Planned |
| 10 | Cleaning Text and Working with Dates | Clean strings and parse dates while checking failed conversions. | Planned |
| 11 | An Integrated Data Preparation Workflow | Locate and repair errors across a data-preparation workflow. | Planned |
| 12 | Data Preparation Project | Turn raw records into an analysis-ready dataset with documented checks. | Planned |