Add DuToit's Pan data from Doug
addDuToitCounts.Rd
This function is used to attach data from DuToit's Pan that Doug Harebottle provided and that are not on the CWAC database.
Arguments
- counts
A dataframe with CWAC data coming out of
getCwacSppCounts
SAFRING reference number of the species we want to add data to.- config
A list with pipeline configuration parameters. See
configPipeline
.
Examples
if (FALSE) {
config <- configPipeline(
year = 2021,
dur = 29,
mod_file = "cwac_ssm_two_season_mean_rev.R",
package = "jagsUI",
data_dir = NULL,
out_dir = NULL,
server = FALSE
)
site_code <- 28462448
counts <- CWAC::getCwacSiteCounts(site_code)
complete_counts <- addDuToitCounts(counts, config)
}