joinSoilSampleData: joinSoilSampleData: compile corrected soil sample data.

Description Usage Value Examples

View source: R/joinSoilSampleData.R

Description

This function verifies whether O and A horizons were named corrected based on the joinSoilLabData() function, then compiles sample depth by horizon. Must run importData first. Note that Earthworms are summarized in joinStandData(). Note that data starts at 2007 because 2006 methods were pretty different.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
joinSoilSampleData(
  park = "all",
  from = 2007,
  to = 2018,
  QAQC = FALSE,
  locType = "VS",
  panels = 1:4,
  output,
  layers = "all",
  ...
)

Value

returns a dataframe containing each plot and visit with soil sample data.Tot_Samp_cm is the total depth of O and A sampled. Litter is not included in total depth calculation. Note soil chemistry data are typically a year behind plot data, so correcteed soil horizon depths will also be a year behind. Plots that weren't sampled during a given cycle are not returned. Horizon depths are averaged across samples of the same horizon type.

Examples

1
2
3
importData() #imports using default odbc
# join horizon dpeth data for most recent cycle in ACAD.
soil_ACAD_O <- joinSoilSampleData(park = 'ACAD', from = 2015, to = 2018)

KateMMiller/forestNETNarch documentation built on Dec. 18, 2021, 2:41 a.m.