Project

General

Profile

« Previous | Next » 

Revision 1310

DwC mappings: Moved date _date filter outside _alt so it would run only on the string that was actually chosen, and not produce date format errors when a pre-parsed year/month/day is already available

View differences:

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

Also available in: Unified diff