This function calls api_get_timeseries to get rain data records from the "rains" endpoint and calls fhpredict:::remove_and_reorder_columns to order the records chronologically and to select only the relevant columns

api_get_rain(user_id, spot_id)

Arguments

user_id

user id

spot_id

bathing spot id