semi-automated workflow that reads the new wave file, locates and reads the
actual previous wave file (resolved through the recipe's file_pattern,
with the engine's release-version disambiguation), diffs the real variable
suffix sets in both directions, generates a candidate wave_index entry,
checks expected-presence constraints, flags potential boundary breaks, and
prints an onboarding checklist.
Arguments
- recipe_path
character. path to the current canonical YAML recipe.
- new_file
character. path to the new wave data file (.sav, .dta, or .csv).
- prev_wave_id
character. wave id to diff against (e.g.
"ch24q"). ifNULL, the diff step is skipped.- prev_file
character. optional explicit path to the previous wave file. if
NULL, it is resolved via the recipe'sfile_patternforprev_wave_idin the same directory asnew_file.