epiforecasts / covid.german.forecasts

Comparing crowd sourced and model derived forecasts of Covid-19 for Germany and Poland
https://cmmid-lshtm.shinyapps.io/crowd-forecast/
MIT License
4 stars 1 forks source link

Fix get-observations #54

Closed nikosbosse closed 3 years ago

nikosbosse commented 3 years ago

Not 100% sure this is right, but I think it should filter for the target_date, not the actual date. Otherwise there is no way to run this for past target_dates, as the data that is left in is determined by the most recent available date, not the target_date.

This PR therefore changes 'date' to 'target_date' when filtering observations