Project

General

Profile

« Previous | Next » 

Revision 2250

mappings/DwC2-VegBIEN.specimens.csv: Filter dates through _toTimestamp

View differences:

VegBIEN.specimens.csv
5 5
Country,"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank/_toPlacerank/value=_val]/parent_id""]/namedplace[rank/_toPlacerank/value=country]/placename",Brad: Required; reject record if this field NULL,63
6 6
Lat (-=S),"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{locationdetermination/latitude,centerlatitude}/_toDouble/value/_alt/1/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",,81
7 7
Long (-=W),"/*_id/taxonoccurrence/*_id/locationevent/*_id/location/{locationdetermination/longitude,centerlongitude}/_toDouble/value/_alt/1/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",,82
8
Collect Date,"/*_id/taxonoccurrence/*_id/locationevent/{obsstartdate/_*/date/_dateRangeStart,obsenddate/_*/date/_dateRangeEnd}/value/_alt/3",,44
8
Collect Date,"/*_id/taxonoccurrence/*_id/locationevent/{obsstartdate/_toTimestamp/value/_*/date/_dateRangeStart,obsenddate/_toTimestamp/value/_*/date/_dateRangeEnd}/value/_alt/3",,44
9 9
Full Taxon Name,"/*_id/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[],do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname","Brad: Bob, Nick, please is this mapping OK?",134
10 10
Cultivated?,"/*_id/taxonoccurrence/{growthform/_toGrowthform/value/_map:[./{tree,shrub,liana,vine,herb,hemiepiphyte,epiphyte,grass,forb,moss,lichen,fungus,""floating aquatic"",""submerged aquatic""}=*,*=],iscultivated/_toBool/value/_map:[cultivated=t,wild=f,*=],isnative/_toBool/value/_map:[native=t,exotic=f,*=]}/value/_map:[Yes=cultivated,No=wild]/value",,30
11 11
SeriesName,/collectioncode_dwc,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name,12

Also available in: Unified diff