dataPurification_ABPSP: standardize and treat the Alberta PSP data

View source: R/AlbertaPSP.R

dataPurification_ABPSPR Documentation

standardize and treat the Alberta PSP data

Description

standardize and treat the Alberta PSP data

Usage

dataPurification_ABPSP(
  treeMeasure,
  plotMeasure,
  tree,
  plot,
  codesToExclude = 3,
  excludeAllObs = TRUE,
  areaDiffThresh = 0.95
)

Arguments

treeMeasure

the tree measurement csv

plotMeasure

the plot_measurement csv

tree

the tree csv

plot

the plot csv

codesToExclude

damage agent codes used to filter tree data - see GOA PSP Manual. Measurements with these codes will be removed

excludeAllObs

if removing observations of individual trees due to damage codes,

areaDiffThresh

the threshold of plot size discrepancy to allow below which plots will be given a new ID column. Expressed as min(PlotSize)/max(PlotSize) remove all prior and future observations if TRUE.

Value

a list of plot and tree data.tables


ianmseddy/PSPclean documentation built on Jan. 7, 2025, 2:24 a.m.