Project

General

Profile

« Previous | Next » 

Revision 7216

input.Makefile: Maps validation: %/new_terms.csv: Filter out terms that map to UNUSED, because these are not mappings that are useful as VegCore synonyms

View differences:

inputs/XAL/Specimen/new_terms.csv
19 19
darwin:DayIdentified,dayIdentified,,
20 20
darwin:TypeStatus,typeStatus,,
21 21
darwin:CollectorNumber,recordNumber,,
22
darwin:FieldNumber,UNUSED,,This historical DwC term (http://rs.tdwg.org/dwc/terms/history/index.htm#fieldNumber-2009-04-24) has close to the same meaning as recordNumber (http://rs.tdwg.org/dwc/terms/#recordNumber).
23 22
darwin:Collector,recordedBy,,
24 23
darwin:YearCollected,yearCollected,,
25 24
darwin:MonthCollected,monthCollected,,
......
33 32
darwin:Locality,locality,,
34 33
darwin:Longitude,decimalLongitude,,
35 34
darwin:Latitude,decimalLatitude,,
36
darwin:CoordinatePrecision,UNUSED,,
37 35
darwin:MinimumElevation,minimumElevationInMeters,,
38 36
darwin:MaximumElevation,maximumElevationInMeters,,
39 37
darwin:MinimumDepth,minimumDepthInMeters,,
inputs/XAL/new_terms.csv
5 5
darwin:Collector,recordedBy,,
6 6
darwin:CollectorNumber,recordNumber,,
7 7
darwin:ContinentOcean,continent,,
8
darwin:CoordinatePrecision,UNUSED,,
9 8
darwin:Country,country,,
10 9
darwin:County,county,,
11 10
darwin:DateLastModified,modified,,
12 11
darwin:DayCollected,dayCollected,,
13 12
darwin:DayIdentified,dayIdentified,,
14 13
darwin:Family,family,,
15
darwin:FieldNumber,UNUSED,,This historical DwC term (http://rs.tdwg.org/dwc/terms/history/index.htm#fieldNumber-2009-04-24) has close to the same meaning as recordNumber (http://rs.tdwg.org/dwc/terms/#recordNumber).
16 14
darwin:Genus,genus,,
17 15
darwin:IdentifiedBy,identifiedBy,,
18 16
darwin:IndividualCount,individualCount,,
inputs/CTFS/new_terms.csv
1
InfraSpecificLevel,UNUSED,,
2 1
MeasureID,individualID,,
3 2
SizeOfSite,plotArea_ha,,"""Size in hectares"" (SizeOfSite comments in <https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/inputs/CTFS/_src/ctfs-comments_worksheet.xls>)"
4 3
SpeciesAuthority,scientificNameAuthorship,,
inputs/CTFS/TaxonOccurrence/new_terms.csv
1
InfraSpecificLevel,UNUSED,,
2 1
SpeciesAuthority,scientificNameAuthorship,,
inputs/U/Specimen/new_terms.csv
1 1
Barcode,catalogNumber,,
2
Prefix,UNUSED,,
3 2
Number,recordNumber,,
4
Suffix,UNUSED,,
5 3
Addcoll,recordedBy,/_join/2,
6 4
Colldd,dayCollected,,
7 5
Collmm,monthCollected,,
8 6
Collyy,yearCollected,,
9
DateInfo,UNUSED,,
10 7
cf,identificationQualifier,,
11 8
Detby,identifiedBy,,
12 9
Detyy,yearIdentified,,
inputs/U/new_terms.csv
3 3
Colldd,dayCollected,,
4 4
Collmm,monthCollected,,
5 5
Collyy,yearCollected,,
6
DateInfo,UNUSED,,
7 6
Detby,identifiedBy,,
8 7
Detyy,yearIdentified,,
9 8
Ecology,habitat,,
......
14 13
Newgazett,verbatimLocality,"/_join/1/_label[label=""gazetteer""]/value/_join/2",Only used in 1 row
15 14
Number,recordNumber,,
16 15
Phenology,reproductiveCondition,,
17
Prefix,UNUSED,,
18
Suffix,UNUSED,,
19 16
cf,identificationQualifier,,
inputs/input.Makefile
338 338
	$(bin)/autoremove $@
339 339
newTerms = tail -n +2 $<|$(bin)/filter_out_ci 0 $(vocab)|$(bin)/filter_out_ci 0\
340 340
$(dict) $(if $(wildcard $(word 4,$+)),|$(bin)/filter_out_ci 0 $(word 4,$+))\
341
|grep -vE '^"?:' >$@; exit 0# because grep exits nonzero if no match
341
|grep -vE -e '^"?:' -e 'UNUSED' >$@; exit 0 # grep exits nonzero if no match
342 342

  
343 343
termsSubdirs := $(importTables)
344 344

  
inputs/CVS/new_terms.csv
20 20
denorm_species,specificEpithet,/_alt/1,
21 21
denorm_triAbbr,*triAbbr,/_alt/1,
22 22
denorm_triName,*triName,/_alt/1,
23
elevationRange,UNUSED,,
24 23
exchangeCapacity,cationExchangeCapacity_cmol_kg,,
25 24
givenName,recordedBy_givenName,,
26 25
interpretationDate,dateIdentified,,
inputs/CVS/plot_/new_terms.csv
4 4
confidentialityStatus,coordinateUncertaintyInMeters,"/_alt/1/_km_to_m/value/_map:[1=1,2=10,3=100,./{0,4,5,6}=]/value",Values defined at <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1581&entity=dba_fielddescription&params=1581>
5 5
shape,footprintWKT,,
6 6
area,plotArea_m2,,"""Total area of the plot in m2"" (area definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename>)"
7
elevationRange,UNUSED,,
8 7
area|country|territory,country,,
9 8
region|state|province,stateProvince,,
inputs/ARIZ/Specimen/new_terms.csv
1 1
CatalogNumberNumeric,catalogNumber,/_alt/1,
2 2
TimeCollected,eventTime,,
3 3
VerbatimCollectingDate,dateCollected,/_alt/0,
4
HorizontalDatum,UNUSED,,
5 4
OriginalCoordinateSystem,verbatimSRS,,
6 5
GeorefMethod,georeferenceProtocol,,
7 6
LatLongComments,georeferenceRemarks,,
8 7
IdentificationModifier,identificationQualifier,,
9
Tissues,UNUSED,,
10 8
AgeClass,lifeStage,,
11 9
GenBankNum,associatedSequences,"/_label[label=""GenBank""]/value",
12 10
RelatedCatalogedItems,relatedResourceID,/_alt/2,Used only when OtherCatalogNumbers is NULL
inputs/ARIZ/new_terms.csv
2 2
CatalogNumberNumeric,catalogNumber,/_alt/1,
3 3
GenBankNum,associatedSequences,"/_label[label=""GenBank""]/value",
4 4
GeorefMethod,georeferenceProtocol,,
5
HorizontalDatum,UNUSED,,
6 5
IdentificationModifier,identificationQualifier,,
7 6
LatLongComments,georeferenceRemarks,,
8 7
OriginalCoordinateSystem,verbatimSRS,,
9 8
RelatedCatalogedItems,relatedResourceID,/_alt/2,Used only when OtherCatalogNumbers is NULL
10 9
TimeCollected,eventTime,,
11
Tissues,UNUSED,,
12 10
VerbatimCollectingDate,dateCollected,/_alt/0,
inputs/VegBank/new_terms.csv
4 4
confidentialitystatus,accessRights,"/_map:[./{0,1,2,3,4}=public,5=""data by request"",6=private]/value",Values defined at <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1581&entity=dba_fielddescription&params=1581>
5 5
confidentialitystatus,coordinateUncertaintyInMeters,"/_alt/1/_km_to_m/value/_map:[1=1,2=10,3=100,./{0,4,5,6}=]/value",Values defined at <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1581&entity=dba_fielddescription&params=1581>
6 6
cover,coverPercent,,
7
elevationrange,UNUSED,,
8 7
exchangecapacity,cationExchangeCapacity_cmol_kg,,
9 8
givenname,recordedBy_givenName,,
10 9
interpretationdate,dateIdentified,,
inputs/VegBank/plot_/new_terms.csv
4 4
confidentialitystatus,coordinateUncertaintyInMeters,"/_alt/1/_km_to_m/value/_map:[1=1,2=10,3=100,./{0,4,5,6}=]/value",Values defined at <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1581&entity=dba_fielddescription&params=1581>
5 5
shape,footprintWKT,,
6 6
area,plotArea_m2,,"""Total area of the plot in m2"" (area definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename>)"
7
elevationrange,UNUSED,,
8 7
area|country|territory,country,,
9 8
region|state|province,stateProvince,,

Also available in: Unified diff