This function reads existing rain data with api_get_rain

api_replace_rain(user_id, spot_id, rain, rain_db = NULL, time_string,
  comment = "")

Arguments

user_id

user identifier

spot_id

bathing spot identifier

rain

data frame with new rain data

rain_db

optional. Data frame with existing rain data

time_string

passed to api_add_rain

comment

passed to api_add_rain