check.plot: Create a data frame reporting errors in DIMA plot forms

Description Usage Arguments

View source: R/qaqc.R

Description

Check the plot form tables for errors or incompleteness and return a data frame detailing the errors.

Usage

1
2
3
check.plot(site.table, plot.table, line.table, header.table.lpi,
  header.table.gap, header.table.richness, header.table.soilstability,
  header.table.soilpit, expected.linecount = 3)

Arguments

site.table

Data frame. In DIMA and the output from read.dima(), this is the table called tblSites. Must contain at least the variables "SiteKey" and "SiteID".

plot.table

Data frame. In DIMA and the output from read.dima(), this is the table called tblPlots.

line.table

Data frame. In DIMA and the output from read.dima(), this is the table called tblLines. Must contain at least the variables "PlotKey", "LineKey", and "LineID".

header.table.lpi

Data frame. In DIMA and the output from read.dima(), this is the table called tblLPIHeader. Must contain at least the variables "LineKey" and "RecKey".

header.table.gap

Data frame. In DIMA and the output from read.dima(), this is the table called tblGapHeader. Must contain at least the variables "LineKey" and "RecKey".

header.table.richness

Data frame. In DIMA and the output from read.dima(), this is the table called tblSpecRichHeader. Must contain at least the variables "LineKey" and "RecKey".

header.table.soilstability

Data frame. In DIMA and the output from read.dima(), this is the table called tblSoilStabHeader. Must contain at least the variables "LineKey" and "RecKey".

header.table.soilpit

Data frame. In DIMA and the output from read.dima(), this is the table called tblSoilPits. Must contain at least the variables "PlotKey" and "SoilKey".

expected.linecount

Numeric. The expected number of lines recorded on per plot. Defaults to 3.


nstauffer/dima.tools documentation built on May 20, 2019, 2:09 p.m.