Project

General

Profile

« Previous | Next » 

Revision 798

DwC mappings: Fixed syntax of _date XML funcs to not wrap dates twice in a _date func

View differences:

VegBIEN.specimens.csv
8 8
Longitude,/*_id/taxonoccurrence/*_id/locationevent/*_id/location/reallongitude,or decimalLongitude?,82
9 9
MaximumElevation,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/max,elevationrange/_range/to}",,72
10 10
MinimumElevation,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{elevation/_alt/2/_avg/min,elevationrange/_range/from}",,71
11
CollectedDate,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_*/date/_alt/1,,44
12
DayCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_*/date/_alt/2/_date/day,,44
13
MonthCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_*/date/_alt/2/_date/month,,44
14
YearCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_*/date/_alt/2/_date/year,,44
11
DayCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/2/_date/day,,44
12
MonthCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/2/_date/month,,44
13
YearCollected,/*_id/taxonoccurrence/*_id/locationevent/obsstartdate/_alt/2/_date/year,,44
15 14
MaximumDepth,/*_id/taxonoccurrence/*_id/locationevent/waterdepth/max,,75
16 15
MinimumDepth,/*_id/taxonoccurrence/*_id/locationevent/waterdepth/min,,74
17 16
Habitat,"/*_id/taxonoccurrence/aggregateoccurrence/*_id/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=habitat]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?",52
18 17
PlantFungusDescription,"/*_id/taxonoccurrence/aggregateoccurrence/*_id/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=plantFungusDescription]]:[@fkey=tableRecord_ID]/definedvalue",,
19 18
Sex,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]/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
20
IdentifiedDate,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_*/date/_alt/1",,120
21
DayIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_*/date/_alt/2/_date/day",,120
22
MonthIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_*/date/_alt/2/_date/month",,120
23
YearIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_*/date/_alt/2/_date/year",,120
19
IdentifiedDate,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_alt/1/_*/date",,120
20
DayIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_alt/2/_date/day",,120
21
MonthIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_alt/2/_date/month",,120
22
YearIdentified,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_alt/2/_date/year",,120
24 23
IdentifiedBy,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,iscurrent=true]/*_id/party/{givenname/_namePart/first,middlename/_namePart/middle,surname/_namePart/last}",Brad: Bob: does this look correct for VegBank?,119
25 24
Notes,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,iscurrent=true]/notes","Brad: mapping OK; NY appears to be using this field for almost anything, but mostly internal collections notes",54
26 25
ScientificName,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname/_alt/1","Brad: Bob, Nick, please is this mapping OK?",134
......
41 40
BasisOfRecord,,Brad: OMIT? See http://rs.tdwg.org/dwc/terms/index.htm#basisOfRecord for definition of this term.,15
42 41
BoundingBox,,
43 42
CatalogNumber,,"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
43
CollectedDate,,** No join mapping for eventDate/_alt/1 ** 
44 44
ContinentOcean,,Brad: OMIT,59
45 45
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
46 46
IndividualCount,,Brad: OMIT; not relevant for DwC plant specimen data.,25

Also available in: Unified diff