Run read_importrain
for multiple years
Arguments
- yrs
numeric vector of years to download (do not need to be in order)
- quiet
logical passed to
read_importrain
to suppress messages (default)- sleep
numeric number of seconds to pause between years
Value
A data frame identical to that returned by read_importrain
with the years requested
Details
This function is a simple wrapper for read_importrain
to download multiple years of rainfall data from the Southwest Florida Water Management District's (SWFWMD) ftp site: ftp://ftp.swfwmd.state.fl.us/pub/radar_rainfall/Daily_Data/. The function will pause for sleep
seconds between years to avoid overloading the server.
Examples
if (FALSE) { # \dontrun{
read_importrainmany(c(2021, 2022), quiet = F)
} # }