Skip to content

updates maximum year for demographics to 2047#249

Merged
tomjemmett merged 2 commits intomainfrom
update_max_demographic_year
May 5, 2026
Merged

updates maximum year for demographics to 2047#249
tomjemmett merged 2 commits intomainfrom
update_max_demographic_year

Conversation

@tomjemmett
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 5, 2026 09:07
@tomjemmett tomjemmett requested a review from a team as a code owner May 5, 2026 09:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR increases the supported demographics extract horizon from 2043 to 2047 by updating the shared year-range constant used in model-data generation. In the codebase, that constant feeds the population projection extracts that produce downstream demographic and birth factor tables.

Changes:

  • Increase DEMOGRAPHICS_MAX_YEAR from 2043 to 2047.
  • Extend the year range consumed by model-data extract code that imports this shared helper constant.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/nhp/data/model_data/helpers.py
@tomjemmett tomjemmett linked an issue May 5, 2026 that may be closed by this pull request
@tomjemmett tomjemmett merged commit 7a10a39 into main May 5, 2026
3 checks passed
@tomjemmett tomjemmett deleted the update_max_demographic_year branch May 5, 2026 11:42
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.

Update maximum demographic year to 2047

3 participants