Project

General

Profile

« Previous | Next » 

Revision 4080

inputs/SpeciesLink/maps/DwC.specimens.csv: Remapped fieldNumber to recordNumber because term usage was inconsistent with DwC definition. Datasources often confuse this term, because it seems like the collection number, but is actually the author code for the event (VegBank's authorObsCode).

View differences:

DwC.specimens.full.csv
17 17
DecimalLatitude,DecimalLatitude
18 18
DecimalLongitude,DecimalLongitude
19 19
Family,Family
20
FieldNumber,FieldNumber
21 20
Genus,Genus
22 21
GlobalUniqueIdentifier,GlobalUniqueIdentifier
23 22
IdentifiedBy,IdentifiedBy
......
79 78
endDayOfYear,endDayOfYear
80 79
eventTime,eventTime
81 80
family,family
82
fieldNumber,fieldNumber
83 81
genus,genus
84 82
identifiedBy,identifiedBy
85 83
individualCount,individualCount
......
97 95
otherCatalogNumbers,otherCatalogNumbers
98 96
phylum,phylum
99 97
preparations,preparations
100
recordNumber,recordNumber
98
recordNumber,recordNumber/_alt/1,`union` would otherwise remove this input name because it's been mapped to (renamed) above
99
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)
100
-----
101
SELECT count(*) FROM ""SpeciesLink"".specimens
102
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
103
-----"
104
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)
105
-----
106
SELECT count(*) FROM ""SpeciesLink"".specimens
107
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
108
-----"
101 109
recordedBy,recordedBy
102 110
scientificName,scientificName
103 111
scientificNameAuthorship,scientificNameAuthorship

Also available in: Unified diff