Revision 7549
Added by Aaron Marcuse-Kubitza almost 12 years ago
inputs/NY/Specimen/map.csv | ||
---|---|---|
1 |
NY,VegCore,Filter,Comments |
|
2 |
key,OMIT,,UniqueNYInternalRecordNumber is a better pkey |
|
3 |
DateLastModified,modified,, |
|
4 |
InstitutionCode,custodialInstitutions,, |
|
5 |
CollectionCode,collection,, |
|
6 |
CatalogNumber,catalogNumber,, |
|
7 |
ScientificName,taxonName,, |
|
8 |
BasisOfRecord,basisOfRecord,, |
|
9 |
Kingdom,kingdom,, |
|
10 |
Phylum,phylum,, |
|
11 |
Class,class,, |
|
12 |
Order,order,, |
|
13 |
Family,family,, |
|
14 |
Genus,genus,, |
|
15 |
Species,specificEpithet,, |
|
16 |
Subspecies,subspecies,, |
|
17 |
ScientificNameAuthor,scientificNameAuthorship,, |
|
18 |
IdentifiedBy,identifiedBy,, |
|
19 |
YearIdentified,yearIdentified,, |
|
20 |
MonthIdentified,monthIdentified,, |
|
21 |
DayIdentified,dayIdentified,, |
|
22 |
TypeStatus,typeStatus,, |
|
23 |
CollectorNumber,UNUSED,, |
|
24 |
FieldNumber,collectorNumber,,Usage inconsistent with DwC definition |
|
25 |
Collector,recordedBy,, |
|
26 |
YearCollected,yearCollected,, |
|
27 |
MonthCollected,monthCollected,, |
|
28 |
DayCollected,dayCollected,, |
|
29 |
JulianDay,day,, |
|
30 |
TimeOfDay,eventTime,, |
|
31 |
ContinentOcean,continent,, |
|
32 |
Country,country,, |
|
33 |
StateProvince,stateProvince,, |
|
34 |
County,county,, |
|
35 |
Locality,locality,/_join/1, |
|
36 |
Longitude,decimalLongitude,, |
|
37 |
Latitude,decimalLatitude,, |
|
38 |
CoordinatePrecision,coordinateUncertaintyInMeters,,"Usage inconsistent with DwC definition, which only allows degrees. Assuming units based on the range and precision of values." |
|
39 |
BoundingBox,footprintWKT,, |
|
40 |
MinimumElevation,minimumElevationInMeters,/_nullIf:[null=.]/value, |
|
41 |
MaximumElevation,maximumElevationInMeters,, |
|
42 |
MinimumDepth,minimumDepthInMeters,, |
|
43 |
MaximumDepth,maximumDepthInMeters,, |
|
44 |
Sex,sex,, |
|
45 |
PreparationType,preparations,, |
|
46 |
IndividualCount,individualCount,, |
|
47 |
PreviousCatalogNumber,otherCatalogNumbers,, |
|
48 |
RelationshipType,relationshipOfResource,, |
|
49 |
RelatedCatalogItem,relatedResourceID,, |
|
50 |
Notes,organismNotes,/_join/1, |
|
51 |
Habitat,habitat,, |
|
52 |
PlantFungusDescription,organismNotes,"/_join/2/_label[label=""plant fungus""]/value", |
|
53 |
Substrate,locality,"/_join/2/_label[label=""substrate""]/value", |
|
54 |
Vegetation,locality,"/_join/3/_label[label=""vegetation""]/value", |
|
55 |
UniqueNYInternalRecordNumber,OMIT,,"Globally unique when provided, but omitted to avoid confusion since this is an internal-only ID" |
inputs/NY/Specimen/test.xml.ref | ||
---|---|---|
1 |
Put template: |
|
2 |
<VegBIEN> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<source_id><source><shortname>NY</shortname></source></source_id> |
|
5 |
<path> |
|
6 |
<_simplifyPath> |
|
7 |
<next>parent_id</next> |
|
8 |
<path> |
|
9 |
<location> |
|
10 |
<authorlocationcode> |
|
11 |
<_join> |
|
12 |
<1>$InstitutionCode</1> |
|
13 |
<2>$CollectionCode</2> |
|
14 |
<3>$CatalogNumber</3> |
|
15 |
</_join> |
|
16 |
</authorlocationcode> |
|
17 |
<elevation_m> |
|
18 |
<_avg> |
|
19 |
<max>$MaximumElevation</max> |
|
20 |
<min> |
|
21 |
<_nullIf> |
|
22 |
<null>.</null> |
|
23 |
<value>$MinimumElevation</value> |
|
24 |
</_nullIf> |
|
25 |
</min> |
|
26 |
</_avg> |
|
27 |
</elevation_m> |
|
28 |
<iscultivated> |
|
29 |
<_locationnarrative_is_cultivated> |
|
30 |
<locationnarrative> |
|
31 |
<_join> |
|
32 |
<1> |
|
33 |
<_join> |
|
34 |
<1>$Locality</1> |
|
35 |
<2> |
|
36 |
<_label> |
|
37 |
<label>substrate</label> |
|
38 |
<value>$Substrate</value> |
|
39 |
</_label> |
|
40 |
</2> |
|
41 |
<3> |
|
42 |
<_label> |
|
43 |
<label>vegetation</label> |
|
44 |
<value>$Vegetation</value> |
|
45 |
</_label> |
|
46 |
</3> |
|
47 |
</_join> |
|
48 |
</1> |
|
49 |
<3>$Habitat</3> |
|
50 |
</_join> |
|
51 |
</locationnarrative> |
|
52 |
</_locationnarrative_is_cultivated> |
|
53 |
</iscultivated> |
|
54 |
<locationevent> |
|
55 |
<taxonoccurrence> |
|
56 |
<aggregateoccurrence> |
|
57 |
<collectiondate> |
|
58 |
<_date> |
|
59 |
<day> |
|
60 |
<_nullIf> |
|
61 |
<null>0</null> |
|
62 |
<type>float</type> |
|
63 |
<value>$DayCollected</value> |
|
64 |
</_nullIf> |
|
65 |
</day> |
|
66 |
<month> |
|
67 |
<_nullIf> |
|
68 |
<null>0</null> |
|
69 |
<type>float</type> |
|
70 |
<value>$MonthCollected</value> |
|
71 |
</_nullIf> |
|
72 |
</month> |
|
73 |
<year> |
|
74 |
<_nullIf> |
|
75 |
<null>0</null> |
|
76 |
<type>float</type> |
|
77 |
<value>$YearCollected</value> |
|
78 |
</_nullIf> |
|
79 |
</year> |
|
80 |
</_date> |
|
81 |
</collectiondate> |
|
82 |
<count>$IndividualCount</count> |
|
83 |
<notes> |
|
84 |
<_join> |
|
85 |
<1>$Notes</1> |
|
86 |
<2> |
|
87 |
<_label> |
|
88 |
<label>plant fungus</label> |
|
89 |
<value>$PlantFungusDescription</value> |
|
90 |
</_label> |
|
91 |
</2> |
|
92 |
</_join> |
|
93 |
</notes> |
|
94 |
<plantobservation> |
|
95 |
<authorplantcode>$FieldNumber</authorplantcode> |
|
96 |
<definedvalue fkey="tablerecord_id"> |
|
97 |
<userdefined_id> |
|
98 |
<userdefined> |
|
99 |
<tablename>plantobservation</tablename> |
|
100 |
<userdefinedname>sex</userdefinedname> |
|
101 |
</userdefined> |
|
102 |
</userdefined_id> |
|
103 |
<definedvalue>$Sex</definedvalue> |
|
104 |
</definedvalue> |
|
105 |
<specimenreplicate> |
|
106 |
<catalognumber_dwc>$CatalogNumber</catalognumber_dwc> |
|
107 |
<collectioncode_dwc>$CollectionCode</collectioncode_dwc> |
|
108 |
<collectionnumber>$FieldNumber</collectionnumber> |
|
109 |
<institution_id> |
|
110 |
<sourcelist> |
|
111 |
<name>$InstitutionCode</name> |
|
112 |
<sourcename> |
|
113 |
<name> |
|
114 |
<_split> |
|
115 |
<separator>[,;] *</separator> |
|
116 |
<value>$InstitutionCode</value> |
|
117 |
</_split> |
|
118 |
</name> |
|
119 |
</sourcename> |
|
120 |
</sourcelist> |
|
121 |
</institution_id> |
|
122 |
</specimenreplicate> |
|
123 |
</plantobservation> |
|
124 |
</aggregateoccurrence> |
|
125 |
<collector_id><party><fullname>$Collector</fullname></party></collector_id> |
|
126 |
<taxondetermination> |
|
127 |
<party_id><party><fullname>$IdentifiedBy</fullname></party></party_id> |
|
128 |
<taxonverbatim_id> |
|
129 |
<taxonverbatim> |
|
130 |
<taxonlabel_id> |
|
131 |
<taxonlabel> |
|
132 |
<parent_id> |
|
133 |
<taxonlabel> |
|
134 |
<parent_id> |
|
135 |
<taxonlabel> |
|
136 |
<rank>cultivar</rank> |
|
137 |
<parent_id> |
|
138 |
<taxonlabel> |
|
139 |
<rank>forma</rank> |
|
140 |
<parent_id> |
|
141 |
<taxonlabel> |
|
142 |
<rank>variety</rank> |
|
143 |
<parent_id> |
|
144 |
<taxonlabel> |
|
145 |
<rank>subspecies</rank> |
|
146 |
<taxonepithet>$Subspecies</taxonepithet> |
|
147 |
<parent_id> |
|
148 |
<taxonlabel> |
|
149 |
<rank>species</rank> |
|
150 |
<taxonepithet>$Species</taxonepithet> |
|
151 |
<parent_id> |
|
152 |
<taxonlabel> |
|
153 |
<rank>genus</rank> |
|
154 |
<taxonepithet>$Genus</taxonepithet> |
|
155 |
<parent_id> |
|
156 |
<taxonlabel> |
|
157 |
<rank>family</rank> |
|
158 |
<taxonepithet>$Family</taxonepithet> |
|
159 |
<parent_id> |
|
160 |
<taxonlabel> |
|
161 |
<rank>order</rank> |
|
162 |
<taxonepithet>$Order</taxonepithet> |
|
163 |
<parent_id> |
|
164 |
<taxonlabel> |
|
165 |
<rank>class</rank> |
|
166 |
<taxonepithet>$Class</taxonepithet> |
|
167 |
<parent_id> |
|
168 |
<taxonlabel> |
|
169 |
<rank>phylum</rank> |
|
170 |
<taxonepithet>$Phylum</taxonepithet> |
|
171 |
<parent_id> |
|
172 |
<taxonlabel> |
|
173 |
<rank>kingdom</rank> |
|
174 |
<taxonepithet>$Kingdom</taxonepithet> |
|
175 |
</taxonlabel> |
|
176 |
</parent_id> |
|
177 |
</taxonlabel> |
|
178 |
</parent_id> |
|
179 |
</taxonlabel> |
|
180 |
</parent_id> |
|
181 |
</taxonlabel> |
|
182 |
</parent_id> |
|
183 |
</taxonlabel> |
|
184 |
</parent_id> |
|
185 |
</taxonlabel> |
|
186 |
</parent_id> |
|
187 |
</taxonlabel> |
|
188 |
</parent_id> |
|
189 |
</taxonlabel> |
|
190 |
</parent_id> |
|
191 |
</taxonlabel> |
|
192 |
</parent_id> |
|
193 |
</taxonlabel> |
|
194 |
</parent_id> |
|
195 |
</taxonlabel> |
|
196 |
</parent_id> |
|
197 |
</taxonlabel> |
|
198 |
</parent_id> |
|
199 |
<taxonomicname> |
|
200 |
<_merge_prefix> |
|
201 |
<prefix><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></prefix> |
|
202 |
<value> |
|
203 |
<_join_words> |
|
204 |
<1> |
|
205 |
<_alt> |
|
206 |
<1>$ScientificName</1> |
|
207 |
<2> |
|
208 |
<_join_words> |
|
209 |
<2>$Genus</2> |
|
210 |
<3>$Species</3> |
|
211 |
<4>$Subspecies</4> |
|
212 |
</_join_words> |
|
213 |
</2> |
|
214 |
</_alt> |
|
215 |
</1> |
|
216 |
<2>$ScientificNameAuthor</2> |
|
217 |
</_join_words> |
|
218 |
</value> |
|
219 |
</_merge_prefix> |
|
220 |
</taxonomicname> |
|
221 |
</taxonlabel> |
|
222 |
</taxonlabel_id> |
|
223 |
<author>$ScientificNameAuthor</author> |
|
224 |
<family>$Family</family> |
|
225 |
<genus>$Genus</genus> |
|
226 |
<specific_epithet>$Species</specific_epithet> |
|
227 |
<taxonname>$ScientificName</taxonname> |
|
228 |
</taxonverbatim> |
|
229 |
</taxonverbatim_id> |
|
230 |
<determinationdate> |
|
231 |
<_date> |
|
232 |
<day> |
|
233 |
<_nullIf> |
|
234 |
<null>0</null> |
|
235 |
<type>float</type> |
|
236 |
<value>$DayIdentified</value> |
|
237 |
</_nullIf> |
|
238 |
</day> |
|
239 |
<month> |
|
240 |
<_nullIf> |
|
241 |
<null>0</null> |
|
242 |
<type>float</type> |
|
243 |
<value>$MonthIdentified</value> |
|
244 |
</_nullIf> |
|
245 |
</month> |
|
246 |
<year> |
|
247 |
<_nullIf> |
|
248 |
<null>0</null> |
|
249 |
<type>float</type> |
|
250 |
<value>$YearIdentified</value> |
|
251 |
</_nullIf> |
|
252 |
</year> |
|
253 |
</_date> |
|
254 |
</determinationdate> |
|
255 |
</taxondetermination> |
|
256 |
</taxonoccurrence> |
|
257 |
<waterdepth_m> |
|
258 |
<_avg> |
|
259 |
<max>$MaximumDepth</max> |
|
260 |
<min>$MinimumDepth</min> |
|
261 |
</_avg> |
|
262 |
</waterdepth_m> |
|
263 |
</locationevent> |
|
264 |
<locationnarrative> |
|
265 |
<_merge> |
|
266 |
<1> |
|
267 |
<_join> |
|
268 |
<1>$Locality</1> |
|
269 |
<2> |
|
270 |
<_label> |
|
271 |
<label>substrate</label> |
|
272 |
<value>$Substrate</value> |
|
273 |
</_label> |
|
274 |
</2> |
|
275 |
<3> |
|
276 |
<_label> |
|
277 |
<label>vegetation</label> |
|
278 |
<value>$Vegetation</value> |
|
279 |
</_label> |
|
280 |
</3> |
|
281 |
</_join> |
|
282 |
</1> |
|
283 |
<3> |
|
284 |
<_label> |
|
285 |
<label>habitat</label> |
|
286 |
<value>$Habitat</value> |
|
287 |
</_label> |
|
288 |
</3> |
|
289 |
</_merge> |
|
290 |
</locationnarrative> |
|
291 |
<locationplace> |
|
292 |
<place_id> |
|
293 |
<place> |
|
294 |
<coordinates_id> |
|
295 |
<coordinates> |
|
296 |
<coordsaccuracy_m><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_m> |
|
297 |
<footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc> |
|
298 |
<latitude_deg> |
|
299 |
<_nullIf> |
|
300 |
<null>0</null> |
|
301 |
<type>float</type> |
|
302 |
<value>$Latitude</value> |
|
303 |
</_nullIf> |
|
304 |
</latitude_deg> |
|
305 |
<longitude_deg> |
|
306 |
<_nullIf> |
|
307 |
<null>0</null> |
|
308 |
<type>float</type> |
|
309 |
<value>$Longitude</value> |
|
310 |
</_nullIf> |
|
311 |
</longitude_deg> |
|
312 |
</coordinates> |
|
313 |
</coordinates_id> |
|
314 |
<continent>$ContinentOcean</continent> |
|
315 |
<country>$Country</country> |
|
316 |
<county>$County</county> |
|
317 |
<matched_place_id> |
|
318 |
<place> |
|
319 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
320 |
<coordinates_id> |
|
321 |
<coordinates> |
|
322 |
<source_id><source><shortname>geoscrub</shortname></source></source_id> |
|
323 |
<latitude_deg> |
|
324 |
<_nullIf> |
|
325 |
<null>0</null> |
|
326 |
<type>float</type> |
|
327 |
<value>$Latitude</value> |
|
328 |
</_nullIf> |
|
329 |
</latitude_deg> |
|
330 |
<longitude_deg> |
|
331 |
<_nullIf> |
|
332 |
<null>0</null> |
|
333 |
<type>float</type> |
|
334 |
<value>$Longitude</value> |
|
335 |
</_nullIf> |
|
336 |
</longitude_deg> |
|
337 |
</coordinates> |
|
338 |
</coordinates_id> |
|
339 |
<country>$Country</country> |
|
340 |
<county>$County</county> |
|
341 |
<stateprovince>$StateProvince</stateprovince> |
|
342 |
</place> |
|
343 |
</matched_place_id> |
|
344 |
<stateprovince>$StateProvince</stateprovince> |
|
345 |
</place> |
|
346 |
</place_id> |
|
347 |
</locationplace> |
|
348 |
</location> |
|
349 |
</path> |
|
350 |
</_simplifyPath> |
|
351 |
</path> |
|
352 |
</_setDefault> |
|
353 |
</VegBIEN> |
|
354 |
Inserted 43 new rows into database |
inputs/NY/Specimen/VegBIEN.csv | ||
---|---|---|
1 |
NY,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments |
|
2 |
CatalogNumber,"/_if[@name=""if specimen""]/cond/_exists", |
|
3 |
InstitutionCode,"/_if[@name=""if specimen""]/else/source/shortname/_first/1", |
|
4 |
CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists", |
|
5 |
CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/cond/_exists", |
|
6 |
InstitutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/then/_first/2", |
|
7 |
CollectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/then/_join/2/_join/1", |
|
8 |
CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else", |
|
9 |
MaximumElevation,/location/elevation_m/_alt/2/_avg/max, |
|
10 |
MinimumElevation,/location/elevation_m/_alt/2/_avg/min/_nullIf:[null=.]/value, |
|
11 |
FieldNumber,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",Usage inconsistent with DwC definition |
|
12 |
Locality,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1/_join/1, |
|
13 |
Substrate,"/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1/_join/2/_label[label=""substrate""]/value", |
|
14 |
Vegetation,"/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1/_join/3/_label[label=""vegetation""]/value", |
|
15 |
Habitat,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/3, |
|
16 |
DayIdentified,"/location/locationevent/taxonoccurrence/_if[@name=""if has accepted name""]/then/taxondetermination:[determinationtype=accepted]/determinationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value", |
|
17 |
MonthIdentified,"/location/locationevent/taxonoccurrence/_if[@name=""if has accepted name""]/then/taxondetermination:[determinationtype=accepted]/determinationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value", |
|
18 |
YearIdentified,"/location/locationevent/taxonoccurrence/_if[@name=""if has accepted name""]/then/taxondetermination:[determinationtype=accepted]/determinationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value", |
|
19 |
DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value", |
|
20 |
MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value", |
|
21 |
YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value", |
|
22 |
IndividualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count, |
|
23 |
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_join/1, |
|
24 |
PlantFungusDescription,"/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_join/2/_label[label=""plant fungus""]/value", |
|
25 |
FieldNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode/_first/2,Usage inconsistent with DwC definition |
|
26 |
Sex,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/definedvalue[*_id/userdefined[tablename=plantobservation,userdefinedname=sex]]:[@fkey=tablerecord_id]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections" |
|
27 |
CatalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else", |
|
28 |
CollectionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_join/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name |
|
29 |
FieldNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/else",Usage inconsistent with DwC definition |
|
30 |
CatalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/cond/_exists", |
|
31 |
InstitutionCode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/then/name/_first/2", |
|
32 |
InstitutionCode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/then/sourcename/name/_first/2/_split:[separator=""[,;] *""]/value", |
|
33 |
FieldNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3",Usage inconsistent with DwC definition |
|
34 |
ScientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/3/_first/3", |
|
35 |
Collector,/location/locationevent/taxonoccurrence/collector_id/party/fullname, |
|
36 |
FieldNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",Usage inconsistent with DwC definition |
|
37 |
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/party/fullname, |
|
38 |
Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=subspecies]/taxonepithet", |
|
39 |
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet", |
|
40 |
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet", |
|
41 |
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet", |
|
42 |
Order,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=order]/taxonepithet", |
|
43 |
Class,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=class]/taxonepithet", |
|
44 |
Phylum,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=phylum]/taxonepithet", |
|
45 |
Kingdom,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,phylum,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=kingdom]/taxonepithet", |
|
46 |
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/prefix/_taxon_family_require_std/family, |
|
47 |
ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/2/_join_words/1/_alt/1, |
|
48 |
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/2/_join_words/1/_alt/2/_join_words/2, |
|
49 |
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1, |
|
50 |
Subspecies,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/2/_join_words/1/_alt/2/_join_words/4, |
|
51 |
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/2/_join_words/2, |
|
52 |
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/author, |
|
53 |
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family, |
|
54 |
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus, |
|
55 |
Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/specific_epithet, |
|
56 |
ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/taxonname, |
|
57 |
DayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value", |
|
58 |
MonthIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value", |
|
59 |
YearIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value", |
|
60 |
CatalogNumber,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then", |
|
61 |
FieldNumber,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/then",Usage inconsistent with DwC definition |
|
62 |
MaximumDepth,/location/locationevent/waterdepth_m/_avg/max, |
|
63 |
MinimumDepth,/location/locationevent/waterdepth_m/_avg/min, |
|
64 |
Locality,/location/locationnarrative/_merge/1/_join/1, |
|
65 |
Substrate,"/location/locationnarrative/_merge/1/_join/2/_label[label=""substrate""]/value", |
|
66 |
Vegetation,"/location/locationnarrative/_merge/1/_join/3/_label[label=""vegetation""]/value", |
|
67 |
Habitat,"/location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?" |
|
68 |
CoordinatePrecision,/location/locationplace/*_id/place/*_id/coordinates/coordsaccuracy_m/_noCV/value,"Usage inconsistent with DwC definition, which only allows degrees. Assuming units based on the range and precision of values." |
|
69 |
BoundingBox,/location/locationplace/*_id/place/*_id/coordinates/footprintgeometry_dwc, |
|
70 |
Latitude,"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value", |
|
71 |
Longitude,"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value", |
|
72 |
ContinentOcean,/location/locationplace/*_id/place/continent, |
|
73 |
Country,/location/locationplace/*_id/place/country, |
|
74 |
County,/location/locationplace/*_id/place/county, |
|
75 |
Latitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings" |
|
76 |
Longitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings" |
|
77 |
Country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2, |
|
78 |
County,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2, |
|
79 |
StateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2, |
|
80 |
StateProvince,/location/locationplace/*_id/place/stateprovince, |
|
81 |
BasisOfRecord,,** No join mapping for basisOfRecord ** |
|
82 |
CollectorNumber,,** No non-empty join mapping for UNUSED ** |
|
83 |
DateLastModified,,** No join mapping for modified ** |
|
84 |
JulianDay,,** No join mapping for day ** |
|
85 |
PreparationType,,** No join mapping for preparations ** |
|
86 |
PreviousCatalogNumber,,** No join mapping for otherCatalogNumbers ** |
|
87 |
RelatedCatalogItem,,** No join mapping for relatedResourceID ** |
|
88 |
RelationshipType,,** No join mapping for relationshipOfResource ** |
|
89 |
TimeOfDay,,** No join mapping for eventTime ** |
|
90 |
TypeStatus,,** No join mapping for typeStatus ** |
|
91 |
UniqueNYInternalRecordNumber,,"** No non-empty join mapping for OMIT ** Globally unique when provided, but omitted to avoid confusion since this is an internal-only ID" |
|
92 |
key,,** No non-empty join mapping for OMIT ** UniqueNYInternalRecordNumber is a better pkey |
inputs/NY/Specimen/new_terms.csv | ||
---|---|---|
1 |
key,OMIT,,UniqueNYInternalRecordNumber is a better pkey |
|
2 |
CoordinatePrecision,coordinateUncertaintyInMeters,,"Usage inconsistent with DwC definition, which only allows degrees. Assuming units based on the range and precision of values." |
|
3 |
PlantFungusDescription,organismNotes,"/_join/2/_label[label=""plant fungus""]/value", |
|
4 |
Substrate,locality,"/_join/2/_label[label=""substrate""]/value", |
|
5 |
Vegetation,locality,"/_join/3/_label[label=""vegetation""]/value", |
|
6 |
UniqueNYInternalRecordNumber,OMIT,,"Globally unique when provided, but omitted to avoid confusion since this is an internal-only ID" |
inputs/NY/Specimen/unmapped_terms.csv | ||
---|---|---|
1 |
modified |
|
2 |
basisOfRecord |
|
3 |
typeStatus |
|
4 |
day |
|
5 |
eventTime |
|
6 |
preparations |
|
7 |
otherCatalogNumbers |
|
8 |
relationshipOfResource |
|
9 |
relatedResourceID |
inputs/NY/import_order.txt | ||
---|---|---|
1 | 1 |
Source |
2 |
Specimen |
|
3 | 2 |
Ecatalog_all |
Also available in: Unified diff
inputs/NY/: Removed tables from previous extract