Repository navigation
Add the year of death from ppathl.todjahr - #108
Merged
Merged
Conversation
Clean SOEP ppathl.todjahr into year_of_death, a time-invariant integer. Both missing codes become missing: -2 (not known to be deceased) and -1 (deceased, year unknown). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QikUNrBdk7tPGjgDTTMPUz
Documentation build overview
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
MImmesberger
approved these changes
Nov 17, 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.
Adds
year_of_deathto theppathlcleaning, from SOEPppathl.todjahr(four-digit year of death). It is time-invariant. Both SOEP missing codes become missing:-2: not known to be deceased (alive, or dropped out with unknown whereabouts);-1: known to be deceased, year unknown.Coding as documented in SOEP Survey Papers 1546 (SOEP-Core v40.1, ppathl).
The catalogue entry in
variable_to_metadata_mapping.yamlwas written by hand (int16[pyarrow], survey years 1984–2024, the same asyear_of_immigration), since I could not run the pipeline on the raw data. The metadata gate will flag it on the next data run if the generated entry differs.https://claude.ai/code/session_01QikUNrBdk7tPGjgDTTMPUz