sum_WeirData | R Documentation |
summarizes and processes https://www.finsnet.org/ trapping module data for quick dissemination and mark/recapture analysis
sum_WeirData(df)
df |
the data.frame output from |
a list with two objects. 1) a summary data.frame to easily pivot table for counts of fish trapped and their disposition, 2) a data.frame with the number of fish marked and released upstream and any recaptured
con <- RODBC::odbcConnect(dsn = 'Fins', uid = 'guest', pwd = 'guest')
qry <- "SELECT distinct(Facility) FROM FINS_all_trapping"
f <- RODBC::sqlQuery(con, qry) %>% mutate_all(as.character) %>% pull(Facility)
npt_f <- f[grepl('NPT', f)]
df <- get_FinsTrapping(npt_f, odbc_connection = con)
sum_df <- summarise_FinsTrapping(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.