Project

General

Profile

« Previous | Next » 

Revision 4021

mappings/DwC2-VegBIEN.specimens.csv: eventDate: Also map to obsstartdate/obsenddate, since the collectiondate is also the event date for specimens data, and for mergability with VegCSV

View differences:

mappings/for_review/DwC2-VegBIEN.specimens.csv
21 21
continent,//locationdetermination/namedplace_id[rank=continent]/placename,
22 22
samplingProtocol,//method/name,
23 23
fieldNumber,//locationevent/authoreventcode,
24
eventDate,//locationevent/obsenddate/_*/date,
25
eventDate,//locationevent/obsstartdate/_*/date,
24 26
eventDate,//aggregateoccurrence/collectiondate/_*/date,
25 27
individualCount,//aggregateoccurrence/count,
26 28
fieldNotes,//aggregateoccurrence/notes,
mappings/DwC.cs-VegBIEN.specimens.csv
31 31
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",
32 32
samplingProtocol,/location/locationevent/*_id/method/name,
33 33
fieldNumber,/location/locationevent/authoreventcode,
34
eventDate/_alt,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
35
dayCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
36
monthCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
37
yearCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
38
eventDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2,
39
collectedDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/3,
40
eventDate/_alt,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
41
dayCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
42
monthCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
43
yearCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
44
eventDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/2,
45
collectedDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/3,
34 46
eventDate/_alt,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
35 47
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
36 48
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
inputs/XAL/test/import.specimens.xml.ref
151 151
        </locationdetermination>
152 152
        <locationevent>
153 153
            <authoreventcode>$FieldNumber</authoreventcode>
154
            <obsenddate>
155
                <_date>
156
                    <date>
157
                        <_dateRangeEnd>
158
                            <value>
159
                                <_alt>
160
                                    <1>
161
                                        <_date>
162
                                            <day>
163
                                                <_nullIf>
164
                                                    <null>0</null>
165
                                                    <type>float</type>
166
                                                    <value>$DayCollected</value>
167
                                                </_nullIf>
168
                                            </day>
169
                                            <month>
170
                                                <_nullIf>
171
                                                    <null>0</null>
172
                                                    <type>float</type>
173
                                                    <value>$MonthCollected</value>
174
                                                </_nullIf>
175
                                            </month>
176
                                            <year>
177
                                                <_nullIf>
178
                                                    <null>0</null>
179
                                                    <type>float</type>
180
                                                    <value>$YearCollected</value>
181
                                                </_nullIf>
182
                                            </year>
183
                                        </_date>
184
                                    </1>
185
                                </_alt>
186
                            </value>
187
                        </_dateRangeEnd>
188
                    </date>
189
                </_date>
190
            </obsenddate>
191
            <obsstartdate>
192
                <_date>
193
                    <date>
194
                        <_dateRangeStart>
195
                            <value>
196
                                <_alt>
197
                                    <1>
198
                                        <_date>
199
                                            <day>
200
                                                <_nullIf>
201
                                                    <null>0</null>
202
                                                    <type>float</type>
203
                                                    <value>$DayCollected</value>
204
                                                </_nullIf>
205
                                            </day>
206
                                            <month>
207
                                                <_nullIf>
208
                                                    <null>0</null>
209
                                                    <type>float</type>
210
                                                    <value>$MonthCollected</value>
211
                                                </_nullIf>
212
                                            </month>
213
                                            <year>
214
                                                <_nullIf>
215
                                                    <null>0</null>
216
                                                    <type>float</type>
217
                                                    <value>$YearCollected</value>
218
                                                </_nullIf>
219
                                            </year>
220
                                        </_date>
221
                                    </1>
222
                                </_alt>
223
                            </value>
224
                        </_dateRangeStart>
225
                    </date>
226
                </_date>
227
            </obsstartdate>
154 228
            <taxonoccurrence>
155 229
                <aggregateoccurrence>
156 230
                    <collectiondate>
inputs/XAL/maps/VegBIEN.specimens.csv
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 17
FieldNumber,/location/locationevent/authoreventcode,
18
DayCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
19
MonthCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
20
YearCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
21
DayCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
22
MonthCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
23
YearCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
18 24
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
19 25
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
20 26
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
inputs/NY/test/import.specimens.xml.ref
166 166
            </namedplace_id>
167 167
        </locationdetermination>
168 168
        <locationevent>
169
            <obsenddate>
170
                <_date>
171
                    <date>
172
                        <_dateRangeEnd>
173
                            <value>
174
                                <_alt>
175
                                    <1>
176
                                        <_date>
177
                                            <day>
178
                                                <_nullIf>
179
                                                    <null>0</null>
180
                                                    <type>float</type>
181
                                                    <value>$DayCollected</value>
182
                                                </_nullIf>
183
                                            </day>
184
                                            <month>
185
                                                <_nullIf>
186
                                                    <null>0</null>
187
                                                    <type>float</type>
188
                                                    <value>$MonthCollected</value>
189
                                                </_nullIf>
190
                                            </month>
191
                                            <year>
192
                                                <_nullIf>
193
                                                    <null>0</null>
194
                                                    <type>float</type>
195
                                                    <value>$YearCollected</value>
196
                                                </_nullIf>
197
                                            </year>
198
                                        </_date>
199
                                    </1>
200
                                </_alt>
201
                            </value>
202
                        </_dateRangeEnd>
203
                    </date>
204
                </_date>
205
            </obsenddate>
206
            <obsstartdate>
207
                <_date>
208
                    <date>
209
                        <_dateRangeStart>
210
                            <value>
211
                                <_alt>
212
                                    <1>
213
                                        <_date>
214
                                            <day>
215
                                                <_nullIf>
216
                                                    <null>0</null>
217
                                                    <type>float</type>
218
                                                    <value>$DayCollected</value>
219
                                                </_nullIf>
220
                                            </day>
221
                                            <month>
222
                                                <_nullIf>
223
                                                    <null>0</null>
224
                                                    <type>float</type>
225
                                                    <value>$MonthCollected</value>
226
                                                </_nullIf>
227
                                            </month>
228
                                            <year>
229
                                                <_nullIf>
230
                                                    <null>0</null>
231
                                                    <type>float</type>
232
                                                    <value>$YearCollected</value>
233
                                                </_nullIf>
234
                                            </year>
235
                                        </_date>
236
                                    </1>
237
                                </_alt>
238
                            </value>
239
                        </_dateRangeStart>
240
                    </date>
241
                </_date>
242
            </obsstartdate>
169 243
            <taxonoccurrence>
170 244
                <aggregateoccurrence>
171 245
                    <collectiondate>
inputs/NY/maps/VegBIEN.specimens.csv
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 17
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",
18
DayCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
19
MonthCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
20
YearCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
21
DayCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
22
MonthCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
23
YearCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
18 24
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
19 25
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
20 26
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
inputs/UNCC/test/import.specimens.xml.ref
29 29
            </namedplace_id>
30 30
        </locationdetermination>
31 31
        <locationevent>
32
            <obsenddate>
33
                <_date>
34
                    <date>
35
                        <_dateRangeEnd>
36
                            <value>
37
                                <_alt>
38
                                    <1>
39
                                        <_date>
40
                                            <day>
41
                                                <_nullIf>
42
                                                    <null>0</null>
43
                                                    <type>float</type>
44
                                                    <value>$collday</value>
45
                                                </_nullIf>
46
                                            </day>
47
                                            <month>
48
                                                <_nullIf>
49
                                                    <null>0</null>
50
                                                    <type>float</type>
51
                                                    <value>$collmonth</value>
52
                                                </_nullIf>
53
                                            </month>
54
                                            <year>
55
                                                <_nullIf>
56
                                                    <null>0</null>
57
                                                    <type>float</type>
58
                                                    <value>$collyear</value>
59
                                                </_nullIf>
60
                                            </year>
61
                                        </_date>
62
                                    </1>
63
                                </_alt>
64
                            </value>
65
                        </_dateRangeEnd>
66
                    </date>
67
                </_date>
68
            </obsenddate>
69
            <obsstartdate>
70
                <_date>
71
                    <date>
72
                        <_dateRangeStart>
73
                            <value>
74
                                <_alt>
75
                                    <1>
76
                                        <_date>
77
                                            <day>
78
                                                <_nullIf>
79
                                                    <null>0</null>
80
                                                    <type>float</type>
81
                                                    <value>$collday</value>
82
                                                </_nullIf>
83
                                            </day>
84
                                            <month>
85
                                                <_nullIf>
86
                                                    <null>0</null>
87
                                                    <type>float</type>
88
                                                    <value>$collmonth</value>
89
                                                </_nullIf>
90
                                            </month>
91
                                            <year>
92
                                                <_nullIf>
93
                                                    <null>0</null>
94
                                                    <type>float</type>
95
                                                    <value>$collyear</value>
96
                                                </_nullIf>
97
                                            </year>
98
                                        </_date>
99
                                    </1>
100
                                </_alt>
101
                            </value>
102
                        </_dateRangeStart>
103
                    </date>
104
                </_date>
105
            </obsstartdate>
32 106
            <taxonoccurrence>
33 107
                <aggregateoccurrence>
34 108
                    <collectiondate>
inputs/UNCC/maps/VegBIEN.specimens.csv
3 3
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",
4 4
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",
5 5
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",
6
collday,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
7
collmonth,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
8
collyear,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
9
collday,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
10
collmonth,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
11
collyear,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
6 12
collday,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
7 13
collmonth,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
8 14
collyear,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
inputs/ACAD/test/import.specimens.xml.ref
73 73
            </namedplace_id>
74 74
        </locationdetermination>
75 75
        <locationevent>
76
            <obsenddate><_date><date><_dateRangeEnd><value><_alt><2>$eventDate</2></_alt></value></_dateRangeEnd></date></_date></obsenddate>
77
            <obsstartdate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></obsstartdate>
76 78
            <taxonoccurrence>
77 79
                <aggregateoccurrence>
78 80
                    <collectiondate><_date><date><_alt><2>$eventDate</2></_alt></date></_date></collectiondate>
inputs/ACAD/maps/VegBIEN.specimens.csv
9 9
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",
10 10
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",
11 11
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",
12
eventDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2,
13
eventDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/2,
12 14
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/2,
13 15
recordNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode/_alt/2,
14 16
id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,
inputs/REMIB/test/import.specimens.xml.ref
51 51
            </namedplace_id>
52 52
        </locationdetermination>
53 53
        <locationevent>
54
            <obsenddate>
55
                <_date>
56
                    <date>
57
                        <_dateRangeEnd>
58
                            <value>
59
                                <_alt>
60
                                    <1>
61
                                        <_date>
62
                                            <day>
63
                                                <_nullIf>
64
                                                    <null>0</null>
65
                                                    <type>float</type>
66
                                                    <value>$coll_day</value>
67
                                                </_nullIf>
68
                                            </day>
69
                                            <month>
70
                                                <_nullIf>
71
                                                    <null>0</null>
72
                                                    <type>float</type>
73
                                                    <value>$coll_month</value>
74
                                                </_nullIf>
75
                                            </month>
76
                                            <year>
77
                                                <_nullIf>
78
                                                    <null>0</null>
79
                                                    <type>float</type>
80
                                                    <value>$coll_year</value>
81
                                                </_nullIf>
82
                                            </year>
83
                                        </_date>
84
                                    </1>
85
                                </_alt>
86
                            </value>
87
                        </_dateRangeEnd>
88
                    </date>
89
                </_date>
90
            </obsenddate>
91
            <obsstartdate>
92
                <_date>
93
                    <date>
94
                        <_dateRangeStart>
95
                            <value>
96
                                <_alt>
97
                                    <1>
98
                                        <_date>
99
                                            <day>
100
                                                <_nullIf>
101
                                                    <null>0</null>
102
                                                    <type>float</type>
103
                                                    <value>$coll_day</value>
104
                                                </_nullIf>
105
                                            </day>
106
                                            <month>
107
                                                <_nullIf>
108
                                                    <null>0</null>
109
                                                    <type>float</type>
110
                                                    <value>$coll_month</value>
111
                                                </_nullIf>
112
                                            </month>
113
                                            <year>
114
                                                <_nullIf>
115
                                                    <null>0</null>
116
                                                    <type>float</type>
117
                                                    <value>$coll_year</value>
118
                                                </_nullIf>
119
                                            </year>
120
                                        </_date>
121
                                    </1>
122
                                </_alt>
123
                            </value>
124
                        </_dateRangeStart>
125
                    </date>
126
                </_date>
127
            </obsstartdate>
54 128
            <taxonoccurrence>
55 129
                <aggregateoccurrence>
56 130
                    <collectiondate>
inputs/REMIB/maps/VegBIEN.specimens.csv
5 5
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",
6 6
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",
7 7
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",
8
coll_day,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
9
coll_month,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
10
coll_year,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
11
coll_day,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
12
coll_month,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
13
coll_year,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
8 14
coll_day,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
9 15
coll_month,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
10 16
coll_year,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
inputs/U/test/import.specimens.xml.ref
49 49
            </namedplace_id>
50 50
        </locationdetermination>
51 51
        <locationevent>
52
            <obsenddate>
53
                <_date>
54
                    <date>
55
                        <_dateRangeEnd>
56
                            <value>
57
                                <_alt>
58
                                    <1>
59
                                        <_date>
60
                                            <day>
61
                                                <_nullIf>
62
                                                    <null>0</null>
63
                                                    <type>float</type>
64
                                                    <value>$Colldd</value>
65
                                                </_nullIf>
66
                                            </day>
67
                                            <month>
68
                                                <_nullIf>
69
                                                    <null>0</null>
70
                                                    <type>float</type>
71
                                                    <value>$Collmm</value>
72
                                                </_nullIf>
73
                                            </month>
74
                                            <year>
75
                                                <_nullIf>
76
                                                    <null>0</null>
77
                                                    <type>float</type>
78
                                                    <value>$Collyy</value>
79
                                                </_nullIf>
80
                                            </year>
81
                                        </_date>
82
                                    </1>
83
                                </_alt>
84
                            </value>
85
                        </_dateRangeEnd>
86
                    </date>
87
                </_date>
88
            </obsenddate>
89
            <obsstartdate>
90
                <_date>
91
                    <date>
92
                        <_dateRangeStart>
93
                            <value>
94
                                <_alt>
95
                                    <1>
96
                                        <_date>
97
                                            <day>
98
                                                <_nullIf>
99
                                                    <null>0</null>
100
                                                    <type>float</type>
101
                                                    <value>$Colldd</value>
102
                                                </_nullIf>
103
                                            </day>
104
                                            <month>
105
                                                <_nullIf>
106
                                                    <null>0</null>
107
                                                    <type>float</type>
108
                                                    <value>$Collmm</value>
109
                                                </_nullIf>
110
                                            </month>
111
                                            <year>
112
                                                <_nullIf>
113
                                                    <null>0</null>
114
                                                    <type>float</type>
115
                                                    <value>$Collyy</value>
116
                                                </_nullIf>
117
                                            </year>
118
                                        </_date>
119
                                    </1>
120
                                </_alt>
121
                            </value>
122
                        </_dateRangeStart>
123
                    </date>
124
                </_date>
125
            </obsstartdate>
52 126
            <taxonoccurrence>
53 127
                <aggregateoccurrence>
54 128
                    <collectiondate>
inputs/U/maps/VegBIEN.specimens.csv
3 3
Lat,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",
4 4
Long,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",
5 5
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",
6
Colldd,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
7
Collmm,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
8
Collyy,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
9
Colldd,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
10
Collmm,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
11
Collyy,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
6 12
Colldd,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
7 13
Collmm,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
8 14
Collyy,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
inputs/ARIZ/test/import.specimens.xml.ref
171 171
            </namedplace_id>
172 172
        </locationdetermination>
173 173
        <locationevent>
174
            <obsenddate>
175
                <_date>
176
                    <date>
177
                        <_dateRangeEnd>
178
                            <value>
179
                                <_alt>
180
                                    <0>$VerbatimCollectingDate</0>
181
                                    <1>
182
                                        <_date>
183
                                            <day>
184
                                                <_nullIf>
185
                                                    <null>0</null>
186
                                                    <type>float</type>
187
                                                    <value>$DayCollected</value>
188
                                                </_nullIf>
189
                                            </day>
190
                                            <month>
191
                                                <_nullIf>
192
                                                    <null>0</null>
193
                                                    <type>float</type>
194
                                                    <value>$MonthCollected</value>
195
                                                </_nullIf>
196
                                            </month>
197
                                            <year>
198
                                                <_nullIf>
199
                                                    <null>0</null>
200
                                                    <type>float</type>
201
                                                    <value>$YearCollected</value>
202
                                                </_nullIf>
203
                                            </year>
204
                                        </_date>
205
                                    </1>
206
                                </_alt>
207
                            </value>
208
                        </_dateRangeEnd>
209
                    </date>
210
                </_date>
211
            </obsenddate>
212
            <obsstartdate>
213
                <_date>
214
                    <date>
215
                        <_dateRangeStart>
216
                            <value>
217
                                <_alt>
218
                                    <0>$VerbatimCollectingDate</0>
219
                                    <1>
220
                                        <_date>
221
                                            <day>
222
                                                <_nullIf>
223
                                                    <null>0</null>
224
                                                    <type>float</type>
225
                                                    <value>$DayCollected</value>
226
                                                </_nullIf>
227
                                            </day>
228
                                            <month>
229
                                                <_nullIf>
230
                                                    <null>0</null>
231
                                                    <type>float</type>
232
                                                    <value>$MonthCollected</value>
233
                                                </_nullIf>
234
                                            </month>
235
                                            <year>
236
                                                <_nullIf>
237
                                                    <null>0</null>
238
                                                    <type>float</type>
239
                                                    <value>$YearCollected</value>
240
                                                </_nullIf>
241
                                            </year>
242
                                        </_date>
243
                                    </1>
244
                                </_alt>
245
                            </value>
246
                        </_dateRangeStart>
247
                    </date>
248
                </_date>
249
            </obsstartdate>
174 250
            <taxonoccurrence>
175 251
                <aggregateoccurrence>
176 252
                    <collectiondate>
inputs/ARIZ/maps/VegBIEN.specimens.csv
18 18
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",
19 19
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",
20 20
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",
21
VerbatimCollectingDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/0,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
22
DayCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
23
MonthCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
24
YearCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
25
VerbatimCollectingDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/0,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
26
DayCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
27
MonthCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
28
YearCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
21 29
VerbatimCollectingDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/0,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
22 30
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
23 31
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
inputs/GBIF/test/import.specimens.xml.ref
157 157
            </namedplace_id>
158 158
        </locationdetermination>
159 159
        <locationevent>
160
            <obsenddate><_date><date><_dateRangeEnd><value><_alt><2>$LatestDateCollected</2></_alt></value></_dateRangeEnd></date></_date></obsenddate>
161
            <obsstartdate><_date><date><_dateRangeStart><value><_alt><2>$LatestDateCollected</2></_alt></value></_dateRangeStart></date></_date></obsstartdate>
160 162
            <taxonoccurrence>
161 163
                <aggregateoccurrence>
162 164
                    <collectiondate><_date><date><_alt><2>$LatestDateCollected</2></_alt></date></_date></collectiondate>
inputs/GBIF/maps/VegBIEN.specimens.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/obsenddate/_*/date/_dateRangeEnd/value/_alt/2,
18
LatestDateCollected,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/2,
17 19
LatestDateCollected,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/2,
18 20
CatalogNO,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/else/catalognumber_dwc",
19 21
CollectionCD,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_alt/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
inputs/NCU-NCSC/test/import.specimens.xml.ref
77 77
            </namedplace_id>
78 78
        </locationdetermination>
79 79
        <locationevent>
80
            <obsenddate><_date><date><_dateRangeEnd><value><_alt><3>$Collect Date</3></_alt></value></_dateRangeEnd></date></_date></obsenddate>
81
            <obsstartdate><_date><date><_dateRangeStart><value><_alt><3>$Collect Date</3></_alt></value></_dateRangeStart></date></_date></obsstartdate>
80 82
            <taxonoccurrence>
81 83
                <aggregateoccurrence>
82 84
                    <collectiondate><_date><date><_alt><3>$Collect Date</3></_alt></date></_date></collectiondate>
inputs/NCU-NCSC/maps/VegBIEN.specimens.csv
8 8
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",
9 9
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",
10 10
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",
11
Collect Date,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/3,
12
Collect Date,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/3,
11 13
Collect Date,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/3,
12 14
Accession Number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,
13 15
Barcode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/else/catalognumber_dwc",
inputs/SpeciesLink/test/import.specimens.xml.ref
275 275
                    <2>$dwc_terms_fieldNumber</2>
276 276
                </_alt>
277 277
            </authoreventcode>
278
            <obsenddate>
279
                <_date>
280
                    <date>
281
                        <_dateRangeEnd>
282
                            <value>
283
                                <_alt>
284
                                    <1>
285
                                        <_date>
286
                                            <day>
287
                                                <_nullIf>
288
                                                    <null>0</null>
289
                                                    <type>float</type>
290
                                                    <value>$conceptual_darwin_2003_1_0_DayCollected</value>
291
                                                </_nullIf>
292
                                            </day>
293
                                            <month>
294
                                                <_nullIf>
295
                                                    <null>0</null>
296
                                                    <type>float</type>
297
                                                    <value>$conceptual_darwin_2003_1_0_MonthCollected</value>
298
                                                </_nullIf>
299
                                            </month>
300
                                            <year>
301
                                                <_nullIf>
302
                                                    <null>0</null>
303
                                                    <type>float</type>
304
                                                    <value>$conceptual_darwin_2003_1_0_YearCollected</value>
305
                                                </_nullIf>
306
                                            </year>
307
                                        </_date>
308
                                    </1>
309
                                </_alt>
310
                            </value>
311
                        </_dateRangeEnd>
312
                    </date>
313
                </_date>
314
            </obsenddate>
315
            <obsstartdate>
316
                <_date>
317
                    <date>
318
                        <_dateRangeStart>
319
                            <value>
320
                                <_alt>
321
                                    <1>
322
                                        <_date>
323
                                            <day>
324
                                                <_nullIf>
325
                                                    <null>0</null>
326
                                                    <type>float</type>
327
                                                    <value>$conceptual_darwin_2003_1_0_DayCollected</value>
328
                                                </_nullIf>
329
                                            </day>
330
                                            <month>
331
                                                <_nullIf>
332
                                                    <null>0</null>
333
                                                    <type>float</type>
334
                                                    <value>$conceptual_darwin_2003_1_0_MonthCollected</value>
335
                                                </_nullIf>
336
                                            </month>
337
                                            <year>
338
                                                <_nullIf>
339
                                                    <null>0</null>
340
                                                    <type>float</type>
341
                                                    <value>$conceptual_darwin_2003_1_0_YearCollected</value>
342
                                                </_nullIf>
343
                                            </year>
344
                                        </_date>
345
                                    </1>
346
                                </_alt>
347
                            </value>
348
                        </_dateRangeStart>
349
                    </date>
350
                </_date>
351
            </obsstartdate>
278 352
            <taxonoccurrence>
279 353
                <aggregateoccurrence>
280 354
                    <collectiondate>
inputs/SpeciesLink/maps/VegBIEN.specimens.csv
44 44
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",
45 45
FieldNumber,/location/locationevent/authoreventcode,
46 46
fieldNumber,/location/locationevent/authoreventcode,
47
DayCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
48
MonthCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
49
YearCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
50
DayCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
51
MonthCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
52
YearCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
47 53
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
48 54
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
49 55
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
inputs/MO/test/import.specimens.xml.ref
149 149
            </namedplace_id>
150 150
        </locationdetermination>
151 151
        <locationevent>
152
            <obsenddate>
153
                <_date>
154
                    <date>
155
                        <_dateRangeEnd>
156
                            <value>
157
                                <_alt>
158
                                    <1>
159
                                        <_date>
160
                                            <day>
161
                                                <_nullIf>
162
                                                    <null>0</null>
163
                                                    <type>float</type>
164
                                                    <value>$DayCollected</value>
165
                                                </_nullIf>
166
                                            </day>
167
                                            <month>
168
                                                <_nullIf>
169
                                                    <null>0</null>
170
                                                    <type>float</type>
171
                                                    <value>$MonthCollected</value>
172
                                                </_nullIf>
173
                                            </month>
174
                                            <year>
175
                                                <_nullIf>
176
                                                    <null>0</null>
177
                                                    <type>float</type>
178
                                                    <value>$YearCollected</value>
179
                                                </_nullIf>
180
                                            </year>
181
                                        </_date>
182
                                    </1>
183
                                </_alt>
184
                            </value>
185
                        </_dateRangeEnd>
186
                    </date>
187
                </_date>
188
            </obsenddate>
189
            <obsstartdate>
190
                <_date>
191
                    <date>
192
                        <_dateRangeStart>
193
                            <value>
194
                                <_alt>
195
                                    <1>
196
                                        <_date>
197
                                            <day>
198
                                                <_nullIf>
199
                                                    <null>0</null>
200
                                                    <type>float</type>
201
                                                    <value>$DayCollected</value>
202
                                                </_nullIf>
203
                                            </day>
204
                                            <month>
205
                                                <_nullIf>
206
                                                    <null>0</null>
207
                                                    <type>float</type>
208
                                                    <value>$MonthCollected</value>
209
                                                </_nullIf>
210
                                            </month>
211
                                            <year>
212
                                                <_nullIf>
213
                                                    <null>0</null>
214
                                                    <type>float</type>
215
                                                    <value>$YearCollected</value>
216
                                                </_nullIf>
217
                                            </year>
218
                                        </_date>
219
                                    </1>
220
                                </_alt>
221
                            </value>
222
                        </_dateRangeStart>
223
                    </date>
224
                </_date>
225
            </obsstartdate>
152 226
            <taxonoccurrence>
153 227
                <aggregateoccurrence>
154 228
                    <collectiondate>
inputs/MO/maps/VegBIEN.specimens.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/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
17
MonthCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
18
YearCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
19
DayCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
20
MonthCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
21
YearCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
16 22
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
17 23
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
18 24
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
inputs/QMOR/test/import.specimens.xml.ref
172 172
        </locationdetermination>
173 173
        <locationevent>
174 174
            <method_id><method><name>$samplingProtocol</name></method></method_id>
175
            <obsenddate><_date><date><_dateRangeEnd><value><_alt><2>$eventDate</2></_alt></value></_dateRangeEnd></date></_date></obsenddate>
176
            <obsstartdate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></obsstartdate>
175 177
            <taxonoccurrence>
176 178
                <aggregateoccurrence>
177 179
                    <collectiondate><_date><date><_alt><2>$eventDate</2></_alt></date></_date></collectiondate>
inputs/QMOR/maps/VegBIEN.specimens.csv
19 19
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",
20 20
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",
21 21
samplingProtocol,/location/locationevent/*_id/method/name,
22
eventDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2,
23
eventDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/2,
22 24
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/2,
23 25
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
24 26
sex,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/definedvalue[*_id/userdefined[tablename=plantobservation,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"
mappings/DwC2-VegBIEN.specimens.csv
21 21
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",
22 22
samplingProtocol,/location/locationevent/*_id/method/name,
23 23
fieldNumber,/location/locationevent/authoreventcode,
24
eventDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value,
25
eventDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value,
24 26
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date,
25 27
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
26 28
fieldNotes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
mappings/DwC-VegBIEN.specimens.csv
63 63
samplingProtocol,/location/locationevent/*_id/method/name,
64 64
FieldNumber,/location/locationevent/authoreventcode,
65 65
fieldNumber,/location/locationevent/authoreventcode,
66
EventDate/_alt,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
67
eventDate/_alt,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
68
DayCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
69
dayCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
70
MonthCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
71
monthCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
72
YearCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
73
yearCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
74
EventDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2,
75
eventDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2,
76
CollectedDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/3,
77
collectedDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/3,
78
EventDate/_alt,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
79
eventDate/_alt,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
80
DayCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
81
dayCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
82
MonthCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
83
monthCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
84
YearCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
85
yearCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
86
EventDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/2,
87
eventDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/2,
88
CollectedDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/3,
89
collectedDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/3,
66 90
EventDate/_alt,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
67 91
eventDate/_alt,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
68 92
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",

Also available in: Unified diff