Project

General

Profile

« Previous | Next » 

Revision 7009

mappings/VegCore-VegBIEN.csv: locationID/locationName + subplot -> location.sourceaccessioncode mapping: Fixed bug where subplot was incorrectly being mapped to this field even when there was no location*. (This field can only be populated if both location* and subplot are specified.) Also only map locationID for this, to avoid inconsistencies where one table supplies locationID+subplot, while another table supplies locationName+subplot, but they both get mapped to the same field, preventing plots from being matched up with their observations when creating the analytical_stem.

View differences:

VegBIEN.csv
17 17
Species Name,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
18 18
Species Name,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/specific_epithet,
19 19
Taxon Obs Note,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/notes,
20
Sub Plot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",
21
Plot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
22
Sub Plot,/location/sourceaccessioncode/_join/2,
20
Sub Plot,"/location/sourceaccessioncode/_if[@name=""if locationID""]/then/_if[@name=""if subplot""]/cond/_exists",
21
Sub Plot,"/location/sourceaccessioncode/_if[@name=""if locationID""]/then/_if[@name=""if subplot""]/then/_join/2",
23 22
Method Name,,** No join mapping for *Method Name ** 
24 23
Parent Plot Obs ID,,** No join mapping for *Parent Plot Obs ID ** 
25 24
Sample Method ID,,** No join mapping for *Sample Method ID ** 

Also available in: Unified diff