
Validate a Weather Time Series
validate_weather_data.RdChecks that a weather table contains the expected columns, converts the time
column to POSIXct, sorts observations by time, and removes duplicated
timestamps.
Usage
validate_weather_data(
weather,
time_col = "time",
required_cols = c("temp", "rh", "rain", "leaf_wetness")
)