Initialize a new DwCGeneric object
Usage
initializeDwCGeneric(
classTermInfo,
associatedTerms,
objectData,
idColumnInfo,
nameAutoMap = FALSE,
...
)
Arguments
- classTermInfo
A
DwCTerm
object containing the term information for the class- associatedTerms
A
list
ofDwCTerm
objects that contain all the terms associated with the class- objectData
A
data.frame
containing the data to import into the object- idColumnInfo
Either a
character
scalar containing the column name ofobjectData
or aninteger
scalar giving the index of the column ofobjectData
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- nameAutoMap
A
logical
scalar that ifTRUE
maps the columns ofobjectData
to their respective Darwin core terms based on the column names- ...
A named set of paramaeters corresponding to Darwin core terms associated with the DwCGeneric class type. Each is either a
character
scalar containing the column name ofobjectData
or aninteger
scalar giving the index of the column ofobjectData
that corresponds to the term.