Stephen Roecker, Dylan Beaudette, Jay Skovlin, Skye Wills
6/1/2015
* sorted by database sophistication
library(aqp)
library(soilDB)
library(plyr)
library(ggplot2)
library(reshape2)
library(stringr)
library(knitr)
pedons <- c(577, 6152, 9517, 19058, 42587, 112182, 231609, 184913)
year <- c("<1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s")
cat("# pedons = ", formatC(sum(pedons), big.mark = ",", format = "fg"), "\n", "# lab pedons = ~64,000", sep = "")
# pedons = 606,595
# lab pedons = ~64,000
ggplot(data.frame(pedons, year), aes(x=year, y=pedons)) + geom_bar(stat="identity")
# There has been lots of talk about the number or Soil Series, Components, Map units, etc... but little focus on the point data resource.
# Lots of talk about collecting new data, but little appreciation for existing data.
1. Pencil and paper
2. Excel
3. PedonPC and AnalysisPC (Microsoft Access template)
4. NASIS
5. R
1. SoilWeb
2. Web Soil Survey
3. Soil Data Viewer
4. SSURGO file geodatabases
5. R
* sorted by user sophistication
1. Data is underutilized
2. Inefficient tools
3. Fluid series concepts
4. Vaguely defined uncertainty metrics
5. Data isn't digitized
6. Tools are difficulat (especially R?)
1. standardized R reports
→ extended tutorial for horizon generalization
→ extended tutorial for R reports (Region 11 SharePoint)
A | Bt1 | Bt2 | Cr | Bt3 | R | Oi | Crt | BA | 2Bt3 | |
---|---|---|---|---|---|---|---|---|---|---|
d | 62 | 59 | 58 | 35 | 27 | 22 | 21 | 18 | 11 | 5 |
pattern matching via regular expression (REGEX)
GHL and rules for our sample dataset:
^A$|Ad|Ap
Bt1$
^Bt2$
^Bt3|^Bt4|CBt$|BCt$|2Bt|2CB$|^C$
Cr
R
special characters in REGEX rules:
|
= “or”^
= anchor to left-side$
= anchor to right-side2BCt | 2Bt2 | 2Bt3 | 2Bt4 | 2CB | 2Cr | 2Crt | 2R | A | AB | |
---|---|---|---|---|---|---|---|---|---|---|
A | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 62 | 0 |
Bt1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bt2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bt3 | 1 | 1 | 5 | 4 | 1 | 0 | 0 | 0 | 0 | 0 |
Cr | 0 | 0 | 0 | 0 | 0 | 3 | 1 | 0 | 0 | 0 |
R | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 |
not-used | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Sum | 1 | 1 | 5 | 4 | 1 | 3 | 1 | 2 | 62 | 1 |
Links to Reports and supporting material
Additional AQP Contributors:
Acknowledgements