Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added censor variable + extracted km cohort #16

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

marrpesce
Copy link
Collaborator

To create the KM cohort:

  • I added to the dataset_definition_snapshot.py the first deregistration date after the snapshot date
  • I added to the data_combined table
    • the death_date and dereg_date to build the censor variable
      • I can combine them on a collective censor variable if needed
    • the start_date (=snapshot_date)and end_date (= next_campaign_date)
  • I updated the report_snapshot to save the data_combined table as km_cohort.csv
    • Should we drop the ID variable?
  • I didn't modify the project.yaml file, but we should modify the output to highly_sensitive since it includes the km_cohort.csv

@marrpesce marrpesce requested a review from wjchulme January 20, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants