sitereport: Site reporting summary

View source: R/sitereport.R

sitereportR Documentation

Site reporting summary

Description

Generate a simple summary report (as MS Word documents) of captures at a site.

Usage

  sitereport(cesdata, sitelist=NULL, year=0, template_file=NULL, outdir=getwd(), no.species=12, nyears=NA, verbose=TRUE)

Arguments

cesdata

a dataframe generated by readces

sitelist

character, a vector of sitenames for which to generate the reports; NULL and "all" are equivalent

year

specify a year to create a summary by species

template_file

the name of an RMarkdown template file

outdir

where to save the reports to

nyears

numeric, limit the number of years plotted to the number that the site operated, with this as a minimum. For example, if nyears=10 and the site has operated for 15 years, 15 bars (and dots) will be shown, but if the site has only operated for 5 years, then 10 bars will be plotted.

no.species

numeric, maximum number of species to include in the barplots.

verbose

logical, print a message when each site has been processed?

Author(s)

Rob Robinson

Examples

## Not run: 
data(ukdata)
  sitereport(ukdata, sitelist=c('656','420'))

## End(Not run)

btorobrob/cesr documentation built on June 9, 2025, 5:39 a.m.