Project

General

Profile

« Previous | Next » 

Revision 4327

mappings/VegCore-VegBIEN.csv: Changed _merge to _join wherever the duplicate-eliminating functionality of _merge is not needed and a simple concatenation of non-NULL values is sufficient

View differences:

VegCore-VegBIEN.csv
10 10
locationID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists",
11 11
fieldNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
12 12
occurrenceID,/location/authorlocationcode/_alt/3,
13
institutionCode,/location/authorlocationcode/_alt/4/_merge/1,
14
collectionCode,/location/authorlocationcode/_alt/4/_merge/2/_merge/1,
15
collectionID,/location/authorlocationcode/_alt/4/_merge/2/_merge/2,
16
voucherType,"/location/authorlocationcode/_alt/4/_merge/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left",
17
catalogNumber,"/location/authorlocationcode/_alt/4/_merge/3/_if[@name=""if indirect voucher""]/else",
13
institutionCode,/location/authorlocationcode/_alt/4/_join/1,
14
collectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1,
15
collectionID,/location/authorlocationcode/_alt/4/_join/2/_join/2,
16
voucherType,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left",
17
catalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else",
18 18
verbatimElevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",
19 19
maximumElevationInMeters,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value",
20 20
minimumElevationInMeters,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value",
......
75 75
individualID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,
76 76
voucherType,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left",
77 77
catalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
78
collectionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_merge/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
79
collectionID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_merge/2,
78
collectionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_join/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
79
collectionID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_join/2,
80 80
institutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
81 81
occurrenceID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
82 82
stemCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemcount,

Also available in: Unified diff