Skip to content

Small fixes to CPR vax signals to handle cases when fields are not available #1524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 15, 2022

Conversation

nmdefries
Copy link
Contributor

@nmdefries nmdefries commented Feb 14, 2022

Description

  • Prevent error message that "doses administered" is not available before and including Apr 29, 2021. Instead, return empty df (with proper column names).
  • Prevent error message that "fully vaccinated" is not available before and including Apr 11, 2021 for county and msa, and Mar 8 for all regions.
  • Condense field availability checks.
  • Between May 27 and June 21, 2021, the fully vaccinated field for ages 12-17 was reported with the name "People who are fully vaccinated - 12-17". This gets included in the fully vaccinated parsing such that we end up with duplicates for geo value-date combos during that period.

Changelog

  • pull.py:: _parse_sheet

@nmdefries nmdefries changed the title [CPR] Return empty df for "doses administered" before Apr 29 Small fixes to CPR vax signals to handle cases when fields are not available Feb 15, 2022
Copy link
Contributor

@Ananya-Joshi Ananya-Joshi left a comment

Choose a reason for hiding this comment

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

Thank you + discussion on Slack!

@Ananya-Joshi Ananya-Joshi merged commit 8e3b7f8 into dsew_cp_vaccination Feb 15, 2022
@nmdefries nmdefries deleted the ndefries/dsew-generalizations branch February 15, 2022 19:24
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