Project

General

Profile

« Previous | Next » 

Revision 7475

mappings/Makefile: VegCore.csv: Fixed bug where need to remove duplicates, which are no longer supported by canon, by removing alternatives of ambiguous terms when these occur separately from their definitions

View differences:

mappings/VegCore.csv
29 29
samplingEffort
30 30
observationGranularity
31 31
observationMeasure
32
observationType_SALVIAS
33
observationType_BIEN2
34 32
projectID
35 33
projectName
36 34
projectStartDate
......
54 52
decimalLongitude
55 53
acceptedDecimalLongitude
56 54
coordinateSource
57
PRIVATE
58
PRIVATE
59 55
longitude_DMS
60 56
latitude_DMS
61 57
verbatimCoordinates
......
193 189
communityID
194 190
communityName
195 191
occurrenceID
196
globalUniqueIdentifier_DwC
197 192
globalUniqueIdentifier_SpeciesLink
198 193
datasetRecordID
199 194
datasourceRecordID
200 195
occurrenceRemarks
201 196
recordNumber
202
fieldNumber_DwC_curatorial
203
fieldNumber_DwC_terms
204 197
recordedBy
205 198
recordedBy_givenName
206 199
recordedBy_middleName
......
260 253
originalGenus
261 254
subgenus
262 255
specificEpithet
263
species_DwC
264
species_VegBank
265 256
acceptedSpecificEpithet
266 257
originalSpecificEpithet
267 258
morphospecies
......
353 344
canopyPosition
354 345
lianaInfestation
355 346
organismNotes
356
fieldNotes_DwC_curatorial
357
fieldNotes_DwC_terms
358
notes_SALVIAS
359
notes_Madidi
360 347
stemID
361 348
stemTag
362 349
authorStemCode
mappings/Makefile
28 28
	php -r 'fpassthru(fopen("https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore", "r"));' >$@
29 29

  
30 30
VegCore.csv: VegCore.htm
31
	(echo VegCore; $(sed) -n 's/^.*<h[24][^>]*><a href="#[^>]+>(([a-z]|[A-Z]{2})[^<]*).*$$/\1/p')\
31
	(echo VegCore; $(sed) -n 's/^.*<h[24][^>]*><a [^>]*>(([a-z]|[A-Z]{2})[^<]*)<\/a><a href="#[^"-]+".*$$/\1/p')\
32 32
<$< >$@
33 33

  
34 34
Veg+-VegCore.csv: VegCore.htm

Also available in: Unified diff