Update stata do files to use new analysis data and allow for do files to run in isolation from Stata - #41
Merged
Merged
Conversation
NKeleher
marked this pull request as ready for review
January 20, 2026 19:49
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
krojas01
approved these changes
Jan 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Summary 🚀
What does this PR do? 📝
Update the
data/raw/sample_data.csvthat @krojas01 created in #29 (I fixed the duplicates for ease of runningjust stata-runbut am including adata/raw/sample_data_with_duplicates.csvfor use in training and demostrations.I also made several fixes to the do files in
do_filesso that each do file can run in isolation either from Stata or using nbstata in VS Code.Why is this change needed? 🤔
Allow for more elaborate data pipeline demonstrations/training exercises and make it easier for users to work with individual do files from Stata or from VS Code.
How was this implemented? 🛠️
STANDALONE INITIALIZATIONsection in each do file that allows each do file to run independently if they don't want to run the do file viado_files/00_run.doHow to test or reproduce? 🧪
just stata-runScreenshots (if applicable) 📷
Checklist ✅
Reviewer Emoji Legend
:code::smiley::+1::100:...and I want the author to know it! This is a way to highlight positive parts of a code review.
:star: :star: :star:And I am providing reasons why it needs to be addressed as well as suggested improvements.
:star: :star:And I am providing suggestions where it could be improved either in this PR or later.
:star:...and consider this a suggestion, not a requirement.
:question:This should be a fully formed question with sufficient information and context that requires a response.
:memo::pick:This does not require any changes and is often better left unsaid. This may include stylistic, formatting, or organization suggestions and should likely be prevented/enforced by linting if they really matter.
:recycle:Should include enough context to be actionable and not be considered a nitpick.