YOWNplot_WSC | R Documentation |
Plots YOWN data alongside WSC stations, in m asl. Only works for stations that have values in the "Elevation" field in their Aquarius information page.
YOWNplot_WSC(
YOWNindex,
WSCindex,
title = "YOWN wells vs. WSC Sites",
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")) |
WSCindex |
Character vector of WSC site IDs (eg. c("09AB004", "09AH001")) |
title |
The title you wish to see on the plot as character vector. |
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 |
The URL for your organization's Aquarius web server. Default is for the Yukon Water Resources Branch. 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.