get_daymet_swe | R Documentation |
Downloads snow-water equivalent data from Daymet
get_daymet_swe(year, tile, out_dir = "data")
year |
|
tile |
|
out_dir |
|
This function creates a text string for the correct URL for each
year/tile combination, which will be passed to utils::download.file()
to
download the data.
More details on arguments:
year
can be a vector of any number of years. It will be combined with
tile
to return all combinations of year
and tile
.
tile
can be a vector of any number of tiles. A figure with the Daymet
tiles can be found
here
Returns character vector with full paths to downloaded files.
## Not run:
get_daymet_swe(year = c(2018, 2019),
tile = c(12095, 12096),
out_dir = tempdir())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.