Skip to content

Instantly share code, notes, and snippets.

@larsvilhuber
Created March 29, 2024 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsvilhuber/ff47504d215e0f208fa035627c61acdc to your computer and use it in GitHub Desktop.
Save larsvilhuber/ff47504d215e0f208fa035627c61acdc to your computer and use it in GitHub Desktop.
Checks and controls in Stata data flow
. *Check sample sizes
. qui desc using ${scratch}/simple2010
. assert r(N)==1941473
. qui desc using ${scratch}/simple2018
. assert r(N)==2011482
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment