sumSpeciesList: sumSpeciesList: compile species list for each site

View source: R/sumSpeciesList.R

sumSpeciesListR Documentation

sumSpeciesList: compile species list for each site

Description

This function compiles species lists filtered on site, year, panel, QAQC status, and native vs exotic species.

Usage

sumSpeciesList(
  site = "all",
  panel = 1:4,
  years = 2012:format(Sys.Date(), "%Y"),
  QAQC = FALSE,
  species_type = "all"
)

Arguments

site

Character. Filter on site code. Options are "all" (default) or a vector of site codes ranging from "R-01" to "R-40".

panel

Numeric. Filter on panel number. By default, all panels are returned, and can be filtered by numbers 1 to 4.

years

Numeric. Filter on sample year, ranging from 2012 to 2024. By default, all years are returned. Note that years 2011, 2016, 2021, and 5-year intervals of years thereafter are EPA NWCA sites that are not

QAQC

Logical. Include QAQC visits (TRUE) or drop QAQC visits (FALSE; default).

species_type

Character. Options are c("all", "native", "exotic")

Value

Returns a data frame with vegetation MMIs for each site.


KateMMiller/wetlandACAD documentation built on Sept. 29, 2024, 12:54 a.m.