View source: R/sac_year_type_get.R
sac_year_type_get | R Documentation |
sac_year_type_get()
gets the historical record of Sacramento Year Type
indexes, which are required input to CRSS. The function will download them
from http://cdec.water.ca.gov/cgi-progs/iodir/WSIHIST and then parse the
required information. If an internet connection is not available, then the
internal data can be used, but it may not be up-to-date. Additionally, the
index can be obtained from paleo data. For the paleo data, the index is
created from the Sacramento Valley 4 river index volume as reconstructed in
Meko et al. (2018). The WY volume is passed to sac_year_type_calc()
to
compute the index value.
sac_year_type_get(internal = FALSE, paleo = FALSE)
internal |
Boolean. If |
paleo |
Boolean. If |
The "crssio.sac_yt_url" option determines where the function downloads the data from.
xts
object with 1 column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.