Project

General

Profile

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