Project

General

Profile

« Previous | Next » 

Revision 1126

Rename join_sort to join_union_sort and have it run union in ignore mode. This will automatically append the joined map when the input map is a derivative of the joined map, such as for NYBG-DwC.

View differences:

bin/join_sort
1
#!/bin/sh
2
# Inner-joins two map spreadsheets and sorts the output on the output column
3

  
4
selfDir="$(dirname -- "$0")"
5

  
6
"$selfDir/join" "$@"|"$selfDir/sort" 1 0
7 0

  
inputs/input.Makefile
88 88
all += $(autogenMaps)
89 89

  
90 90
maps/VegBIEN.%.csv: maps/$(via).%.csv $(coreMap)
91
	$(root)/bin/join_sort <$+ >$@
91
	$(root)/bin/join_union_sort <$+ >$@
92 92
.PRECIOUS: maps/VegBIEN.%.csv $(coreMap)
93 93

  
94 94
##### Mapping
bin/join_union_sort
1
#!/bin/sh
2
# Inner-joins two map spreadsheets and sorts the output on the output column
3

  
4
selfDir="$(dirname -- "$0")"
5

  
6
"$selfDir/join" "$@"|env ignore=1 "$selfDir/union" "$@"|"$selfDir/sort" 1 0
0 7

  
mappings/DwC1-VegBIEN.specimens.csv
1 1
"DwC1::[@xmlns:dcterms=""http://purl.org/dc/terms/""]/list:[InstitutionCode=$/_ignore/inLabel]/",VegBIEN:/specimenreplicate,Comments,Order
2 2
Country,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination(/*_id/namedplace[placesystem=""area|country|territory""])/placename",Brad: Required; reject record if this field NULL,63
3
country,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination(/*_id/namedplace[placesystem=""area|country|territory""])/placename",Brad: Required; reject record if this field NULL,63
3 4
StateProvince,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination(/*_id/namedplace[placesystem=""region|state|province""])/placename",,65
5
stateProvince,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination(/*_id/namedplace[placesystem=""region|state|province""])/placename",,65
4 6
County,/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination(/*_id/namedplace[placesystem=county])/placename,,66
7
county,/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination(/*_id/namedplace[placesystem=county])/placename,,66
8
coordinatePrecision,/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination[!namedplace_id]/coordsaccuracy,,89
5 9
CoordinatePrecision,/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination[!namedplace_id]/coordsaccuracy/_noCV/value,,89
10
coordinatePrecision/_noCV/value,/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination[!namedplace_id]/coordsaccuracy/_noCV/value,,89
6 11
BoundingBox,/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination[!namedplace_id]/footprintgeometry_dwc,,91
12
footprintWKT,/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination[!namedplace_id]/footprintgeometry_dwc,,91
13
locality,/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationnarrative/_alt/1,,68
7 14
Locality,/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationnarrative/_alt/2,"Brad: Correct for VB; Nick, is there no specific element for locality description in VegX? Definitely need one.",69
15
verbatimLocality,/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationnarrative/_alt/2,"Brad: Correct for VB; Nick, is there no specific element for locality description in VegX? Definitely need one.",69
8 16
MaximumElevation,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}",,72
17
maximumElevationInMeters,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}",,72
9 18
MinimumElevation,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}",,71
19
minimumElevationInMeters,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}",,71
20
decimalLatitude,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{locationdetermination[!namedplace_id]/latitude,centerlatitude}/_alt/1/_nullIf:[null=0,type=float]/value",,85
10 21
Latitude,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{locationdetermination[!namedplace_id]/latitude,centerlatitude}/_alt/2/_nullIf:[null=0,type=float]/value",,81
22
verbatimLatitude,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{locationdetermination[!namedplace_id]/latitude,centerlatitude}/_alt/2/_nullIf:[null=0,type=float]/value",,81
23
decimalLongitude,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{locationdetermination[!namedplace_id]/longitude,centerlongitude}/_alt/1/_nullIf:[null=0,type=float]/value",,86
11 24
Longitude,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{locationdetermination[!namedplace_id]/longitude,centerlongitude}/_alt/2/_nullIf:[null=0,type=float]/value",,82
25
verbatimLongitude,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{locationdetermination[!namedplace_id]/longitude,centerlongitude}/_alt/2/_nullIf:[null=0,type=float]/value",,82
26
habitat,/*_id/taxonoccurrence/*_id/locationevent/commclass/commdetermination/*_id/commconcept/*_id/*/commname,"Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?",52
27
habitat/_merge/1,/*_id/taxonoccurrence/*_id/locationevent/commclass/commdetermination/*_id/commconcept/*_id/*/commname/_merge/1,"Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?",52
28
habitat/_merge/2,/*_id/taxonoccurrence/*_id/locationevent/commclass/commdetermination/*_id/commconcept/*_id/*/commname/_merge/2,"Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?",52
29
bien.substrate,/*_id/taxonoccurrence/*_id/locationevent/landscapenarrative,,
30
eventDate,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate,,44
12 31
DayCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/2/_date/day,,44
32
eventDate/_alt/2/_date/day,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/2/_date/day,,44
13 33
MonthCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/2/_date/month,,44
34
eventDate/_alt/2/_date/month,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/2/_date/month,,44
14 35
YearCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/2/_date/year,,44
36
eventDate/_alt/2/_date/year,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/2/_date/year,,44
15 37
MaximumDepth,/*_id/taxonoccurrence/*_id/locationevent/waterdepth/max,,75
38
maximumDepthInMeters,/*_id/taxonoccurrence/*_id/locationevent/waterdepth/max,,75
16 39
MinimumDepth,/*_id/taxonoccurrence/*_id/locationevent/waterdepth/min,,74
40
minimumDepthInMeters,/*_id/taxonoccurrence/*_id/locationevent/waterdepth/min,,74
17 41
ScientificNameAuthor,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Authority]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname","Brad: Mapping probably incorrect. This DwC element refers to scientific name author; does not correspond to the VegBank and VegX elements you have listed (Bob, Nick�where does name author belong in VegBank and VegX?); Aaron: The mapped VegX element is the author linked to the taxon name, so it seems like this is the scientific name author",153
42
scientificNameAuthorship,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Authority]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname","Brad: Mapping probably incorrect. This DwC element refers to scientific name author; does not correspond to the VegBank and VegX elements you have listed (Bob, Nick�where does name author belong in VegBank and VegX?); Aaron: The mapped VegX element is the author linked to the taxon name, so it seems like this is the scientific name author",153
18 43
Sex,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/definedvalue[*_id/userdefined[tablename=taxondetermination,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",26
44
sex,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/definedvalue[*_id/userdefined[tablename=taxondetermination,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",26
45
dateIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate",,120
19 46
DayIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/2/_date/day",,120
47
dateIdentified/_alt/2/_date/day,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/2/_date/day",,120
20 48
MonthIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/2/_date/month",,120
49
dateIdentified/_alt/2/_date/month,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/2/_date/month",,120
21 50
YearIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/2/_date/year",,120
51
dateIdentified/_alt/2/_date/year,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/2/_date/year",,120
22 52
IdentifiedBy,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]:[determinationtype=Author,iscurrent=true]/*_id/party/{givenname/_namePart/first,middlename/_namePart/middle,surname/_namePart/last}",Brad: Bob: does this look correct for VegBank?,119
53
identifiedBy,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]:[determinationtype=Author,iscurrent=true]/*_id/party/{givenname/_namePart/first,middlename/_namePart/middle,surname/_namePart/last}",Brad: Bob: does this look correct for VegBank?,119
23 54
ScientificName,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname","Brad: Bob, Nick, please is this mapping OK?",134
55
scientificName,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname","Brad: Bob, Nick, please is this mapping OK?",134
24 56
Class,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Class]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,144
57
class,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Class]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,144
25 58
Family,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Family]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,146
59
family,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Family]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,146
26 60
Genus,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Genus]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,147
61
genus,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Genus]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,147
27 62
Kingdom,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Kingdom]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,142
63
kingdom,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Kingdom]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,142
28 64
Order,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Order]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,145
65
order,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Order]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,145
29 66
Species,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Species]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,149
67
specificEpithet,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Species]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,149
30 68
Phylum,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Subkingdom]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,143
69
phylum,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Subkingdom]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,143
31 70
Subspecies,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Subspecies]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,150
71
infraspecificEpithet,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Subspecies]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,150
32 72
Collector,/*_id/taxonoccurrence/verbatimcollectorname,,23
73
recordedBy,/*_id/taxonoccurrence/verbatimcollectorname,,23
33 74
CollectionCode,/collectioncode_dwc,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name,12
75
collectionCode,/collectioncode_dwc,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name,12
76
fieldNotes,/description,,
34 77
Notes,/description/_merge/1,,
78
fieldNotes/_merge/1,/description/_merge/1,,
79
"fieldNotes/_merge/2/_label[label=""plant fungus""]/value","/description/_merge/2/_label[label=""plant fungus""]/value",,
35 80
CatalogNumber,:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/catalognumber_dwc,"Brad: Not sure if mapping correct. Nick, is there an element for institutional accession codes in VegX?; Aaron: This can't be used as the accession code (primary key) because some rows don't have a value for it",20
81
catalogNumber,:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/catalognumber_dwc,"Brad: Not sure if mapping correct. Nick, is there an element for institutional accession codes in VegX?; Aaron: This can't be used as the accession code (primary key) because some rows don't have a value for it",20
36 82
CollectorNumber,:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/collectionnumber/_alt/1,,22
83
recordNumber,:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/collectionnumber/_alt/1,,22
84
collectionID,:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/collectionnumber/_alt/2,,9
37 85
FieldNumber,:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/collectionnumber/_alt/3,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?",53
86
fieldNumber,:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/collectionnumber/_alt/3,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?",53
38 87
InstitutionCode,:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/datasource_id/party/organizationname/_alt/1,,
88
institutionCode,:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/datasource_id/party/organizationname/_alt/1,,
89
occurrenceID,:[datasource_id/party/organizationname/_alt/2=$/_ignore/inLabel]/sourceaccessioncode,"Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key",19
39 90
BasisOfRecord,,Brad: OMIT? See http://rs.tdwg.org/dwc/terms/index.htm#basisOfRecord for definition of this term.,15
40 91
ContinentOcean,,Brad: OMIT,59
41 92
DateLastModified,,"Brad: Mapping to VegX is incorrect. I think is this merely an internal timestamp indicated when record last modified, not necessarily when determination (taxon name) last modified. Probably we should omit this field, although might be useful for updating changed records from this source.",1
......
47 98
RelationshipType,,Brad: OMIT,162
48 99
TimeOfDay,,Brad: OMIT,45
49 100
TypeStatus,,Brad: OMIT (?). Indicates whether this specimen served as type for taxon name. Probably not relevant for BIEN,125
101
acceptedNameUsage,,,135
102
acceptedNameUsageID,,,128
103
associatedMedia,,,36
104
associatedOccurrences,,,38
105
associatedReferences,,,37
106
associatedSequences,,,39
107
associatedTaxa,,,40
108
basisOfRecord,,Brad: OMIT? See http://rs.tdwg.org/dwc/terms/index.htm#basisOfRecord for definition of this term.,15
109
bed,,,117
110
behavior,,,29
111
continent,,Brad: OMIT,59
112
coordinateUncertaintyInMeters,,,88
113
countryCode,,,64
114
dataGeneralizations,,,17
115
datasetID,,,10
116
datasetName,,,13
117
day,,Brad: OMIT,50
118
dcterms:accessRights,,,5
119
dcterms:bibliographicCitation,,,6
120
dcterms:language,,,2
121
dcterms:modified,,"Brad: Mapping to VegX is incorrect. I think is this merely an internal timestamp indicated when record last modified, not necessarily when determination (taxon name) last modified. Probably we should omit this field, although might be useful for updating changed records from this source.",1
122
dcterms:references,,,7
123
dcterms:rights,,,3
124
dcterms:rightsHolder,,,4
125
dcterms:type,,,0
126
disposition,,,33
127
dynamicProperties,,,18
128
earliestAgeOrLowestStage,,,109
129
earliestEonOrLowestEonothem,,,101
130
earliestEpochOrLowestSeries,,,107
131
earliestEraOrLowestErathem,,,103
132
earliestPeriodOrLowestSystem,,,105
133
endDayOfYear,,,47
134
establishmentMeans,,,30
135
eventID,,,41
136
eventRemarks,,,55
137
eventTime,,Brad: OMIT,45
138
footprintSRS,,,92
139
footprintSpatialFit,,,93
140
formation,,,115
141
geodeticDatum,,,87
142
geologicalContextID,,,100
143
georeferenceProtocol,,,96
144
georeferenceRemarks,,,99
145
georeferenceSources,,,97
146
georeferenceVerificationStatus,,,98
147
georeferencedBy,,Brad: Correct for VB. Nick: is there a way to specifically identify this party as collector of a specimen?,94
148
georeferencedDate,,,95
149
group,,,114
150
higherClassification,,,141
151
higherGeography,,,58
152
higherGeographyID,,,57
153
highestBiostratigraphicZone,,,112
154
identificationID,,,118
155
identificationQualifier,,,124
156
identificationReferences,,,121
157
identificationRemarks,,,123
158
identificationVerificationStatus,,,122
159
individualCount,,Brad: OMIT; not relevant for DwC plant specimen data.,25
160
individualID,,"Brad: OMIT; db-specific element, not relevant to VB/VX",24
161
informationWithheld,,,16
162
institutionID,,,8
163
island,,,62
164
islandGroup,,,61
165
latestAgeOrHighestStage,,,110
166
latestEonOrHighestEonothem,,,102
167
latestEpochOrHighestSeries,,,108
168
latestEraOrHighestErathem,,,104
169
latestPeriodOrHighestSystem,,,106
170
lifeStage,,,27
171
lithostratigraphicTerms,,,113
172
locationAccordingTo,,,78
173
locationID,,,56
174
locationRemarks,,,79
175
lowestBiostratigraphicZone,,,111
176
maximumDistanceAboveSurfaceInMeters,,,77
177
measurementAccuracy,,,169
178
measurementDeterminedBy,,,172
179
measurementDeterminedDate,,,171
180
measurementID,,,166
181
measurementMethod,,,173
182
measurementRemarks,,,174
183
measurementType,,,167
184
measurementUnit,,,170
185
measurementValue,,,168
186
member,,,116
187
minimumDistanceAboveSurfaceInMeters,,,76
188
month,,,49
189
municipality,,,67
190
nameAccordingTo,,,138
191
nameAccordingToID,,,131
192
namePublishedIn,,,139
193
namePublishedInID,,,132
194
namePublishedInYear,,,140
195
nomenclaturalCode,,,155
196
nomenclaturalStatus,,,157
197
occurrenceRemarks,,,21
198
occurrenceStatus,,,31
199
originalNameUsage,,,137
200
originalNameUsageID,,,130
201
otherCatalogNumbers,,,34
202
ownerInstitutionCode,,,14
203
parentNameUsage,,,136
204
parentNameUsageID,,,129
205
pointRadiusSpatialFit,,,90
206
preparations,,Brad: OMIT,32
207
previousIdentifications,,Brad: OMIT,35
208
relatedResourceID,,Brad: OMIT,161
209
relationshipAccordingTo,,,163
210
relationshipEstablishedDate,,,164
211
relationshipOfResource,,Brad: OMIT,162
212
relationshipRemarks,,,165
213
reproductiveCondition,,,28
214
resourceID,,,160
215
resourceRelationshipID,,,159
216
samplingEffort,,,43
217
samplingProtocol,,,42
218
scientificNameID,,,127
219
startDayOfYear,,,46
220
subgenus,,,148
221
taxonConceptID,,,133
222
taxonID,,,126
223
taxonRank,,,151
224
taxonRemarks,,,158
225
taxonomicStatus,,,156
226
typeStatus,,Brad: OMIT (?). Indicates whether this specimen served as type for taxon name. Probably not relevant for BIEN,125
227
verbatimCoordinateSystem,,,83
228
verbatimCoordinates,,,80
229
verbatimDepth,,,73
230
verbatimElevation,,,70
231
verbatimEventDate,,,51
232
verbatimSRS,,,84
233
verbatimTaxonRank,,,152
234
vernacularName,,,154
235
waterBody,,,60
236
year,,,48
mappings/Makefile
43 43
joinMaps :=
44 44

  
45 45
DwC1-VegBIEN.specimens.csv: DwC1-DwC2.specimens.csv DwC2-VegBIEN.specimens.csv
46
	$(bin)/join_sort <$+ >$@
46
	$(bin)/join_union_sort <$+ >$@
47 47
joinMaps += DwC1-VegBIEN.specimens.csv
48 48

  
49
DwC-VegBIEN.specimens.csv: DwC1-VegBIEN.specimens.csv DwC2-VegBIEN.specimens.csv
49
DwC-VegBIEN.specimens.csv: DwC2-VegBIEN.specimens.csv DwC1-VegBIEN.specimens.csv
50 50
	$(bin)/union <$+|$(bin)/sort 1 0 >$@
51 51
	$(review)
52 52
joinMaps += DwC-VegBIEN.specimens.csv

Also available in: Unified diff