View source: R/snowbasinaverage_function.R
snow_basin_average | R Documentation |
Function for returning the SBI for a specific subset of sites that you manually determine
snow_basin_average( sites, date_sbi, incorrect_sites = NA, incorrect_data = NA, force = FALSE, ask = FALSE, ... )
sites |
String of site IDs that you want to calculate SBI values for |
date_sbi |
date of the SBI you want to retrieve ("YYYY-mm-dd") |
incorrect_sites |
Site ID's for manual sites with incorrect data. Defaults to NA. |
incorrect_data |
Corrected data for manual sites that have incorrect data. Defaults to NA. |
force |
Whether all of the data should be recalculated rather than retrieved from the statistics data cache. Defaults to FALSE or no. |
ask |
Whether to ask the user to create a data cache directory. Defaults to FALSE or no. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.