Project

General

Profile

« Previous | Next » 

Revision 6384

mappings/VegCore-VegBIEN.csv: institutionCode: Also map to the sourcename's matched source, which identifies whether the source is a herbarium

View differences:

VegBIEN.csv
40 40
loanto,"/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_join/6/_label[label=""loaned to""]/value",
41 41
inorout,"/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_join/7/_label[label=""in or out""]/value",
42 42
collectno,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber,
43
accession,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/name/_if[@name=""if specimen""]/cond/_exists","Globally unique, although occasionally duplicated. [1]
43
accession,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/_if[@name=""if specimen""]/cond/_exists","Globally unique, although occasionally duplicated. [1]
44 44

  
45 45
[1] Using the following query:
46 46
-----
......
49 49
GROUP BY herbarium, accession
50 50
HAVING count(*) > 1
51 51
-----"
52
herbarium,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/name/_if[@name=""if specimen""]/then",
52
herbarium,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/_if[@name=""if specimen""]/then/matched_source_id/source/shortname",
53
herbarium,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/_if[@name=""if specimen""]/then/name",
53 54
accession,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,"Globally unique, although occasionally duplicated. [1]
54 55

  
55 56
[1] Using the following query:

Also available in: Unified diff