A function to download state tree databases (ST\_TREE.CSV) from the FIA data mart, found at http://apps.fs.fed.us/fiadb-downloads/datamart.html. This function may take a long time, because the data are large and the FIA Data Mart may be slow. You will receive an immediate error if the data are not available. Header=T is the only paramater passed into the read.csv function, you can pass others after the stateID parameter.
1 | getStateData(stateID)
|
stateID |
The two character state code for the data needed. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.