KWB-R / fhpredict

R Package for the Project Flusshygiene
https://kwb-r.github.io/fhpredict
MIT License
2 stars 0 forks source link

predict quality makes prediction where it shouldn't #72

Open wseis opened 4 years ago

wseis commented 4 years ago

predict quality is supposed to make predicitons based on the data of the previous days. it seems like it only looks at the rows ot the datatable and not on the actual date which is written there. The function works if the date is e.g.:

2020-06-16, value, 2020-06-13, value 2020-06-12, value

in my opinion is should return an error.