While fully recognizing (and appreciating!) the fact that Erin is the FIA expert, and will be doing most of the meaningful work with FIA data, I thought I’d do some quick exploratory work to, at the very least, start to nail down the extent within which we are interested in grabbing FIA plot data. Plus, it’s an excuse for me to get more familiar with FIA. Massive disclaimer: I am an extreme FIA novice, so I think I’m doing things correctly here, but I very well might not be. Thoughts/questions/feedback genuinely appreciated!
First things first, I’m going to load in FIA tree and plot data from the states from which we are likely to pull data, due to their proximity to the UWC and Ashley NFs (CO, ID, NV, UT, WY). These data were acquired from the FIA DataMart in CSV format on 3/7/2022 (https://apps.fs.usda.gov/fia/datamart/CSV/datamart_csv.html).
library(knitr)
## Warning: package 'knitr' was built under R version 4.1.2
library(rmarkdown)
library(leaflet)
## Warning: package 'leaflet' was built under R version 4.1.2
library(sf)
## Warning: package 'sf' was built under R version 4.1.2
## Linking to GEOS 3.9.1, GDAL 3.2.1, PROJ 7.2.1
library(viridis)
## Warning: package 'viridis' was built under R version 4.1.2
## Loading required package: viridisLite
## Warning: package 'viridisLite' was built under R version 4.1.2
# read in plot-level data
df.plot.co <- read.csv("S:/ursa/campbell/bwa/data/fia/CO_PLOT.csv")
df.plot.id <- read.csv("S:/ursa/campbell/bwa/data/fia/ID_PLOT.csv")
df.plot.nv <- read.csv("S:/ursa/campbell/bwa/data/fia/NV_PLOT.csv")
df.plot.ut <- read.csv("S:/ursa/campbell/bwa/data/fia/UT_PLOT.csv")
df.plot.wy <- read.csv("S:/ursa/campbell/bwa/data/fia/WY_PLOT.csv")
# read in tree-level data
df.tree.co <- read.csv("S:/ursa/campbell/bwa/data/fia/CO_TREE.csv")
df.tree.id <- read.csv("S:/ursa/campbell/bwa/data/fia/ID_TREE.csv")
df.tree.nv <- read.csv("S:/ursa/campbell/bwa/data/fia/NV_TREE.csv")
df.tree.ut <- read.csv("S:/ursa/campbell/bwa/data/fia/UT_TREE.csv")
df.tree.wy <- read.csv("S:/ursa/campbell/bwa/data/fia/WY_TREE.csv")
Just for s’s and g’s, here’s a quick look at an example of each data frame:
# print out plot-level data frame
paged_table(df.plot.co)
# print out tree-level data frame
paged_table(df.tree.co)