| GBIFCloning | R Documentation | 
R6 class representing a data structure for a GBIF Cloning augmented data table (based on the Dawrin core)
R6 class representing a data structure for a GBIF Cloning augmented data table (based on the Dawrin core)
The GBIFCloning class allows for the specification of data tables that comply with the Cloning
http://data.ggbn.org/schemas/ggbn/terms/Cloningclass specification of GBIF.
LivingNorwayR::DwCGeneric -> GBIFCloning
LivingNorwayR::DwCGeneric$exportAsDataFrame()LivingNorwayR::DwCGeneric$exportTable()LivingNorwayR::DwCGeneric$getAssociatedTerms()LivingNorwayR::DwCGeneric$getDefaultYearFormat()LivingNorwayR::DwCGeneric$getDwCClassName()LivingNorwayR::DwCGeneric$getDwCTermInfo()LivingNorwayR::DwCGeneric$getIDIndex()LivingNorwayR::DwCGeneric$getIDName()LivingNorwayR::DwCGeneric$getTableName()LivingNorwayR::DwCGeneric$getTableTermName()LivingNorwayR::DwCGeneric$getTermMapping()LivingNorwayR::DwCGeneric$importDataTable()LivingNorwayR::DwCGeneric$print()LivingNorwayR::DwCGeneric$setDefaultYearFormat()LivingNorwayR::DwCGeneric$setTableName()new()Create a new GBIFCloning object
GBIFCloning$new( objectData, idColumnInfo, nameAutoMap = FALSE, defDateFormat = "YYYY-MM-DD", ... )
objectDataA data.frame containing the data to import into the object
idColumnInfoEither a character scalar containing the column name of
objectData or an integer scalar giving the index of the column of
objectData that corresponds to the ID variable.  Alternatively, this parameter
may be the qualified name of the Darwin core term for which the appropriately mapped column
will be used as the ID variable (the possible Darwin core term names can be found by running
names(getGBIFCloningMembers()))
nameAutoMapA logical scalar that if TRUE maps the columns of objectData
to their respective Darwin core terms based on the column names
defDateFormatA character scalar providing the default format for strings denoting dates in the
data table.  See the https://dwc.tdwg.org/text/#1-introductionDarwin Core text guide for expected values
for this string.
...A named set of paramaeters corresponding to Darwin core terms associated with the GBIFCloning
class type.  Each is either a character scalar containing the column name of objectData
or an integer scalar giving the index of the column of objectData that corresponds to the
term. Mappable terms can be found using: sapply(X = getGBIFCloningMembers(), FUN = function(curTerm) { curTerm$getTermName() })
A new GBIFCloning object
clone()The objects of this class are cloneable with this method.
GBIFCloning$clone(deep = FALSE)
deepWhether to make a deep clone.
DwCTerm getGBIFCloningMembers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.