Skip to content

Creates initial Nipah workflow#77

Merged
sangeetabhatia03 merged 65 commits intomainfrom
nipah_workflow
Jan 14, 2026
Merged

Creates initial Nipah workflow#77
sangeetabhatia03 merged 65 commits intomainfrom
nipah_workflow

Conversation

@tristan-myles
Copy link
Collaborator

Still a WIP, but the initial skeleton of the work flow is contained in this PR.

  • It adds the following orderly tasks:
  1. nipah_delays
  2. nipah_summary
  3. nipah_supp_tables
  4. nipah_risk_factors
  5. nipah_bsl_data_synthesis
  6. nipah_serology
  7. nipah_map
  • It adds the following data:
  1. shared/nipah_bangladesh_district_data.csv
  2. shared/NIPAH_Bangladesh_IEDCR.csv
  • It updates nipah_functions, with the key changes relating to updating the data_curation and forest_plot functions.

  • It adds Nipah specific cleaning. The order of pathogen specific cleaning is also updated in db_cleaning.

  • The order of parameter mappings are updated in shared/redcap_data/nipah/mapping_table.csv

  • NB, priority-pathogens.Rproj is removed. This file should not be tracked. Please move your local priority-pathogens.Rproj and copy it back into your folder after pulling this code.

tristan-myles and others added 30 commits June 20, 2025 13:47
- parameter_2_sample_paired_upper & parameter_2_sample_paired_lower
  mappings were switched around
- Mostly related to transmission parameters
- CovID: 271
- Quantile not extracted
- Also updates existing Chua incubation period row - moved estimation
  method to parameter 2 since it relates to variability
- This is already done in the nipah cleaning task
- Adds SI plots
- More cleaning and plot restructuring
- NA columns default to logical so cast as numeric
- Also updates missing uncertainty waterfall logic
- Varibility is always included as a dashed line
- Only quantile and range is provided with no central estimate
…hesis and script to run this for the nipah workflow
…tive (this may still cause issues if people run the workflow manually).

Also will still need to add some pre-canned results
- Sorts by colour col and by central if sort=TRUE
Copy link
Collaborator

@sangeetabhatia03 sangeetabhatia03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tristan-myles i have tested that the workflow works for me. I have had to comment out a few lines that left graphic devices open; see commit #d5aa3b49f397e110eee15d5ed333005c635422a9 and make sure that you're happy with the edits.

@sangeetabhatia03 sangeetabhatia03 merged commit 6da2708 into main Jan 14, 2026
1 of 2 checks passed
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.

3 participants