epiverse-trace / episoap

[Not published - under active development] A Store of Outbreak Analytics Pipelines Provided as Rmarkdown Report Templates
https://epiverse-trace.github.io/episoap/
Other
5 stars 2 forks source link

"i_recent" incidence object #145

Closed CarmenTamayo closed 5 months ago

CarmenTamayo commented 5 months ago

On the transmissibility template, there's a section (growth rate and R) where incidence2 is used to generate daily incidence data, while also removing latest data points, defined by params$incomplete_days

There seem to be two chunks of code doing the same thing, one using some functionality from i2extras:

https://github.com/epiverse-trace/episoap/blob/a48b6a9750aed9cee734f3154fddf0daa3570bea/inst/rmarkdown/templates/transmissibility/skeleton/skeleton.Rmd#L443

Is this correct? could we get rid of the first chunk of code since the object i_recent is not subsequently used?

CarmenTamayo commented 5 months ago

This has been removed in #144 for now