Project

General

Profile

« Previous | Next » 

Revision 4018

mappings/DwC2-VegBIEN.specimens.csv, VegCSV-VegBIEN.specimens.csv: eventDate: collectiondate mapping: Removed _dateRangeStart filter because the eventDate (obsstartdate) is only valid as the date the specimen was collected if it is a single date, not a date range. (It is still valid as the obsstartdate/obsenddate if it's a range.)

View differences:

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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/2,
22
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/2,
23 23
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
24 24
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"
25 25
id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,
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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value,
24
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date,
25 25
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
26 26
fieldNotes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
27 27
recordNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode,
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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
35
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
36
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
37
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
38
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/2,
39
collectedDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/3,
34
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
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
36
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
37
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
38
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/2,
39
collectedDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/3,
40 40
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
41 41
fieldNotes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
42 42
notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
inputs/XAL/test/import.specimens.xml.ref
156 156
                    <collectiondate>
157 157
                        <_date>
158 158
                            <date>
159
                                <_dateRangeStart>
160
                                    <value>
161
                                        <_alt>
162
                                            <1>
163
                                                <_date>
164
                                                    <day>
165
                                                        <_nullIf>
166
                                                            <null>0</null>
167
                                                            <type>float</type>
168
                                                            <value>$DayCollected</value>
169
                                                        </_nullIf>
170
                                                    </day>
171
                                                    <month>
172
                                                        <_nullIf>
173
                                                            <null>0</null>
174
                                                            <type>float</type>
175
                                                            <value>$MonthCollected</value>
176
                                                        </_nullIf>
177
                                                    </month>
178
                                                    <year>
179
                                                        <_nullIf>
180
                                                            <null>0</null>
181
                                                            <type>float</type>
182
                                                            <value>$YearCollected</value>
183
                                                        </_nullIf>
184
                                                    </year>
185
                                                </_date>
186
                                            </1>
187
                                        </_alt>
188
                                    </value>
189
                                </_dateRangeStart>
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>
190 186
                            </date>
191 187
                        </_date>
192 188
                    </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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
19
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
20
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
18
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
19
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
20
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
21 21
IndividualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
22 22
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
23 23
CollectorNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode/_alt/1,
inputs/NY/test/import.specimens.xml.ref
171 171
                    <collectiondate>
172 172
                        <_date>
173 173
                            <date>
174
                                <_dateRangeStart>
175
                                    <value>
176
                                        <_alt>
177
                                            <1>
178
                                                <_date>
179
                                                    <day>
180
                                                        <_nullIf>
181
                                                            <null>0</null>
182
                                                            <type>float</type>
183
                                                            <value>$DayCollected</value>
184
                                                        </_nullIf>
185
                                                    </day>
186
                                                    <month>
187
                                                        <_nullIf>
188
                                                            <null>0</null>
189
                                                            <type>float</type>
190
                                                            <value>$MonthCollected</value>
191
                                                        </_nullIf>
192
                                                    </month>
193
                                                    <year>
194
                                                        <_nullIf>
195
                                                            <null>0</null>
196
                                                            <type>float</type>
197
                                                            <value>$YearCollected</value>
198
                                                        </_nullIf>
199
                                                    </year>
200
                                                </_date>
201
                                            </1>
202
                                        </_alt>
203
                                    </value>
204
                                </_dateRangeStart>
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>
205 201
                            </date>
206 202
                        </_date>
207 203
                    </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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
19
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
20
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
18
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
19
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
20
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
21 21
IndividualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
22 22
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_merge/1,
23 23
PlantFungusDescription,"/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_merge/2/_label[label=""plant fungus""]/value",
inputs/UNCC/test/import.specimens.xml.ref
34 34
                    <collectiondate>
35 35
                        <_date>
36 36
                            <date>
37
                                <_dateRangeStart>
38
                                    <value>
39
                                        <_alt>
40
                                            <1>
41
                                                <_date>
42
                                                    <day>
43
                                                        <_nullIf>
44
                                                            <null>0</null>
45
                                                            <type>float</type>
46
                                                            <value>$collday</value>
47
                                                        </_nullIf>
48
                                                    </day>
49
                                                    <month>
50
                                                        <_nullIf>
51
                                                            <null>0</null>
52
                                                            <type>float</type>
53
                                                            <value>$collmonth</value>
54
                                                        </_nullIf>
55
                                                    </month>
56
                                                    <year>
57
                                                        <_nullIf>
58
                                                            <null>0</null>
59
                                                            <type>float</type>
60
                                                            <value>$collyear</value>
61
                                                        </_nullIf>
62
                                                    </year>
63
                                                </_date>
64
                                            </1>
65
                                        </_alt>
66
                                    </value>
67
                                </_dateRangeStart>
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>
68 64
                            </date>
69 65
                        </_date>
70 66
                    </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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
7
collmonth,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
8
collyear,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
6
collday,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
7
collmonth,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
8
collyear,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
9 9
comment1,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_merge/1,
10 10
comment2,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_merge/2,
11 11
comment3,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_merge/3,
inputs/ACAD/test/import.specimens.xml.ref
75 75
        <locationevent>
76 76
            <taxonoccurrence>
77 77
                <aggregateoccurrence>
78
                    <collectiondate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></collectiondate>
78
                    <collectiondate><_date><date><_alt><2>$eventDate</2></_alt></date></_date></collectiondate>
79 79
                    <plantobservation>
80 80
                        <authorplantcode><_alt><2>$recordNumber</2></_alt></authorplantcode>
81 81
                        <sourceaccessioncode>$id</sourceaccessioncode>
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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/2,
12
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/2,
13 13
recordNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode/_alt/2,
14 14
id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,
15 15
catalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/else/catalognumber_dwc",
inputs/REMIB/test/import.specimens.xml.ref
56 56
                    <collectiondate>
57 57
                        <_date>
58 58
                            <date>
59
                                <_dateRangeStart>
60
                                    <value>
61
                                        <_alt>
62
                                            <1>
63
                                                <_date>
64
                                                    <day>
65
                                                        <_nullIf>
66
                                                            <null>0</null>
67
                                                            <type>float</type>
68
                                                            <value>$coll_day</value>
69
                                                        </_nullIf>
70
                                                    </day>
71
                                                    <month>
72
                                                        <_nullIf>
73
                                                            <null>0</null>
74
                                                            <type>float</type>
75
                                                            <value>$coll_month</value>
76
                                                        </_nullIf>
77
                                                    </month>
78
                                                    <year>
79
                                                        <_nullIf>
80
                                                            <null>0</null>
81
                                                            <type>float</type>
82
                                                            <value>$coll_year</value>
83
                                                        </_nullIf>
84
                                                    </year>
85
                                                </_date>
86
                                            </1>
87
                                        </_alt>
88
                                    </value>
89
                                </_dateRangeStart>
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>
90 86
                            </date>
91 87
                        </_date>
92 88
                    </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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
9
coll_month,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
10
coll_year,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
8
coll_day,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
9
coll_month,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
10
coll_year,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
11 11
accession_number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,
12 12
acronym,/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
13 13
accession_number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
inputs/SALVIAS/test/import.organisms.xml.ref
5 5
        <locationevent>
6 6
            <taxonoccurrence>
7 7
                <aggregateoccurrence>
8
                    <collectiondate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></collectiondate>
8
                    <collectiondate><_date><date>$census_date</date></_date></collectiondate>
9 9
                    <count>$NoInd</count>
10 10
                    <cover>$cover_percent</cover>
11 11
                    <definedvalue fkey="tablerecord_id">
inputs/SALVIAS/maps/VegBIEN.organisms.csv
1 1
SALVIAS,VegBIEN:,Comments
2 2
Line,/location/authorlocationcode/_alt/1,
3
census_date,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value,"This is for the subplot, not the organism, as all organisms in a subplot have the same value for it. The following query returns no rows:
3
census_date,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date,"This is for the subplot, not the organism, as all organisms in a subplot have the same value for it. The following query returns no rows:
4 4
-----
5 5
SELECT ""PlotID"", ""Line"", count(DISTINCT census_date) AS census_date_count
6 6
FROM ""SALVIAS"".organisms
inputs/U/test/import.specimens.xml.ref
54 54
                    <collectiondate>
55 55
                        <_date>
56 56
                            <date>
57
                                <_dateRangeStart>
58
                                    <value>
59
                                        <_alt>
60
                                            <1>
61
                                                <_date>
62
                                                    <day>
63
                                                        <_nullIf>
64
                                                            <null>0</null>
65
                                                            <type>float</type>
66
                                                            <value>$Colldd</value>
67
                                                        </_nullIf>
68
                                                    </day>
69
                                                    <month>
70
                                                        <_nullIf>
71
                                                            <null>0</null>
72
                                                            <type>float</type>
73
                                                            <value>$Collmm</value>
74
                                                        </_nullIf>
75
                                                    </month>
76
                                                    <year>
77
                                                        <_nullIf>
78
                                                            <null>0</null>
79
                                                            <type>float</type>
80
                                                            <value>$Collyy</value>
81
                                                        </_nullIf>
82
                                                    </year>
83
                                                </_date>
84
                                            </1>
85
                                        </_alt>
86
                                    </value>
87
                                </_dateRangeStart>
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>
88 84
                            </date>
89 85
                        </_date>
90 86
                    </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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
7
Collmm,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
8
Collyy,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
6
Colldd,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
7
Collmm,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
8
Collyy,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
9 9
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
10 10
Number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode/_alt/2,
11 11
ID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,
inputs/ARIZ/test/import.specimens.xml.ref
176 176
                    <collectiondate>
177 177
                        <_date>
178 178
                            <date>
179
                                <_dateRangeStart>
180
                                    <value>
181
                                        <_alt>
182
                                            <0>$VerbatimCollectingDate</0>
183
                                            <1>
184
                                                <_date>
185
                                                    <day>
186
                                                        <_nullIf>
187
                                                            <null>0</null>
188
                                                            <type>float</type>
189
                                                            <value>$DayCollected</value>
190
                                                        </_nullIf>
191
                                                    </day>
192
                                                    <month>
193
                                                        <_nullIf>
194
                                                            <null>0</null>
195
                                                            <type>float</type>
196
                                                            <value>$MonthCollected</value>
197
                                                        </_nullIf>
198
                                                    </month>
199
                                                    <year>
200
                                                        <_nullIf>
201
                                                            <null>0</null>
202
                                                            <type>float</type>
203
                                                            <value>$YearCollected</value>
204
                                                        </_nullIf>
205
                                                    </year>
206
                                                </_date>
207
                                            </1>
208
                                        </_alt>
209
                                    </value>
210
                                </_dateRangeStart>
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>
211 207
                            </date>
212 208
                        </_date>
213 209
                    </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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/0,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
22
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
23
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
24
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
21
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
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
23
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
24
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
25 25
IndividualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
26 26
FieldNotes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
27 27
CollectorNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode/_alt/1,
inputs/GBIF/test/import.specimens.xml.ref
159 159
        <locationevent>
160 160
            <taxonoccurrence>
161 161
                <aggregateoccurrence>
162
                    <collectiondate><_date><date><_dateRangeStart><value><_alt><2>$LatestDateCollected</2></_alt></value></_dateRangeStart></date></_date></collectiondate>
162
                    <collectiondate><_date><date><_alt><2>$LatestDateCollected</2></_alt></date></_date></collectiondate>
163 163
                    <plantobservation>
164 164
                        <specimenreplicate>
165 165
                            <_if name="if indirect voucher"><else><catalognumber_dwc>$CatalogNO</catalognumber_dwc></else></_if>
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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/2,
17
LatestDateCollected,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/2,
18 18
CatalogNO,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/else/catalognumber_dwc",
19 19
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
20 20
InstitutionCD,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
inputs/NCU-NCSC/test/import.specimens.xml.ref
79 79
        <locationevent>
80 80
            <taxonoccurrence>
81 81
                <aggregateoccurrence>
82
                    <collectiondate><_date><date><_dateRangeStart><value><_alt><3>$Collect Date</3></_alt></value></_dateRangeStart></date></_date></collectiondate>
82
                    <collectiondate><_date><date><_alt><3>$Collect Date</3></_alt></date></_date></collectiondate>
83 83
                    <plantobservation>
84 84
                        <sourceaccessioncode>$Accession Number</sourceaccessioncode>
85 85
                        <specimenreplicate>
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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/3,
11
Collect Date,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/3,
12 12
Accession Number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,
13 13
Barcode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/else/catalognumber_dwc",
14 14
SeriesName,/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/SpeciesLink/test/import.specimens.xml.ref
280 280
                    <collectiondate>
281 281
                        <_date>
282 282
                            <date>
283
                                <_dateRangeStart>
284
                                    <value>
285
                                        <_alt>
286
                                            <1>
287
                                                <_date>
288
                                                    <day>
289
                                                        <_nullIf>
290
                                                            <null>0</null>
291
                                                            <type>float</type>
292
                                                            <value>$conceptual_darwin_2003_1_0_DayCollected</value>
293
                                                        </_nullIf>
294
                                                    </day>
295
                                                    <month>
296
                                                        <_nullIf>
297
                                                            <null>0</null>
298
                                                            <type>float</type>
299
                                                            <value>$conceptual_darwin_2003_1_0_MonthCollected</value>
300
                                                        </_nullIf>
301
                                                    </month>
302
                                                    <year>
303
                                                        <_nullIf>
304
                                                            <null>0</null>
305
                                                            <type>float</type>
306
                                                            <value>$conceptual_darwin_2003_1_0_YearCollected</value>
307
                                                        </_nullIf>
308
                                                    </year>
309
                                                </_date>
310
                                            </1>
311
                                        </_alt>
312
                                    </value>
313
                                </_dateRangeStart>
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>
314 310
                            </date>
315 311
                        </_date>
316 312
                    </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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
48
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
49
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
47
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
48
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
49
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
50 50
IndividualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
51 51
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
52 52
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
inputs/MO/test/import.specimens.xml.ref
154 154
                    <collectiondate>
155 155
                        <_date>
156 156
                            <date>
157
                                <_dateRangeStart>
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
                                </_dateRangeStart>
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>
188 184
                            </date>
189 185
                        </_date>
190 186
                    </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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
17
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
18
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
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",
19 19
IndividualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
20 20
convertednotes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
21 21
CollectorNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode/_alt/1,
inputs/QMOR/test/import.specimens.xml.ref
174 174
            <method_id><method><name>$samplingProtocol</name></method></method_id>
175 175
            <taxonoccurrence>
176 176
                <aggregateoccurrence>
177
                    <collectiondate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></collectiondate>
177
                    <collectiondate><_date><date><_alt><2>$eventDate</2></_alt></date></_date></collectiondate>
178 178
                    <count>$individualCount</count>
179 179
                    <plantobservation>
180 180
                        <definedvalue fkey="tablerecord_id">
mappings/VegCSV-VegBIEN.specimens.csv
43 43
silt,/location/locationevent/soilobs/silt,
44 44
sodium,/location/locationevent/soilobs/sodium,
45 45
texture,/location/locationevent/soilobs/texture,
46
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value,
46
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date,
47 47
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
48 48
coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover,
49 49
censusNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue",
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/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
67
eventDate/_alt,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping
68
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
69
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
70
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
71
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
72
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
73
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
74
EventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/2,
75
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/2,
76
CollectedDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/3,
77
collectedDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_alt/3,
66
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
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
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
69
dayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",
70
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
71
monthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",
72
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
73
yearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",
74
EventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/2,
75
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/2,
76
CollectedDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/3,
77
collectedDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_alt/3,
78 78
IndividualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
79 79
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,
80 80
FieldNotes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,

Also available in: Unified diff