tidy_fia | R Documentation |
This function queries the FIA database, by state abbreviation(s) or area of interest,and returns a list of tidy data objects including the TREE, PLOT, COND, and SURVEY tables.
tidy_fia(
states = NULL,
aoi = NULL,
postgis = TRUE,
table_names = c("plot", "subplot", "cond", "tree", "survey"),
file_dir = tempdir()
)
states |
a character vector of state abbreviations, ignored if
|
aoi |
sf object containing area of interest |
postgis |
logical if true, query PostGIS database instead of downloading csvs from FIA Datamart. |
table_names |
list of FIA tables to download. Tables must be identified by their 'Oracle Table Name' as described in the 'Index of Tables' in FIADB User Guide. |
file_dir |
path to directory in which to download CSV files from the Datamart. If the files are already present in this folder, the existing files will be used. |
a list object containing tidy data
Henry Rodman, Brian Clough
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.