Project

General

Profile

« Previous | Next » 

Revision 6375

mappings/VegCore-VegBIEN.csv: institutionCode: Remap to source.shortname when specimen information is not provided, as is the case for geoscrub.herbaria on nimoy

View differences:

VegBIEN.csv
8 8
GROUP BY acronym, accession_number
9 9
HAVING count(*) > 1
10 10
-----"
11
acronym,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1",
11
accession_number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/cond/_exists","Not globally unique, only (usually) unique within the institution providing the data (""acronym""). Note that there are nevertheless 11,869 rows where an accession_number appears multiple times within the same institution. [1]
12

  
13
[1] Using the following query:
14
-----
15
SELECT acronym, accession_number, count(*)
16
FROM ""REMIB"".""Specimen""
17
GROUP BY acronym, accession_number
18
HAVING count(*) > 1
19
-----"
20
acronym,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/then",
12 21
accession_number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else","Not globally unique, only (usually) unique within the institution providing the data (""acronym""). Note that there are nevertheless 11,869 rows where an accession_number appears multiple times within the same institution. [1]
13 22

  
14 23
[1] Using the following query:
......
30 39
GROUP BY acronym, accession_number
31 40
HAVING count(*) > 1
32 41
-----"
33
acronym,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/name,
42
accession_number,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/name/_if[@name=""if specimen""]/cond/_exists","Not globally unique, only (usually) unique within the institution providing the data (""acronym""). Note that there are nevertheless 11,869 rows where an accession_number appears multiple times within the same institution. [1]
43

  
44
[1] Using the following query:
45
-----
46
SELECT acronym, accession_number, count(*)
47
FROM ""REMIB"".""Specimen""
48
GROUP BY acronym, accession_number
49
HAVING count(*) > 1
50
-----"
51
acronym,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/name/_if[@name=""if specimen""]/then",
34 52
collector,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
35 53
family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/1/_taxon_family_require_std/family/_nullIf/value",
36 54
genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/2",
......
67 85
county,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
68 86
state,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
69 87
state,/location/locationplace/*_id/place/stateprovince,
88
accession_number,"/source/shortname/_if[@name=""if specimen""]/cond/_exists","Not globally unique, only (usually) unique within the institution providing the data (""acronym""). Note that there are nevertheless 11,869 rows where an accession_number appears multiple times within the same institution. [1]
89

  
90
[1] Using the following query:
91
-----
92
SELECT acronym, accession_number, count(*)
93
FROM ""REMIB"".""Specimen""
94
GROUP BY acronym, accession_number
95
HAVING count(*) > 1
96
-----"
97
acronym,"/source/shortname/_if[@name=""if specimen""]/else",
70 98
lat_min,,** No join mapping for *lat_min ** 
71 99
lat_sec,,** No join mapping for *lat_sec ** 
72 100
long_min,,** No join mapping for *long_min ** 

Also available in: Unified diff