Add Rain Data Frame to Postgres Database Via API
api_add_rain(user_id, spot_id, rain, time_string = "12:00:00", comment = NULL)
user_id | user id |
---|---|
spot_id | bathing spot id |
rain | data frame containing rain data (columns |
time_string | time to which rain data values relate, default:
|
comment | character string to be written to the field "comment" of the rain database table. |