Description Usage Arguments Value
Main routine to format, detect major obvious errors, and gap-fill those errors in ForestGEO-like data.
1 2 3 4 5 6 7 8 9 | prepare_data(
path,
site,
stem = TRUE,
dbh_units = "mm",
exclude_interval = NULL,
keep_columns = c("treeid", "stemid", "tag", "stemtag", "sp", "quadrat", "gx", "gy",
"dbh", "hom", "exactdate", "codes", "dfstatus", "agb", "brokenladder", "fire.code")
)
|
path |
String giving a path to a parent directory containing species and census datasets. |
site |
String giving the name of your site – one of one of
|
stem |
|
dbh_units |
set the unit ("mm" or "cm") of DBH values, by default dbh_units=="mm". |
exclude_interval |
|
keep_column |
character vector containing the name of the columns to keep in the data. Default is: c("treeid", "stemid", "tag", "stemtag", "sp", "quadrat", "gx", "gy", "dbh", "hom", "exactdate", "codes", "dfstatus", "agb", "brokenladder", "fire.code") |
A data.table (data.frame) with all relevant variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.