View source: R/YOWNplot_SiteCompare.R
YOWNplot_SiteCompare | R Documentation |
Plots multiple YOWN stations on the same chart
YOWNplot_SiteCompare(
YOWNindex,
tsunit,
chartRange = "all",
chartXInterval = "1 month",
saveTo = "desktop",
login = Sys.getenv(c("AQUSER", "AQPASS")),
server = "https://yukon.aquaticinformatics.net/AQUARIUS"
)
YOWNindex |
Character vector of YOWN site IDs (eg. c("YOWN-2201S", "YOWN-2201D", "YOWN-2202")) |
tsunit |
Desired timeseries for plotting, CHOOSE FROM: "btoc", "bgs", "asl" |
chartRange |
??? |
chartXInterval |
???? |
saveTo |
Location for data files to be saved as a character vector. Default "desktop" is to a new folder on your desktop; "choose" lets you interactively choose your save location. |
login |
Your Aquarius login credentials as a character vector of two (eg. c("cmfische", "password") Default pulls information from your .renviron profile; see details. Passed to |
server |
Defaults to Yukon Water Resources Branch Aquarius web server. Passed to |
To store login credentials in your .renviron profile, call usethis::edit_r_environ()
and enter your username and password as value pairs, as AQUSER="your username" and AQPASS = "your password".
Writes .pdf plot of WSC and YOWN data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.