Delete Discharge Data from Postgres Database Via API

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

Arguments

user_id

user id

spot_id

bathing spot id

ids

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

dbg

if TRUE debug messages are shown