Skip to content

Conversation

@nmdefries
Copy link
Contributor

Description

Prevent smoothed indicators from being reported if we don't have the most recent days of data. This prevents 7-day averages from being reported for only 6 days, since weights from FB are delayed a couple days.

Changelog

  • aggregate.R: skip calculation if most-recent weights are earlier than target date
  • weights.R: return date of latest weights file along with the weights
  • run.R and contingency_run.R: update to work with weights.R change.
  • Update tests to work with weights.R change.

Co-authored-by: Alex Reinhart <areinhar@stat.cmu.edu>
@krivard krivard merged commit fffdd82 into main Dec 6, 2021
@krivard krivard deleted the survey-prevent-6d-7dav branch December 6, 2021 16:56
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.

4 participants