Project

General

Profile

« Previous | Next » 

Revision 1307

mappings/DwC1-DwC2.specimens.csv: Map year/month/day of 0 to NULL

View differences:

DwC-VegBIEN.specimens.no_empty.csv
34 34
verbatimLongitude,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{locationdetermination[!namedplace_id]/longitude,centerlongitude}/_alt/2/_nullIf:[null=0,type=float]/value",,82
35 35
EventDate,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate,,44
36 36
eventDate/_alt,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping,44
37
DayCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/1/_date/day,,44
38
MonthCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/1/_date/month,,44
39
YearCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/1/_date/year,,44
37
DayCollected,"/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,44
38
MonthCollected,"/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,44
39
YearCollected,"/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,44
40 40
eventDate,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/2/_*/date,,44
41 41
MaximumDepth,/*_id/taxonoccurrence/*_id/locationevent/waterdepth/_avg/max,,75
42 42
MaximumDepthInMeters,/*_id/taxonoccurrence/*_id/locationevent/waterdepth/_avg/max,,75
......
49 49
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
50 50
DateIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate",,120
51 51
dateIdentified/_alt,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt",Allow datasource to define custom dateIdentified mappings that don't pass through the default dateIdentified mapping,120
52
DayIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/1/_date/day",,120
53
MonthIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/1/_date/month",,120
54
YearIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/1/_date/year",,120
52
DayIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,120
53
MonthIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,120
54
YearIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,120
55 55
dateIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/*_id/plantname/rank=Binomial]/determinationdate/_alt/2/_*/date",,120
56 56
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
57 57
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

Also available in: Unified diff