Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <col>source_id</col>
5
        <value><source><shortname>NY</shortname></source></value>
6
        <path>
7
            <_simplifyPath>
8
                <next>parent_id</next>
9
                <path>
10
                    <location>
11
                        <authorlocationcode>
12
                            <_alt>
13
                                <1>$UniqueNYInternalRecordNumber</1>
14
                                <2>
15
                                    <_join>
16
                                        <1>$InstitutionCode</1>
17
                                        <2>$CollectionCode</2>
18
                                        <3>$CatalogNumber</3>
19
                                    </_join>
20
                                </2>
21
                            </_alt>
22
                        </authorlocationcode>
23
                        <elevation_m>
24
                            <_avg>
25
                                <max>$MaximumElevation</max>
26
                                <min>
27
                                    <_nullIf>
28
                                        <null>.</null>
29
                                        <value>$MinimumElevation</value>
30
                                    </_nullIf>
31
                                </min>
32
                            </_avg>
33
                        </elevation_m>
34
                        <locationevent>
35
                            <taxonoccurrence>
36
                                <aggregateoccurrence>
37
                                    <collectiondate>
38
                                        <_date>
39
                                            <day>
40
                                                <_nullIf>
41
                                                    <null>0</null>
42
                                                    <type>float</type>
43
                                                    <value>$DayCollected</value>
44
                                                </_nullIf>
45
                                            </day>
46
                                            <month>
47
                                                <_nullIf>
48
                                                    <null>0</null>
49
                                                    <type>float</type>
50
                                                    <value>$MonthCollected</value>
51
                                                </_nullIf>
52
                                            </month>
53
                                            <year>
54
                                                <_nullIf>
55
                                                    <null>0</null>
56
                                                    <type>float</type>
57
                                                    <value>$YearCollected</value>
58
                                                </_nullIf>
59
                                            </year>
60
                                        </_date>
61
                                    </collectiondate>
62
                                    <count>$IndividualCount</count>
63
                                    <notes>
64
                                        <_join>
65
                                            <1>$Notes</1>
66
                                            <2>
67
                                                <_label>
68
                                                    <label>plant fungus</label>
69
                                                    <value>$PlantFungusDescription</value>
70
                                                </_label>
71
                                            </2>
72
                                        </_join>
73
                                    </notes>
74
                                    <plantobservation>
75
                                        <collectionnumber>$FieldNumber</collectionnumber>
76
                                        <definedvalue fkey="tablerecord_id">
77
                                            <userdefined_id>
78
                                                <userdefined>
79
                                                    <tablename>plantobservation</tablename>
80
                                                    <userdefinedname>sex</userdefinedname>
81
                                                </userdefined>
82
                                            </userdefined_id>
83
                                            <definedvalue>$Sex</definedvalue>
84
                                        </definedvalue>
85
                                        <specimenreplicate>
86
                                            <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
87
                                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
88
                                            <institution_id>
89
                                                <sourcename>
90
                                                    <matched_source_id><source><shortname>$InstitutionCode</shortname></source></matched_source_id>
91
                                                    <name>$InstitutionCode</name>
92
                                                </sourcename>
93
                                            </institution_id>
94
                                            <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
95
                                        </specimenreplicate>
96
                                    </plantobservation>
97
                                </aggregateoccurrence>
98
                                <collector_id><party><fullname>$Collector</fullname></party></collector_id>
99
                                <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
100
                                <taxondetermination>
101
                                    <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
102
                                    <taxonverbatim_id>
103
                                        <taxonverbatim>
104
                                            <taxonlabel_id>
105
                                                <taxonlabel>
106
                                                    <matched_label_id>
107
                                                        <taxonlabel>
108
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
109
                                                            <taxonomicname>
110
                                                                <_join_words>
111
                                                                    <1>
112
                                                                        <_taxon_family_require_std>
113
                                                                            <family>
114
                                                                                <_nullIf>
115
                                                                                    <null>$ScientificName</null>
116
                                                                                    <value>$Family</value>
117
                                                                                </_nullIf>
118
                                                                            </family>
119
                                                                        </_taxon_family_require_std>
120
                                                                    </1>
121
                                                                    <2>
122
                                                                        <_join_words>
123
                                                                            <1>
124
                                                                                <_alt>
125
                                                                                    <1>$ScientificName</1>
126
                                                                                    <2>
127
                                                                                        <_join_words>
128
                                                                                            <2>$Genus</2>
129
                                                                                            <3>$Species</3>
130
                                                                                            <4>$Subspecies</4>
131
                                                                                        </_join_words>
132
                                                                                    </2>
133
                                                                                </_alt>
134
                                                                            </1>
135
                                                                            <2>$ScientificNameAuthor</2>
136
                                                                        </_join_words>
137
                                                                    </2>
138
                                                                </_join_words>
139
                                                            </taxonomicname>
140
                                                        </taxonlabel>
141
                                                    </matched_label_id>
142
                                                    <creationdate>
143
                                                        <_date>
144
                                                            <day>
145
                                                                <_nullIf>
146
                                                                    <null>0</null>
147
                                                                    <type>float</type>
148
                                                                    <value>$DayIdentified</value>
149
                                                                </_nullIf>
150
                                                            </day>
151
                                                            <month>
152
                                                                <_nullIf>
153
                                                                    <null>0</null>
154
                                                                    <type>float</type>
155
                                                                    <value>$MonthIdentified</value>
156
                                                                </_nullIf>
157
                                                            </month>
158
                                                            <year>
159
                                                                <_nullIf>
160
                                                                    <null>0</null>
161
                                                                    <type>float</type>
162
                                                                    <value>$YearIdentified</value>
163
                                                                </_nullIf>
164
                                                            </year>
165
                                                        </_date>
166
                                                    </creationdate>
167
                                                    <parent_id>
168
                                                        <taxonlabel>
169
                                                            <parent_id>
170
                                                                <taxonlabel>
171
                                                                    <rank>cultivar</rank>
172
                                                                    <parent_id>
173
                                                                        <taxonlabel>
174
                                                                            <rank>forma</rank>
175
                                                                            <parent_id>
176
                                                                                <taxonlabel>
177
                                                                                    <rank>variety</rank>
178
                                                                                    <parent_id>
179
                                                                                        <taxonlabel>
180
                                                                                            <rank>subspecies</rank>
181
                                                                                            <taxonepithet>$Subspecies</taxonepithet>
182
                                                                                            <parent_id>
183
                                                                                                <taxonlabel>
184
                                                                                                    <rank>species</rank>
185
                                                                                                    <taxonepithet>$Species</taxonepithet>
186
                                                                                                    <parent_id>
187
                                                                                                        <taxonlabel>
188
                                                                                                            <rank>genus</rank>
189
                                                                                                            <taxonepithet>$Genus</taxonepithet>
190
                                                                                                            <parent_id>
191
                                                                                                                <taxonlabel>
192
                                                                                                                    <rank>family</rank>
193
                                                                                                                    <taxonepithet>$Family</taxonepithet>
194
                                                                                                                    <parent_id>
195
                                                                                                                        <taxonlabel>
196
                                                                                                                            <rank>order</rank>
197
                                                                                                                            <taxonepithet>$Order</taxonepithet>
198
                                                                                                                            <parent_id>
199
                                                                                                                                <taxonlabel>
200
                                                                                                                                    <rank>class</rank>
201
                                                                                                                                    <taxonepithet>$Class</taxonepithet>
202
                                                                                                                                    <parent_id>
203
                                                                                                                                        <taxonlabel>
204
                                                                                                                                            <rank>phylum</rank>
205
                                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
206
                                                                                                                                            <parent_id>
207
                                                                                                                                                <taxonlabel>
208
                                                                                                                                                    <rank>kingdom</rank>
209
                                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
210
                                                                                                                                                </taxonlabel>
211
                                                                                                                                            </parent_id>
212
                                                                                                                                        </taxonlabel>
213
                                                                                                                                    </parent_id>
214
                                                                                                                                </taxonlabel>
215
                                                                                                                            </parent_id>
216
                                                                                                                        </taxonlabel>
217
                                                                                                                    </parent_id>
218
                                                                                                                </taxonlabel>
219
                                                                                                            </parent_id>
220
                                                                                                        </taxonlabel>
221
                                                                                                    </parent_id>
222
                                                                                                </taxonlabel>
223
                                                                                            </parent_id>
224
                                                                                        </taxonlabel>
225
                                                                                    </parent_id>
226
                                                                                </taxonlabel>
227
                                                                            </parent_id>
228
                                                                        </taxonlabel>
229
                                                                    </parent_id>
230
                                                                </taxonlabel>
231
                                                            </parent_id>
232
                                                        </taxonlabel>
233
                                                    </parent_id>
234
                                                    <taxonomicname>
235
                                                        <_join_words>
236
                                                            <1>
237
                                                                <_taxon_family_require_std>
238
                                                                    <family>
239
                                                                        <_nullIf>
240
                                                                            <null>$ScientificName</null>
241
                                                                            <value>$Family</value>
242
                                                                        </_nullIf>
243
                                                                    </family>
244
                                                                </_taxon_family_require_std>
245
                                                            </1>
246
                                                            <2>
247
                                                                <_join_words>
248
                                                                    <1>
249
                                                                        <_alt>
250
                                                                            <1>$ScientificName</1>
251
                                                                            <2>
252
                                                                                <_join_words>
253
                                                                                    <2>$Genus</2>
254
                                                                                    <3>$Species</3>
255
                                                                                    <4>$Subspecies</4>
256
                                                                                </_join_words>
257
                                                                            </2>
258
                                                                        </_alt>
259
                                                                    </1>
260
                                                                    <2>$ScientificNameAuthor</2>
261
                                                                </_join_words>
262
                                                            </2>
263
                                                        </_join_words>
264
                                                    </taxonomicname>
265
                                                </taxonlabel>
266
                                            </taxonlabel_id>
267
                                            <author>$ScientificNameAuthor</author>
268
                                            <family>$Family</family>
269
                                            <genus>$Genus</genus>
270
                                            <specific_epithet>$Species</specific_epithet>
271
                                            <taxonname>$ScientificName</taxonname>
272
                                        </taxonverbatim>
273
                                    </taxonverbatim_id>
274
                                    <determinationdate>
275
                                        <_date>
276
                                            <day>
277
                                                <_nullIf>
278
                                                    <null>0</null>
279
                                                    <type>float</type>
280
                                                    <value>$DayIdentified</value>
281
                                                </_nullIf>
282
                                            </day>
283
                                            <month>
284
                                                <_nullIf>
285
                                                    <null>0</null>
286
                                                    <type>float</type>
287
                                                    <value>$MonthIdentified</value>
288
                                                </_nullIf>
289
                                            </month>
290
                                            <year>
291
                                                <_nullIf>
292
                                                    <null>0</null>
293
                                                    <type>float</type>
294
                                                    <value>$YearIdentified</value>
295
                                                </_nullIf>
296
                                            </year>
297
                                        </_date>
298
                                    </determinationdate>
299
                                </taxondetermination>
300
                            </taxonoccurrence>
301
                            <waterdepth_m>
302
                                <_avg>
303
                                    <max>$MaximumDepth</max>
304
                                    <min>$MinimumDepth</min>
305
                                </_avg>
306
                            </waterdepth_m>
307
                        </locationevent>
308
                        <locationnarrative>
309
                            <_merge>
310
                                <1>
311
                                    <_join>
312
                                        <1>$Locality</1>
313
                                        <2>
314
                                            <_label>
315
                                                <label>substrate</label>
316
                                                <value>$Substrate</value>
317
                                            </_label>
318
                                        </2>
319
                                        <3>
320
                                            <_label>
321
                                                <label>vegetation</label>
322
                                                <value>$Vegetation</value>
323
                                            </_label>
324
                                        </3>
325
                                    </_join>
326
                                </1>
327
                                <3>
328
                                    <_label>
329
                                        <label>habitat</label>
330
                                        <value>$Habitat</value>
331
                                    </_label>
332
                                </3>
333
                            </_merge>
334
                        </locationnarrative>
335
                        <locationplace>
336
                            <place_id>
337
                                <place>
338
                                    <coordinates_id>
339
                                        <coordinates>
340
                                            <coordsaccuracy_m><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_m>
341
                                            <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
342
                                            <latitude_deg>
343
                                                <_nullIf>
344
                                                    <null>0</null>
345
                                                    <type>float</type>
346
                                                    <value>$Latitude</value>
347
                                                </_nullIf>
348
                                            </latitude_deg>
349
                                            <longitude_deg>
350
                                                <_nullIf>
351
                                                    <null>0</null>
352
                                                    <type>float</type>
353
                                                    <value>$Longitude</value>
354
                                                </_nullIf>
355
                                            </longitude_deg>
356
                                        </coordinates>
357
                                    </coordinates_id>
358
                                    <continent>$ContinentOcean</continent>
359
                                    <country>$Country</country>
360
                                    <county>$County</county>
361
                                    <matched_place_id>
362
                                        <place>
363
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
364
                                            <coordinates_id>
365
                                                <coordinates>
366
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
367
                                                    <latitude_deg>
368
                                                        <_nullIf>
369
                                                            <null>0</null>
370
                                                            <type>float</type>
371
                                                            <value>$Latitude</value>
372
                                                        </_nullIf>
373
                                                    </latitude_deg>
374
                                                    <longitude_deg>
375
                                                        <_nullIf>
376
                                                            <null>0</null>
377
                                                            <type>float</type>
378
                                                            <value>$Longitude</value>
379
                                                        </_nullIf>
380
                                                    </longitude_deg>
381
                                                </coordinates>
382
                                            </coordinates_id>
383
                                            <country>$Country</country>
384
                                            <county>$County</county>
385
                                            <stateprovince>$StateProvince</stateprovince>
386
                                        </place>
387
                                    </matched_place_id>
388
                                    <stateprovince>$StateProvince</stateprovince>
389
                                </place>
390
                            </place_id>
391
                        </locationplace>
392
                    </location>
393
                </path>
394
            </_simplifyPath>
395
        </path>
396
    </_setDefault>
397
</VegBIEN>
398
Inserted 45 new rows into database
(5-5/6)