Skip to content

General-Directorate-Forestry/tidyFIA

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tidyFIA

Install

At this time you must install the tidyFIA package via GitHub.

devtools::install_github("SilviaTerra/tidyFIA")

Usage

The main function is tidy_fia which will download and import the specified tables from FIADB that correspond to an area of interest represented by a geospatial object in R (class sf) or a list of state abbreviations (e.g. c("CA", "NV")).

To get started you can simply run this example command to get the FIA tables for the state of Minnesota:

mn_data <- tidyFIA::tidy_fia(
  states = "MN"
)

The example will download these tables by default: "PLOT", "SUBPLOT", "COND", "TREE", "SURVEY"

Each table is an element in the list mn_data. To use one of the tables you call them like this:

mn_data[["PLOT"]]
mn_data[["TREE"]]
...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%