Skip to content

Updates socialmixr interface using survey_pop and wpp2024#157

Open
avallecam wants to merge 7 commits into
mainfrom
dev/survey-pop-wpp2024
Open

Updates socialmixr interface using survey_pop and wpp2024#157
avallecam wants to merge 7 commits into
mainfrom
dev/survey-pop-wpp2024

Conversation

@avallecam

Copy link
Copy Markdown
Member
  • Please check if the PR fulfills these requirements
  • I have read the CONTRIBUTING guidelines
  • Checks have been run locally and pass

avallecam and others added 3 commits June 11, 2026 17:34
… POLYMOD sections

Use explicit UK (and Zambia) population from wpp2024::popAge1dt via survey_pop
instead of relying on survey-derived demography from return_demography = TRUE.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…d wpp2024 survey_pop

Replace deprecated socialmixr::polymod with contactsurveys::download_survey() +
socialmixr::load_survey(), fix age.limits -> age_limits, and add wpp2024::popAge1dt
population via survey_pop to align with the episode pattern.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

🆗 Pre-flight checks passed 😃

This pull request has been checked and contains no modified workflow files or spoofing.

Results of any additional workflows will appear here when they are done.

avallecam and others added 2 commits June 11, 2026 18:50
…compare-interventions

Makes wpp2024 dependency explicit in every episode that loads popAge1dt, and fills
the missing contactsurveys library call in compare-interventions.Rmd setup chunk.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
contactsurveys is on CRAN; wpp2024 installs from PPgp/wpp2024 on GitHub.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@avallecam avallecam changed the title Upadtes socialmixr interface using survey_pop and wpp2024 Updates socialmixr interface using survey_pop and wpp2024 Jun 11, 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.

1 participant