View source: R/read_importrainmany.R
read_importrainmany | R Documentation |
read_importrain
for multiple yearsRun read_importrain
for multiple years
read_importrainmany(yrs, quiet = FALSE, sleep = 5)
yrs |
numeric vector of years to download (do not need to be in order) |
quiet |
logical passed to |
sleep |
numeric number of seconds to pause between years |
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.
A data frame identical to that returned by read_importrain
with the years requested
## Not run:
read_importrainmany(c(2021, 2022), quiet = F)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.