dataPurification_SKPSP: standardize and treat the Saskatchewan PSP data

View source: R/SaskatchewanPSP.R

dataPurification_SKPSPR Documentation

standardize and treat the Saskatchewan PSP data

Description

standardize and treat the Saskatchewan PSP data

Usage

dataPurification_SKPSP(
  SADataRaw,
  plotHeaderRaw,
  measureHeaderRaw,
  treeDataRaw,
  codesToExclude = NULL,
  excludeAllObs = TRUE
)

Arguments

SADataRaw

the tree measurement csv

plotHeaderRaw

the plot header data

measureHeaderRaw

the measurement header raw

treeDataRaw

tree data

codesToExclude

damage agent codes used to filter tree data. Natural or Undetermined = 1, Disease = 2, Insect = 3, Human 4, Wind = 5, Snow = 6, Other Trees = 7, Hail or Ice Storm = 8. Measurements with these codes will be removed

excludeAllObs

if removing observations of individual trees due to damage codes, 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.