Convert to water year
water_year.Rd
This function is a little more robust than calcWaterYear
Examples
x <- c("2010-01-01", "1994-02", "1980", "2009-11-01")
water_year(x)
#> Calendar year being reported as water year in row(s) 3
#> [1] 2010 1994 1980 2010