View source: R/add_indicator_columns.R
add_indicator_columns | R Documentation |
Add indicator columns to terradat from a template.
add_indicator_columns(
template,
source,
all_indicators,
prefixes_to_zero = c("AH", "FH", "NumSpp", "Spp")
)
template |
String or data frame. A path to a geodatabase containing your template table, or the template table itself. |
source |
String. Name of the layer to be read from the geodatabase, if provided. If "AIM" or "TerrADat", layer TerrADat will be read. |
all_indicators |
Data frame. Indicator data that is missing columns. |
prefixes_to_zero |
Vector of column prefixes to return 0 for rather than NA. Defaults to "AH", "FH", "NumSpp", and "Spp". |
A data frame containing the data from all_indicators, with added NA or 0 columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.