waterDayYear | R Documentation |
Compute "water" day and year, based on the end of the typical or legal dry season. This is September 30 in California.
waterDayYear(d, end = "09-30", format = "%Y-%m-%d", tz = "UTC")
d |
anything the can be safely converted to |
end |
"MM-DD" notation for end of water year |
format |
Used in POSIXlt conversion. Default |
tz |
Used in POSIXlt conversion for custom timezone. Default is |
This function doesn't know about leap-years. Probably worth checking.
A data.frame
object with the following
wy |
the "water year" |
wd |
the "water day" |
D.E. Beaudette
# try it
waterDayYear('2019-01-01')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.