covid19br / nowcaster

Repository to the R package nowcaster, nowcasting with INLA
https://covid19br.github.io/nowcaster
GNU General Public License v3.0
17 stars 5 forks source link

Last date to nowcast #41

Closed lsbastos closed 6 months ago

lsbastos commented 1 year ago

Need to check the last date in the dataset and the last date in the nowcast estimates. It seems they don't match properly.

rafalopespx commented 1 year ago

The issue is the default configuration for the package is to calculate the maximum amount of cases within the maximum amount of epidemiological weeks, this is done by the workhorses data.w and data.w_no_age and subsequent calculations inside the workhorse nowcasting_inla, a solution is to give a parameter that can flag which kind of week specification is being used, is it using epiweek or taking the date in a standard manner for weeks.

rafalopespx commented 6 months ago

Fixed at #44