Data Management Pillar
Import, types, joins, reshape, dates, and key validation patterns.
Start Here
merge in Stata: 1:1, m:1, 1:m with Match Audits
Use merge stata in Stata with full runnable code, realistic panel variables, and QA checks before downstream estimation.
import excel in Stata: Clean Types, Headers, Ranges, and Dates
Use import excel stata in Stata with full runnable code, realistic panel variables, and QA checks before downstream estimation.
append in Stata: Stack Datasets Safely with Variable Alignment Checks
Use append stata in Stata with full runnable code, realistic panel variables, and QA checks before downstream estimation.
Missing Values in Stata: ., .a-.z, and Safe Recode Rules
Use missing values stata in Stata with full runnable code, realistic panel variables, and QA checks before downstream estimation.
bysort in Stata: Reusable Within-Group Transform Patterns
Use bysort stata in Stata with full runnable code, realistic panel variables, and QA checks before downstream estimation.
Duplicates in Stata: report/list/drop with an Audit Checklist
Use duplicates drop stata in Stata with full runnable code, realistic panel variables, and QA checks before downstream estimation.
tostring in Stata: Convert Without Breaking IDs and Merges
Use tostring stata in Stata with full runnable code, realistic panel variables, and QA checks before downstream estimation.
recode in Stata: Safer Category Edits and Missing Handling
Use recode stata in Stata with full runnable code, realistic panel variables, and QA checks before downstream estimation.