| gather_all | R Documentation | 
Given wide format AIM/LMF data, gather gap, vegetation height, LPI, header, IIRH, soil horizon, soil pit summary, soil stability, and species inventory data. Missing tables will be skipped. AIM-type and LMF-type data will both be processed.
gather_all(
  dsn = NULL,
  dflist = NULL,
  outfolder,
  outtype = c("csv", "rdata"),
  verbose = T,
  doLPI = T
)
dsn | 
 Character string. The full filepath and filename (including file extension) of the geodatabase or text file containing thes table of interest. This field is unnecessary if you provide dflist.  | 
dflist | 
 Named list of data frames containing monitoring data. Tables must be named as expected by the individual gather_functions.  | 
outfolder | 
 Character string. Name of a folder to save all output to. If the specified folder does not exist, the function will create it.  | 
outtype | 
 Vector specifying output format, accepting "csv" and "rdata". Defaults to writing both.  | 
verbose | 
 True/False. When true, displays progress information, and reports missing input data.  | 
doLPI | 
 True/False. When false, LPI data will not be gathered. LPI data is large and the gather process is RAM-intensive. This function will function with fewer resources if LPI is run in batches, external to this wrapper.  | 
A list of tall data frames containing reformatted input data.
Other <gather>: 
gather_gap(),
gather_height(),
gather_lpi(),
gather_plot_characterization(),
gather_rangeland_health(),
gather_soil_horizon(),
gather_soil_stability(),
gather_species_inventory()
gather_all(dsn = "Path/To/AIM-LMF_Geodatabase.gdb", outfolder = "output")
names <- sf::st_layers(dsn = "Path/To/AIM-LMF_Geodatabase.gdb")$name
all_data <- sapply(names, function(n){## Gather Height Data
  sf::st_read(dsn = "Path/To/AIM-LMF_Geodatabase.gdb",
  layer = n, quiet = T)
})
gather_all(dflist = all_data, outfolder = "output")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.