Project

General

Profile

« Previous | Next » 

Revision 4630

inputs/SpeciesLink/Specimen/map.csv: Removed no longer needed duplicate entries for each first letter case, which cause duplicate output mappings now that join is case- and punctuation-insensitive. Note that the `svn diff` hides _alt entry 0, which contains one of the removed duplicate columns that appears in the diff.

View differences:

inputs/SpeciesLink/Specimen/map.csv
11 11
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
12 12
-----"
13 13
recordNumber,recordNumber/_alt/1,
14
fieldNumber,recordNumber/_alt/2,"Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
15
-----
16
SELECT count(*) FROM ""SpeciesLink"".specimens
17
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
18
-----"
19 14
dc_terms_modified,dcterms:modified,
inputs/SpeciesLink/Specimen/map.full.csv
52 52
SELECT count(*) FROM ""SpeciesLink"".specimens
53 53
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
54 54
-----"
55
fieldNumber,recordNumber/_alt/2,"Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
56
-----
57
SELECT count(*) FROM ""SpeciesLink"".specimens
58
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
59
-----"
60 55
CollectorNumber,recordNumber/_alt/3,
61 56
recordedBy,recordedBy
62 57
remarks,remarks
inputs/SpeciesLink/Specimen/VegBIEN.csv
39 39
SELECT count(*) FROM ""SpeciesLink"".specimens
40 40
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
41 41
-----"
42
fieldNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber/_alt/2,"Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
43
-----
44
SELECT count(*) FROM ""SpeciesLink"".specimens
45
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
46
-----"
47 42
CollectorNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber/_alt/3,
48 43
sex,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/definedvalue[*_id/userdefined[tablename=plantobservation,userdefinedname=sex]]:[@fkey=tablerecord_id]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections"
49 44
catalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
......
57 52
SELECT count(*) FROM ""SpeciesLink"".specimens
58 53
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
59 54
-----"
60
fieldNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_alt/2,"Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
61
-----
62
SELECT count(*) FROM ""SpeciesLink"".specimens
63
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
64
-----"
65 55
CollectorNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_alt/3,
66 56
scientificName,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/2,
67 57
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/party/givenname/_namePart/first,
inputs/SpeciesLink/Specimen/test.xml.ref
315 315
                                                <0>$dwc_curatorial_FieldNumber</0>
316 316
                                                <1>$dwc_terms_fieldNumber</1>
317 317
                                                <2>$conceptual_darwin_2003_1_0_FieldNumber</2>
318
                                                <3>$dwc_curatorial_FieldNumber</3>
319
                                                <4>$dwc_terms_fieldNumber</4>
320
                                                <5>$conceptual_darwin_2003_1_0_FieldNumber</5>
321 318
                                            </_alt>
322 319
                                        </2>
323 320
                                        <3>
......
388 385
                                                <0>$dwc_curatorial_FieldNumber</0>
389 386
                                                <1>$dwc_terms_fieldNumber</1>
390 387
                                                <2>$conceptual_darwin_2003_1_0_FieldNumber</2>
391
                                                <3>$dwc_curatorial_FieldNumber</3>
392
                                                <4>$dwc_terms_fieldNumber</4>
393
                                                <5>$conceptual_darwin_2003_1_0_FieldNumber</5>
394 388
                                            </_alt>
395 389
                                        </2>
396 390
                                        <3>
inputs/SpeciesLink/Specimen/unmapped_terms.csv
6 6
recordNumber/_alt/3
7 7
recordNumber/_alt/2
8 8
recordNumber/_alt/1
9
recordNumber/_alt/2
10 9
dcterms:modified

Also available in: Unified diff