CDCgov / ww-inference-model

An in-development R package and a Bayesian hierarchical model jointly fitting multiple "local" wastewater data streams and "global" case count data to produce nowcasts and forecasts of both observations
https://cdcgov.github.io/ww-inference-model/
Apache License 2.0
17 stars 2 forks source link

Fix error messaging if accidentally pass data beyond forecast date #202

Closed kaitejohnson closed 1 month ago

kaitejohnson commented 1 month ago

Goal

Currently errors saying data is out of frame. We want to be more explicit, tell the user the data goes beyond the forecast date.