Description Usage Arguments Value Examples
Add a column indicating whether the EPA recreational trehsold was exceeded
1 | add_EPA_recreational_threshold(cyan_data)
|
cyan_data |
a data frame from |
cyan_data with an additional column EPA_REC_EXCEEDED - a logical column indicating whether the applicable EPA recreational treshold was exceeded
1 2 3 4 5 6 7 8 9 10 11 | #Connect to the example database bundled with CyAN
path <- system.file("extdata", "example.db", package = "CyAN")
db_connection <- connect_cyan(path)
#Get all of the data for microcystis and cylindrospermopsin
ks_toxins <- get_cyan_data(db_connection, collect = TRUE,
parameters = c("P0073", "P0074"),
states = "KS")
#Add any applicable recreational for toxins
ks_toxins_wEPA <- add_EPA_recreational_threshold(ks_toxins)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.