R/predict_quality.R
predict_quality.Rd
If no time period is specified, the function will first check the
measurements for missing E.coli values and do the prediction for the days
for which an E.coli value of -1 has been uploaded. If all E.coli measurements
are valid, the prediction will be done for the current day
(Sys.Date()
).
predict_quality(user_id, spot_id, from = NULL, to = NULL)
user_id | user ID |
---|---|
spot_id | bathing spot ID |
from | Date object or date string in format yyyy-mm-dd giving the first day of the time period to be predicted. |
to | Date object or date string in format yyyy-mm-dd giving the last day of the time period to be predicted. |
list with elements data
, success
, message