View source: R/fillUniqueIdentifiers.R
fillUniqueIdentifiers | R Documentation |
Generates unique identifiers for plot elements or plot observation elements
fillUniqueIdentifiers(target, element = "plot", replace.existing = FALSE)
target |
The initial object of class |
element |
The Veg-X main element for which unique identifiers are needed: |
replace.existing |
A boolean flag to indicate whether newly generated identifiers should replace existing identifiers. |
The modified object of class VegX
.
Wiser SK, Spencer N, De Caceres M, Kleikamp M, Boyle B & Peet RK (2011). Veg-X - an exchange standard for plot-based vegetation data
Other fill functions:
fillPartyInformation()
,
fillProjectInformation()
# Load source data data(mokihinui) # Create a new Veg-X document with projects, plots and plot observations (no data) mapping = list(projectTitle = "Project", plotName = "Plot", subPlotName = "Subplot", obsStartDate = "PlotObsStartDate", obsEndDate = "PlotObsStopDate") x = addPlotObservations(newVegX(), moki_site, mapping = mapping) # Examine the result showElementTable(x, "plot") # Add unique identifiers y = fillUniqueIdentifiers(x, "plot") # Examine the result showElementTable(y, "plot")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.