View source: R/exportNPSForVeg.R
exportNPSForVeg | R Documentation |
This function exports NETN forest data that are formatted to match flat files that can be imported into the NPSForVeg R package. Abandoned plots, QAQC visits, partial visits (e.g., ACAD-029-2010), and non-VS plots are not included in the export. Note the every year after 2024, the cycles code will need to be updated.
exportNPSForVeg(export = T, path = NA, zip = F, keep = T)
export |
Logical. If TRUE (default), saves formatted csvs to specified path. |
path |
Quoted path to save files to. If not specified, will save to working directory. |
zip |
Logical. If TRUE, exports zip file of csvs with timestamp of date generated. If FALSE (default), exports individual csvs. |
keep |
Logical. If TRUE (default), assigns NPSForVeg objects to global environment. If FALSE, does not return output, which is useful when export = T. |
NPSForVeg flatfiles
## Not run:
# RUN FIRST
library(forestNETN)
importData()
filepath <- "C:/NETN/R_Dev/data/NPSForVeg/NETN"
exportNPSForVeg(export = T, path = filepath, keep = T)
exportNPSForVeg(export = T, path = filepath, keep = F)
exportNPSForVeg(export = T, path = filepath, keep = F, zip = T)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.