The-Strategy-Unit / The-Strategy-Unit/nhp_data
Outpatients: only keep sushrg_trimmed and imd_quintile in activity with procedures
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2
- Forks
- 3
- Avg merge
- 17h 57m
- Merged PRs (30d)
- 7
Description
Inequalities should only apply for OP activity with procedures, as per methodology outlined in https://github.com/The-Strategy-Unit/nhp_analysis/blob/main/2025-01-09_inequalities-analysis/inequalities_analysis.py
Edit code here: https://github.com/The-Strategy-Unit/nhp_data/blob/59d73f5d30adbd9d188d88fd6ef3e844400787c4/model_data/model_data_extract.py#L135-L153
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with model_data/model_data_extract.py around lines 135-153 and compare the current outpatient activity handling with 2025-01-09_inequalities-analysis/inequalities_analysis.py in the nhp_analysis repository. Confirm the methodology, then update the extraction so only sushrg_trimmed and imd_quintile are retained for outpatient activity with procedures. Done means the resulting activity data follows that stated scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100