traitdataform icon indicating copy to clipboard operation
traitdataform copied to clipboard

functionality to add occurence and measurement level information

Open fdschneider opened this issue 8 years ago • 1 comments

feeding in a data table to link to measurementID or occurenceID or locationID (for georeferencing exploratories data).

fdschneider avatar Jul 11 '17 11:07 fdschneider

This requires a merge() method for traitdata. The y argument is a defined data.table containing standard columns and the by argument would be the unique Identifier, e.g. measurementID, occurrenceID.

For the different types of data, a different behaviour is neccessary:

  • traitID can be used to add own standard values, would be used to acheive traitID standardization? prompts standardize.traits() ?? some redundancy in logic!
  • taxonID, would be used if merging own Std entries. would overwrite entries created by standardize.taxonomy()
  • measurement ID should overwrite existing entries, e.g. traitUnit
  • occurrenceID can overwrite existing entries of occurrence extension
  • datasetID can be used to add metadata
  • eventID, locationID have overlapping scope

fdschneider avatar Nov 03 '17 16:11 fdschneider