Revision 347
Added by Aaron Marcuse-Kubitza almost 13 years ago
test/accepted_output/NYBG.organisms.VegX.xml | ||
---|---|---|
2 | 2 |
<VegX> |
3 | 3 |
<individualOrganismObservations> |
4 | 4 |
<individualOrganismObservation id="0"> |
5 |
<simpleUserdefined> |
|
6 |
<name>count</name> |
|
7 |
<value>1</value> |
|
8 |
</simpleUserdefined> |
|
9 | 5 |
<individualOrganismID>0</individualOrganismID> |
10 | 6 |
<plotObservationID>0</plotObservationID> |
11 | 7 |
<simpleUserdefined> |
... | ... | |
18 | 14 |
</simpleUserdefined> |
19 | 15 |
</individualOrganismObservation> |
20 | 16 |
<individualOrganismObservation id="1"> |
21 |
<simpleUserdefined> |
|
22 |
<name>count</name> |
|
23 |
<value>1</value> |
|
24 |
</simpleUserdefined> |
|
25 | 17 |
<individualOrganismID>1</individualOrganismID> |
26 | 18 |
<plotObservationID>1</plotObservationID> |
27 | 19 |
</individualOrganismObservation> |
test/accepted_output/NYBG.organisms.VegBIEN.xml | ||
---|---|---|
43 | 43 |
</plotevent_ID> |
44 | 44 |
<collectiveobs> |
45 | 45 |
<stemCount> |
46 |
<stemCount>1</stemCount> |
|
47 | 46 |
<individual> |
48 | 47 |
<definedValue fkey="tableRecord_ID"> |
49 | 48 |
<userDefined_ID> |
... | ... | |
66 | 65 |
<definedValue>with rough brown bark, almost no buttressing, 1 m diam; fallen fruit and leaves</definedValue> |
67 | 66 |
</definedValue> |
68 | 67 |
</individual> |
68 |
<stemCount>1</stemCount> |
|
69 | 69 |
</stemCount> |
70 | 70 |
</collectiveobs> |
71 | 71 |
<taxondetermination> |
... | ... | |
347 | 347 |
<obsStartDate>1994-01-17</obsStartDate> |
348 | 348 |
</plotevent> |
349 | 349 |
</plotevent_ID> |
350 |
<collectiveobs> |
|
351 |
<stemCount> |
|
352 |
<stemCount>1</stemCount> |
|
353 |
</stemCount> |
|
354 |
</collectiveobs> |
|
355 | 350 |
<taxondetermination> |
356 | 351 |
<ROLE_ID> |
357 | 352 |
<aux_Role> |
... | ... | |
520 | 515 |
</plantConcept> |
521 | 516 |
</plantConcept_ID> |
522 | 517 |
</taxondetermination> |
518 |
<collectiveobs> |
|
519 |
<stemCount> |
|
520 |
<stemCount>1</stemCount> |
|
521 |
</stemCount> |
|
522 |
</collectiveobs> |
|
523 | 523 |
</taxonoccurrence> |
524 | 524 |
</VegBIEN> |
mappings/NYBG-VegX.organisms.csv | ||
---|---|---|
1 | 1 |
"NYBG","VegX:/*s/individualOrganismObservation","Comments" |
2 |
":1","/simpleUserdefined[name=count]/value", |
|
3 | 2 |
"key",,"Brad: OMIT; I'm pretty sure this is a temporary artificial ID generated at time of export." |
4 | 3 |
"DateLastModified",,"Brad: Mapping to VegX is incorrect. I think is this merely an internal timestamp indicated when record last modified, not necessarily when determination (taxon name) last modified. Probably we should omit this field, although might be useful for updating changed records from this source." |
5 | 4 |
"InstitutionCode","/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName/_name/first", |
mappings/NYBG-VegBank.organisms.csv | ||
---|---|---|
14 | 14 |
YearCollected,/*_ID/observation/obsStartDate/_date/year, |
15 | 15 |
MaximumDepth,/*_ID/observation/waterDepth/max, |
16 | 16 |
MinimumDepth,/*_ID/observation/waterDepth/min, |
17 |
:1,/taxonImportance/*/stemCount/_alt/1, |
|
18 | 17 |
Habitat,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=habitat]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?" |
19 | 18 |
PlantFungusDescription,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=plantFungusDescription]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect mapping to VB, also possibly to VX; this is the specimenDescription field, as used by this institution (NOT a standard DwC element). Very important! Bob, Nick, where would this go in VB and VX?" |
20 | 19 |
Substrate,"/taxonImportance/stemCount/stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=substrate]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect mapping to VB and VX; refers to geological substrate or soils where specimen collected. Often concatenated with habitat, or included with specimen description. Bob, Nick, is there an element for this in VB/VX, or shall we just use userDefined?" |
mappings/for_review/NYBG-VegX.organisms.csv | ||
---|---|---|
1 | 1 |
NYBG,VegX:/*s/individualOrganismObservation,Comments |
2 |
:1,/simpleUserdefined[name=count]/value, |
|
3 | 2 |
key,,Brad: OMIT; I'm pretty sure this is a temporary artificial ID generated at time of export. |
4 | 3 |
DateLastModified,,"Brad: Mapping to VegX is incorrect. I think is this merely an internal timestamp indicated when record last modified, not necessarily when determination (taxon name) last modified. Probably we should omit this field, although might be useful for updating changed records from this source." |
5 | 4 |
InstitutionCode,//party/organizationName/_name/first, |
mappings/for_review/NYBG-VegBank.organisms.csv | ||
---|---|---|
14 | 14 |
YearCollected,//observation/obsStartDate/_date/year, |
15 | 15 |
MaximumDepth,//waterDepth/max, |
16 | 16 |
MinimumDepth,//waterDepth/min, |
17 |
:1,//*/stemCount/_alt/1, |
|
18 | 17 |
Habitat,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=habitat]]/definedValue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?" |
19 | 18 |
PlantFungusDescription,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=plantFungusDescription]]/definedValue","Brad: Incorrect mapping to VB, also possibly to VX; this is the specimenDescription field, as used by this institution (NOT a standard DwC element). Very important! Bob, Nick, where would this go in VB and VX?" |
20 | 19 |
Substrate,"//stemLocation/definedValue[*_ID/userDefined[tableName=stemLocation,userDefinedName=substrate]]/definedValue","Brad: Incorrect mapping to VB and VX; refers to geological substrate or soils where specimen collected. Often concatenated with habitat, or included with specimen description. Bob, Nick, is there an element for this in VB/VX, or shall we just use userDefined?" |
mappings/for_review/NYBG-VegBIEN.organisms.csv | ||
---|---|---|
14 | 14 |
YearCollected,//plotevent/obsStartDate/_date/year, |
15 | 15 |
MaximumDepth,//waterDepth/max, |
16 | 16 |
MinimumDepth,//waterDepth/min, |
17 |
:1,//*/stemCount/_alt/1, |
|
18 | 17 |
Habitat,"//individual/definedValue[*_ID/userDefined[tableName=individual,userDefinedName=habitat]]/definedValue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?" |
19 | 18 |
PlantFungusDescription,"//individual/definedValue[*_ID/userDefined[tableName=individual,userDefinedName=plantFungusDescription]]/definedValue","Brad: Incorrect mapping to VB, also possibly to VX; this is the specimenDescription field, as used by this institution (NOT a standard DwC element). Very important! Bob, Nick, where would this go in VB and VX?" |
20 | 19 |
Substrate,"//individual/definedValue[*_ID/userDefined[tableName=individual,userDefinedName=substrate]]/definedValue","Brad: Incorrect mapping to VB and VX; refers to geological substrate or soils where specimen collected. Often concatenated with habitat, or included with specimen description. Bob, Nick, is there an element for this in VB/VX, or shall we just use userDefined?" |
mappings/NYBG-VegBIEN.organisms.csv | ||
---|---|---|
14 | 14 |
YearCollected,/*_ID/plotevent/obsStartDate/_date/year, |
15 | 15 |
MaximumDepth,/*_ID/plotevent/waterDepth/max, |
16 | 16 |
MinimumDepth,/*_ID/plotevent/waterDepth/min, |
17 |
:1,/collectiveobs/*/stemCount/_alt/1, |
|
18 | 17 |
Habitat,"/collectiveobs/stemCount/individual/definedValue[*_ID/userDefined[tableName=individual,userDefinedName=habitat]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?" |
19 | 18 |
PlantFungusDescription,"/collectiveobs/stemCount/individual/definedValue[*_ID/userDefined[tableName=individual,userDefinedName=plantFungusDescription]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect mapping to VB, also possibly to VX; this is the specimenDescription field, as used by this institution (NOT a standard DwC element). Very important! Bob, Nick, where would this go in VB and VX?" |
20 | 19 |
Substrate,"/collectiveobs/stemCount/individual/definedValue[*_ID/userDefined[tableName=individual,userDefinedName=substrate]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect mapping to VB and VX; refers to geological substrate or soils where specimen collected. Often concatenated with habitat, or included with specimen description. Bob, Nick, is there an element for this in VB/VX, or shall we just use userDefined?" |
Also available in: Unified diff
NYBG-VegX mapping: Removed no longer needed global stem count value