Delete Prediction Data from Postgres Database Via API

api_delete_predictions(user_id, spot_id, ids = NULL, dbg = TRUE)

Arguments

user_id

user id

spot_id

bathing spot id

ids

optional. Vector of prediction ids. If not given or NULL (the default) all predictions for the bathing spot are deleted!

dbg

if TRUE debug messages are shown