Project

General

Profile

« Previous | Next » 

Revision 4566

mappings/: Moved year/month/dayCollected mappings from Veg+-VegCore.csv to VegCore-VegBIEN.csv so that Veg+-VegCore.csv contains only renamings, not business logic. Note that this allows the year/month/dayCollected values to bypass the additional _dateRangeStart filter that is applied to text dates. The priority of the plain dateCollected field is now higher than the year/month/dayCollected fields when both are specified, because the dateCollected field presumably contains verbatim text while the year/month/dayCollected fields contain parsed date parts.

View differences:

mappings/Veg+-VegCore.csv
2 2
continentOcean,continent,
3 3
CountryName,country,
4 4
dateCollected/_alt,dateCollected/_alt,
5
dayCollected,"dateCollected/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
6
monthCollected,"dateCollected/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
7
yearCollected,"dateCollected/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
8 5
dateCollected,dateCollected/_alt/2,
9 6
collectedDate,dateCollected/_alt/3,
10 7
identifiedDate,dateIdentified,
inputs/XAL/Specimen/VegBIEN.csv
14 14
stateProvince,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
15 15
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
16 16
continentOcean,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",
17
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
18
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
19
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
17
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
18
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
19
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
20 20
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
21 21
notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
22 22
CollectorNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber/_alt/1,
inputs/NY/Specimen/VegBIEN.csv
16 16
stateProvince,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
17 17
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
18 18
continentOcean,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",
19
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
20
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
21
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
19
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
20
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
21
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
22 22
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
23 23
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_merge/1,
24 24
PlantFungusDescription,"/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_merge/2/_label[label=""plant fungus""]/value",
inputs/NY/Specimen/test.xml.ref
163 163
                <aggregateoccurrence>
164 164
                    <collectiondate>
165 165
                        <_date>
166
                            <date>
167
                                <_date>
168
                                    <day>
169
                                        <_nullIf>
170
                                            <null>0</null>
171
                                            <type>float</type>
172
                                            <value>$DayCollected</value>
173
                                        </_nullIf>
174
                                    </day>
175
                                    <month>
176
                                        <_nullIf>
177
                                            <null>0</null>
178
                                            <type>float</type>
179
                                            <value>$MonthCollected</value>
180
                                        </_nullIf>
181
                                    </month>
182
                                    <year>
183
                                        <_nullIf>
184
                                            <null>0</null>
185
                                            <type>float</type>
186
                                            <value>$YearCollected</value>
187
                                        </_nullIf>
188
                                    </year>
189
                                </_date>
190
                            </date>
166
                            <day>
167
                                <_nullIf>
168
                                    <null>0</null>
169
                                    <type>float</type>
170
                                    <value>$DayCollected</value>
171
                                </_nullIf>
172
                            </day>
173
                            <month>
174
                                <_nullIf>
175
                                    <null>0</null>
176
                                    <type>float</type>
177
                                    <value>$MonthCollected</value>
178
                                </_nullIf>
179
                            </month>
180
                            <year>
181
                                <_nullIf>
182
                                    <null>0</null>
183
                                    <type>float</type>
184
                                    <value>$YearCollected</value>
185
                                </_nullIf>
186
                            </year>
191 187
                        </_date>
192 188
                    </collectiondate>
193 189
                    <count>$IndividualCount</count>
inputs/UNCC/Specimen/VegBIEN.csv
4 4
county,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",
5 5
state,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
6 6
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
7
collday,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
8
collmonth,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
9
collyear,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
7
collday,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
8
collmonth,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
9
collyear,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
10 10
comment1,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_merge/1,
11 11
comment2,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_merge/2,
12 12
comment3,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_merge/3,
inputs/UNCC/Specimen/test.xml.ref
38 38
                <aggregateoccurrence>
39 39
                    <collectiondate>
40 40
                        <_date>
41
                            <date>
42
                                <_date>
43
                                    <day>
44
                                        <_nullIf>
45
                                            <null>0</null>
46
                                            <type>float</type>
47
                                            <value>$collday</value>
48
                                        </_nullIf>
49
                                    </day>
50
                                    <month>
51
                                        <_nullIf>
52
                                            <null>0</null>
53
                                            <type>float</type>
54
                                            <value>$collmonth</value>
55
                                        </_nullIf>
56
                                    </month>
57
                                    <year>
58
                                        <_nullIf>
59
                                            <null>0</null>
60
                                            <type>float</type>
61
                                            <value>$collyear</value>
62
                                        </_nullIf>
63
                                    </year>
64
                                </_date>
65
                            </date>
41
                            <day>
42
                                <_nullIf>
43
                                    <null>0</null>
44
                                    <type>float</type>
45
                                    <value>$collday</value>
46
                                </_nullIf>
47
                            </day>
48
                            <month>
49
                                <_nullIf>
50
                                    <null>0</null>
51
                                    <type>float</type>
52
                                    <value>$collmonth</value>
53
                                </_nullIf>
54
                            </month>
55
                            <year>
56
                                <_nullIf>
57
                                    <null>0</null>
58
                                    <type>float</type>
59
                                    <value>$collyear</value>
60
                                </_nullIf>
61
                            </year>
66 62
                        </_date>
67 63
                    </collectiondate>
68 64
                    <notes>
inputs/REMIB/Specimen/VegBIEN.csv
6 6
county,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",
7 7
state,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
8 8
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
9
coll_day,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
10
coll_month,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
11
coll_year,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
9
coll_day,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
10
coll_month,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
11
coll_year,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
12 12
acronym,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_join/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
13 13
accession_number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
14 14
specificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/plantconcept/plantname_id/_simplifyPath:[next=parent_id]/path/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",
inputs/REMIB/Specimen/test.xml.ref
52 52
                <aggregateoccurrence>
53 53
                    <collectiondate>
54 54
                        <_date>
55
                            <date>
56
                                <_date>
57
                                    <day>
58
                                        <_nullIf>
59
                                            <null>0</null>
60
                                            <type>float</type>
61
                                            <value>$coll_day</value>
62
                                        </_nullIf>
63
                                    </day>
64
                                    <month>
65
                                        <_nullIf>
66
                                            <null>0</null>
67
                                            <type>float</type>
68
                                            <value>$coll_month</value>
69
                                        </_nullIf>
70
                                    </month>
71
                                    <year>
72
                                        <_nullIf>
73
                                            <null>0</null>
74
                                            <type>float</type>
75
                                            <value>$coll_year</value>
76
                                        </_nullIf>
77
                                    </year>
78
                                </_date>
79
                            </date>
55
                            <day>
56
                                <_nullIf>
57
                                    <null>0</null>
58
                                    <type>float</type>
59
                                    <value>$coll_day</value>
60
                                </_nullIf>
61
                            </day>
62
                            <month>
63
                                <_nullIf>
64
                                    <null>0</null>
65
                                    <type>float</type>
66
                                    <value>$coll_month</value>
67
                                </_nullIf>
68
                            </month>
69
                            <year>
70
                                <_nullIf>
71
                                    <null>0</null>
72
                                    <type>float</type>
73
                                    <value>$coll_year</value>
74
                                </_nullIf>
75
                            </year>
80 76
                        </_date>
81 77
                    </collectiondate>
82 78
                    <plantobservation>
inputs/FIA/Organism/VegBIEN.csv
7 7
county,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",
8 8
stateProvince,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
9 9
PlotCD,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode",
10
MeasDay,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
11
MeasMon,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
12
MeasYear,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
10
MeasDay,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
11
MeasMon,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
12
MeasYear,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
13 13
basalDiameter,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/basaldiameter,
14 14
DBH,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/diameterbreastheight,
15 15
height,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/height,
inputs/FIA/Organism/test.xml.ref
41 41
                <aggregateoccurrence>
42 42
                    <collectiondate>
43 43
                        <_date>
44
                            <date>
45
                                <_date>
46
                                    <day>
47
                                        <_nullIf>
48
                                            <null>0</null>
49
                                            <type>float</type>
50
                                            <value>$MeasDay</value>
51
                                        </_nullIf>
52
                                    </day>
53
                                    <month>
54
                                        <_nullIf>
55
                                            <null>0</null>
56
                                            <type>float</type>
57
                                            <value>$MeasMon</value>
58
                                        </_nullIf>
59
                                    </month>
60
                                    <year>
61
                                        <_nullIf>
62
                                            <null>0</null>
63
                                            <type>float</type>
64
                                            <value>$MeasYear</value>
65
                                        </_nullIf>
66
                                    </year>
67
                                </_date>
68
                            </date>
44
                            <day>
45
                                <_nullIf>
46
                                    <null>0</null>
47
                                    <type>float</type>
48
                                    <value>$MeasDay</value>
49
                                </_nullIf>
50
                            </day>
51
                            <month>
52
                                <_nullIf>
53
                                    <null>0</null>
54
                                    <type>float</type>
55
                                    <value>$MeasMon</value>
56
                                </_nullIf>
57
                            </month>
58
                            <year>
59
                                <_nullIf>
60
                                    <null>0</null>
61
                                    <type>float</type>
62
                                    <value>$MeasYear</value>
63
                                </_nullIf>
64
                            </year>
69 65
                        </_date>
70 66
                    </collectiondate>
71 67
                    <plantobservation>
inputs/U/Specimen/VegBIEN.csv
4 4
Lat,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",
5 5
Long,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",
6 6
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
7
Colldd,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
8
Collmm,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
9
Collyy,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
7
Colldd,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
8
Collmm,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
9
Collyy,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
10 10
notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
11 11
Number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber/_alt/2,
12 12
Barcode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
inputs/U/Specimen/test.xml.ref
50 50
                <aggregateoccurrence>
51 51
                    <collectiondate>
52 52
                        <_date>
53
                            <date>
54
                                <_date>
55
                                    <day>
56
                                        <_nullIf>
57
                                            <null>0</null>
58
                                            <type>float</type>
59
                                            <value>$Colldd</value>
60
                                        </_nullIf>
61
                                    </day>
62
                                    <month>
63
                                        <_nullIf>
64
                                            <null>0</null>
65
                                            <type>float</type>
66
                                            <value>$Collmm</value>
67
                                        </_nullIf>
68
                                    </month>
69
                                    <year>
70
                                        <_nullIf>
71
                                            <null>0</null>
72
                                            <type>float</type>
73
                                            <value>$Collyy</value>
74
                                        </_nullIf>
75
                                    </year>
76
                                </_date>
77
                            </date>
53
                            <day>
54
                                <_nullIf>
55
                                    <null>0</null>
56
                                    <type>float</type>
57
                                    <value>$Colldd</value>
58
                                </_nullIf>
59
                            </day>
60
                            <month>
61
                                <_nullIf>
62
                                    <null>0</null>
63
                                    <type>float</type>
64
                                    <value>$Collmm</value>
65
                                </_nullIf>
66
                            </month>
67
                            <year>
68
                                <_nullIf>
69
                                    <null>0</null>
70
                                    <type>float</type>
71
                                    <value>$Collyy</value>
72
                                </_nullIf>
73
                            </year>
78 74
                        </_date>
79 75
                    </collectiondate>
80 76
                    <notes>$Notes</notes>
inputs/ARIZ/Specimen/VegBIEN.csv
20 20
stateProvince,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
21 21
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
22 22
continentOcean,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",
23
VerbatimCollectingDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/0,
24
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
25
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
26
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
23
VerbatimCollectingDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1/_*/date/_alt/0,
24
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
25
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
26
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
27 27
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
28 28
fieldNotes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
29 29
collectorNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber/_alt/1,
inputs/ARIZ/Specimen/test.xml.ref
184 184
            <taxonoccurrence>
185 185
                <aggregateoccurrence>
186 186
                    <collectiondate>
187
                        <_date>
188
                            <date>
189
                                <_alt>
190
                                    <0>$VerbatimCollectingDate</0>
191
                                    <1>
192
                                        <_date>
193
                                            <day>
194
                                                <_nullIf>
195
                                                    <null>0</null>
196
                                                    <type>float</type>
197
                                                    <value>$DayCollected</value>
198
                                                </_nullIf>
199
                                            </day>
200
                                            <month>
201
                                                <_nullIf>
202
                                                    <null>0</null>
203
                                                    <type>float</type>
204
                                                    <value>$MonthCollected</value>
205
                                                </_nullIf>
206
                                            </month>
207
                                            <year>
208
                                                <_nullIf>
209
                                                    <null>0</null>
210
                                                    <type>float</type>
211
                                                    <value>$YearCollected</value>
212
                                                </_nullIf>
213
                                            </year>
214
                                        </_date>
215
                                    </1>
216
                                </_alt>
217
                            </date>
218
                        </_date>
187
                        <_alt>
188
                            <1><_date><date>$VerbatimCollectingDate</date></_date></1>
189
                            <2>
190
                                <_date>
191
                                    <day>
192
                                        <_nullIf>
193
                                            <null>0</null>
194
                                            <type>float</type>
195
                                            <value>$DayCollected</value>
196
                                        </_nullIf>
197
                                    </day>
198
                                    <month>
199
                                        <_nullIf>
200
                                            <null>0</null>
201
                                            <type>float</type>
202
                                            <value>$MonthCollected</value>
203
                                        </_nullIf>
204
                                    </month>
205
                                    <year>
206
                                        <_nullIf>
207
                                            <null>0</null>
208
                                            <type>float</type>
209
                                            <value>$YearCollected</value>
210
                                        </_nullIf>
211
                                    </year>
212
                                </_date>
213
                            </2>
214
                        </_alt>
219 215
                    </collectiondate>
220 216
                    <count>$IndividualCount</count>
221 217
                    <notes>$FieldNotes</notes>
inputs/GBIF/Specimen/VegBIEN.csv
14 14
county,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",
15 15
stateProvince,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
16 16
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
17
LatestDateCollected,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/2,
17
LatestDateCollected,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1/_*/date/_alt/2,
18 18
CatalogNO,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
19 19
CollectionCD,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_join/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
20 20
InstitutionCD,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
inputs/NCU-NCSC/Specimen/VegBIEN.csv
9 9
county,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",
10 10
state,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
11 11
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
12
Collect Date,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/3,
12
Collect Date,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1/_*/date/_alt/3,
13 13
Barcode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
14 14
SeriesName,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_join/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
15 15
Accession Number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
inputs/SpeciesLink/Specimen/VegBIEN.csv
28 28
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
29 29
continent,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",
30 30
continentOcean,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",
31
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
32
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
33
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
31
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
32
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
33
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
34 34
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
35 35
notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
36 36
collectorNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber/_alt/1,
inputs/SpeciesLink/Specimen/test.xml.ref
278 278
                <aggregateoccurrence>
279 279
                    <collectiondate>
280 280
                        <_date>
281
                            <date>
282
                                <_date>
283
                                    <day>
284
                                        <_nullIf>
285
                                            <null>0</null>
286
                                            <type>float</type>
287
                                            <value>$conceptual_darwin_2003_1_0_DayCollected</value>
288
                                        </_nullIf>
289
                                    </day>
290
                                    <month>
291
                                        <_nullIf>
292
                                            <null>0</null>
293
                                            <type>float</type>
294
                                            <value>$conceptual_darwin_2003_1_0_MonthCollected</value>
295
                                        </_nullIf>
296
                                    </month>
297
                                    <year>
298
                                        <_nullIf>
299
                                            <null>0</null>
300
                                            <type>float</type>
301
                                            <value>$conceptual_darwin_2003_1_0_YearCollected</value>
302
                                        </_nullIf>
303
                                    </year>
304
                                </_date>
305
                            </date>
281
                            <day>
282
                                <_nullIf>
283
                                    <null>0</null>
284
                                    <type>float</type>
285
                                    <value>$conceptual_darwin_2003_1_0_DayCollected</value>
286
                                </_nullIf>
287
                            </day>
288
                            <month>
289
                                <_nullIf>
290
                                    <null>0</null>
291
                                    <type>float</type>
292
                                    <value>$conceptual_darwin_2003_1_0_MonthCollected</value>
293
                                </_nullIf>
294
                            </month>
295
                            <year>
296
                                <_nullIf>
297
                                    <null>0</null>
298
                                    <type>float</type>
299
                                    <value>$conceptual_darwin_2003_1_0_YearCollected</value>
300
                                </_nullIf>
301
                            </year>
306 302
                        </_date>
307 303
                    </collectiondate>
308 304
                    <count>
inputs/MO/Specimen/VegBIEN.csv
13 13
stateProvince,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
14 14
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
15 15
continentOcean,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",
16
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
17
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
18
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
16
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
17
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
18
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
19 19
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
20 20
convertednotes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
21 21
notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
inputs/MO/Specimen/test.xml.ref
141 141
                <aggregateoccurrence>
142 142
                    <collectiondate>
143 143
                        <_date>
144
                            <date>
145
                                <_date>
146
                                    <day>
147
                                        <_nullIf>
148
                                            <null>0</null>
149
                                            <type>float</type>
150
                                            <value>$DayCollected</value>
151
                                        </_nullIf>
152
                                    </day>
153
                                    <month>
154
                                        <_nullIf>
155
                                            <null>0</null>
156
                                            <type>float</type>
157
                                            <value>$MonthCollected</value>
158
                                        </_nullIf>
159
                                    </month>
160
                                    <year>
161
                                        <_nullIf>
162
                                            <null>0</null>
163
                                            <type>float</type>
164
                                            <value>$YearCollected</value>
165
                                        </_nullIf>
166
                                    </year>
167
                                </_date>
168
                            </date>
144
                            <day>
145
                                <_nullIf>
146
                                    <null>0</null>
147
                                    <type>float</type>
148
                                    <value>$DayCollected</value>
149
                                </_nullIf>
150
                            </day>
151
                            <month>
152
                                <_nullIf>
153
                                    <null>0</null>
154
                                    <type>float</type>
155
                                    <value>$MonthCollected</value>
156
                                </_nullIf>
157
                            </month>
158
                            <year>
159
                                <_nullIf>
160
                                    <null>0</null>
161
                                    <type>float</type>
162
                                    <value>$YearCollected</value>
163
                                </_nullIf>
164
                            </year>
169 165
                        </_date>
170 166
                    </collectiondate>
171 167
                    <count>$IndividualCount</count>
inputs/VegBank/taxonobservation_/VegBIEN.csv
3 3
observation_id,"/location/locationevent/_if[@name=""if subplot""]/else/sourceaccessioncode",
4 4
observation_id,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists/_first/1",
5 5
observation_id,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/sourceaccessioncode",
6
collectiondate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/3,
6
collectiondate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1/_*/date/_alt/3,
7 7
notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
8 8
museumaccessionnumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
9 9
authorplantname,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/1,
mappings/VegCore-VegBIEN.csv
70 70
silt,/location/locationevent/soilobs/silt,
71 71
sodium,/location/locationevent/soilobs/sodium,
72 72
texture,/location/locationevent/soilobs/texture,
73
dateCollected,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date,
73
dateCollected,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1/_*/date,
74
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
75
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
76
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
74 77
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
75 78
coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover,
76 79
censusNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue",
mappings/Veg+-VegBIEN.csv
112 112
silt,/location/locationevent/soilobs/silt,
113 113
sodium,/location/locationevent/soilobs/sodium,
114 114
texture,/location/locationevent/soilobs/texture,
115
dateCollected/_alt,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt,
116
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
117
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
118
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
119
dateCollected,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/2,
120
collectedDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/3,
115
dateCollected/_alt,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1/_*/date/_alt,
116
dateCollected,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1/_*/date/_alt/2,
117
collectedDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/1/_*/date/_alt/3,
118
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
119
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
120
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
121 121
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
122 122
coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover,
123 123
censusNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue",
mappings/for_review/VegCore-VegBIEN.csv
71 71
sodium,//soilobs/sodium,
72 72
texture,//soilobs/texture,
73 73
dateCollected,//aggregateoccurrence/collectiondate/_*/date,
74
dayCollected,//aggregateoccurrence/collectiondate,
75
monthCollected,//aggregateoccurrence/collectiondate,
76
yearCollected,//aggregateoccurrence/collectiondate,
74 77
individualCount,//aggregateoccurrence/count,
75 78
coverPercent,//aggregateoccurrence/cover,
76 79
censusNumber,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]/definedvalue",
mappings/for_review/Veg+-VegCore.csv
2 2
continentOcean,continent,
3 3
CountryName,country,
4 4
dateCollected/_alt,dateCollected/_alt,
5
dayCollected,dateCollected,
6
monthCollected,dateCollected,
7
yearCollected,dateCollected,
8 5
dateCollected,dateCollected,
9 6
collectedDate,dateCollected,
10 7
identifiedDate,dateIdentified,
mappings/Veg+-VegCore.to_self.csv
2 2
continentOcean,continent,
3 3
CountryName,country,
4 4
dateCollected/_alt,dateCollected/_alt,
5
dayCollected,"dateCollected/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
6
monthCollected,"dateCollected/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
7
yearCollected,"dateCollected/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
8 5
dateCollected,dateCollected/_alt/2,
9 6
collectedDate,dateCollected/_alt/3,
10 7
identifiedDate,dateIdentified,

Also available in: Unified diff