Skip to content

INT-Milan: localMappings for 0/1 to yes/no variables - #62

Open
JHogenboom wants to merge 4 commits into
INT-Milanfrom
vibe/add-int-milan-mappings-5d732b
Open

INT-Milan: localMappings for 0/1 to yes/no variables#62
JHogenboom wants to merge 4 commits into
INT-Milanfrom
vibe/add-int-milan-mappings-5d732b

Conversation

@JHogenboom

Copy link
Copy Markdown
Contributor

Summary

  • Add localMappings in databases section for INT-Milan branch
  • Map numeric values 0→no and 1→yes for categorical variables

Changes Made

Variables with 0→no mapping only (16 variables):

  • comorb_mi, comorb_pad, comorb_cva_tia, comorb_hemiplegia
  • comorb_lung, comorb_kidney, comorb_pud, comorb_dementia
  • comorb_ctd, comorb_liver, immunotherapy, hormone_therapy
  • comorb_dm, comorb_chf, comorb_leukemia, comorb_solid_tumour

Variables with 0→no AND 1→yes mappings (6 variables):

  • comorb_aids, radiotherapy, surgery, chemotherapy
  • distant_metastases, targeted_therapy

Variables requiring clarification (tracked separately):

Verification

  • All mappings added to the databases.STRONGAYA_Flyover_DATA_LABELS_2026_08_13_1756.tables.data.columns section
  • Used localMappings structure with schema term keys and numeric value arrays
  • Missing values mapped to empty string for missing_or_unspecified

Closes #61

- Add localMappings for variables needing 0->no mapping:
  comorb_mi, comorb_pad, comorb_cva_tia, comorb_hemiplegia,
  comorb_lung, comorb_kidney, comorb_pud, comorb_dementia,
  comorb_ctd, comorb_liver, immunotherapy, hormone_therapy,
  comorb_dm, comorb_chf, comorb_leukemia, comorb_solid_tumour

- Add localMappings for variables needing 0->no AND 1->yes:
  comorb_aids, radiotherapy, surgery, chemotherapy,
  distant_metastases, targeted_therapy

- Issue #61 created for treatment_intent, survival_status, tumour_size

Closes #61

Co-authored-by: JHogenboom <JHogenboom@users.noreply.github.com>
@JHogenboom JHogenboom changed the title Add INT-Milan localMappings for 0/1 to yes/no variables INT-Milan: localMappings for 0/1 to yes/no variables Aug 24, 2026
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