Revision 405
Added by Aaron Marcuse-Kubitza about 13 years ago
test/accepted_output/SALVIAS_db.organisms.VegX.xml | ||
---|---|---|
60 | 60 |
</taxonNameUsageConcepts> |
61 | 61 |
<plotObservations> |
62 | 62 |
<plotObservation id="0"> |
63 |
<simpleUserdefined> |
|
64 |
<name>authorCode</name> |
|
65 |
<value>295</value> |
|
66 |
</simpleUserdefined> |
|
63 | 67 |
<plotUniqueIdentifierID>0</plotUniqueIdentifierID> |
64 | 68 |
</plotObservation> |
65 | 69 |
<plotObservation id="1"> |
70 |
<simpleUserdefined> |
|
71 |
<name>authorCode</name> |
|
72 |
<value>295</value> |
|
73 |
</simpleUserdefined> |
|
66 | 74 |
<plotUniqueIdentifierID>1</plotUniqueIdentifierID> |
67 | 75 |
</plotObservation> |
68 | 76 |
</plotObservations> |
test/accepted_output/SALVIAS_db.plots.VegBIEN.xml | ||
---|---|---|
32 | 32 |
<projectName>1</projectName> |
33 | 33 |
</project> |
34 | 34 |
</project_ID> |
35 |
<authorObsCode>1</authorObsCode> |
|
35 | 36 |
<commClass> |
36 | 37 |
<commdetermination> |
37 | 38 |
<commConcept_ID> |
... | ... | |
57 | 58 |
<definedValue>2500.0</definedValue> |
58 | 59 |
</definedValue> |
59 | 60 |
<methodNarrative>0.1 ha transect, stems >= 2.5 cm dbh</methodNarrative> |
60 |
<authorObsCode>ACHUPALL</authorObsCode> |
|
61 | 61 |
</plotevent> |
62 | 62 |
<plotevent id="1"> |
63 | 63 |
<plot_ID> |
... | ... | |
91 | 91 |
<projectName>1</projectName> |
92 | 92 |
</project> |
93 | 93 |
</project_ID> |
94 |
<authorObsCode>2</authorObsCode> |
|
94 | 95 |
<commClass> |
95 | 96 |
<commdetermination> |
96 | 97 |
<commConcept_ID> |
... | ... | |
126 | 127 |
<definedValue>7.4</definedValue> |
127 | 128 |
</definedValue> |
128 | 129 |
<methodNarrative>0.1 ha transect, stems >= 2.5 cm dbh</methodNarrative> |
129 |
<authorObsCode>ALLACHER</authorObsCode> |
|
130 | 130 |
</plotevent> |
131 | 131 |
</VegBIEN> |
test/accepted_output/SALVIAS_db.organisms.VegBIEN.xml | ||
---|---|---|
3 | 3 |
<taxonoccurrence id="0"> |
4 | 4 |
<plotevent_ID> |
5 | 5 |
<plotevent> |
6 |
<authorObsCode>295</authorObsCode> |
|
6 | 7 |
<plot_ID> |
7 | 8 |
<plot> |
8 | 9 |
<confidentialityStatus>0</confidentialityStatus> |
9 | 10 |
<authorPlotCode>c2000-1</authorPlotCode> |
10 | 11 |
</plot> |
11 | 12 |
</plot_ID> |
12 |
<authorObsCode>c2000-1</authorObsCode> |
|
13 | 13 |
</plotevent> |
14 | 14 |
</plotevent_ID> |
15 | 15 |
<collectiveobservation> |
... | ... | |
261 | 261 |
<taxonoccurrence id="1"> |
262 | 262 |
<plotevent_ID> |
263 | 263 |
<plotevent> |
264 |
<authorObsCode>295</authorObsCode> |
|
264 | 265 |
<plot_ID> |
265 | 266 |
<plot> |
266 | 267 |
<confidentialityStatus>0</confidentialityStatus> |
267 | 268 |
<authorPlotCode>c2000-1</authorPlotCode> |
268 | 269 |
</plot> |
269 | 270 |
</plot_ID> |
270 |
<authorObsCode>c2000-1</authorObsCode> |
|
271 | 271 |
</plotevent> |
272 | 272 |
</plotevent_ID> |
273 | 273 |
<collectiveobservation> |
test/accepted_output/NYBG.organisms.VegBIEN.xml | ||
---|---|---|
39 | 39 |
</plot> |
40 | 40 |
</plot_ID> |
41 | 41 |
<obsStartDate>1984-08-20</obsStartDate> |
42 |
<authorObsCode>816590</authorObsCode> |
|
42 | 43 |
</plotevent> |
43 | 44 |
</plotevent_ID> |
44 | 45 |
<collectiveobservation> |
... | ... | |
345 | 346 |
</plot> |
346 | 347 |
</plot_ID> |
347 | 348 |
<obsStartDate>1994-01-17</obsStartDate> |
349 |
<authorObsCode>220541</authorObsCode> |
|
348 | 350 |
</plotevent> |
349 | 351 |
</plotevent_ID> |
350 | 352 |
<taxondetermination> |
test/accepted_output/SALVIAS_db.plots.VegX.xml | ||
---|---|---|
2 | 2 |
<VegX> |
3 | 3 |
<plotObservations> |
4 | 4 |
<plotObservation id="0"> |
5 |
<simpleUserdefined> |
|
6 |
<name>authorCode</name> |
|
7 |
<value>1</value> |
|
8 |
</simpleUserdefined> |
|
5 | 9 |
<projectID>0</projectID> |
6 | 10 |
<plotUniqueIdentifierID>0</plotUniqueIdentifierID> |
7 | 11 |
<simpleUserdefined> |
... | ... | |
14 | 18 |
</simpleUserdefined> |
15 | 19 |
</plotObservation> |
16 | 20 |
<plotObservation id="1"> |
21 |
<simpleUserdefined> |
|
22 |
<name>authorCode</name> |
|
23 |
<value>2</value> |
|
24 |
</simpleUserdefined> |
|
17 | 25 |
<projectID>1</projectID> |
18 | 26 |
<plotUniqueIdentifierID>1</plotUniqueIdentifierID> |
19 | 27 |
<simpleUserdefined> |
mappings/SALVIAS_db-VegBIEN.organisms.csv | ||
---|---|---|
1 | 1 |
SALVIAS:plotObservations,VegBIEN:/taxonoccurrence,Comments |
2 |
PlotCode,"/*_ID/plotevent/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode}","Brad: Same as plotCode, above" |
|
2 |
PlotID,/*_ID/plotevent/authorObsCode/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
3 |
PlotCode,"/*_ID/plotevent/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode/_alt/2}","Brad: Same as plotCode, above" |
|
3 | 4 |
NoInd,/collectiveobservation/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this." |
4 | 5 |
cover_percent,/collectiveobservation/cover, |
5 | 6 |
intercept_cm,"/collectiveobservation/definedValue[*_ID/userDefined[tableName=collectiveobservation,userDefinedName=interceptCm]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance." |
... | ... | |
28 | 29 |
infra_ep_1,"/taxondetermination[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Subspecies]:[determinationType=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName/_name/last", |
29 | 30 |
OrigFamily,"/taxondetermination[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Family]:[determinationType=Author,originaldetermination=true,currentdetermination=true,determinationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",Brad: OMIT |
30 | 31 |
OrigSpecies,"/{taxondetermination[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Species]:[determinationType=Author,originaldetermination=true,currentdetermination=true,determinationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName,taxondetermination[ROLE_ID/aux_Role/roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}",Brad: OMIT |
31 |
PlotObsID,":[collectiveobservation/count/_alt/2=1]/{taxondetermination[ROLE_ID/aux_Role/roleCode=collector]:[determinationType=Author,originaldetermination=true,currentdetermination=false,determinationDate=epoch,*_ID/plantConcept:[*_ID/reference],*_ID/party]/museumAccessionNumber,*_ID/plotevent/*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later." |
|
32 |
PlotObsID,":[collectiveobservation/count/_alt/2=1]/{taxondetermination[ROLE_ID/aux_Role/roleCode=collector]:[determinationType=Author,originaldetermination=true,currentdetermination=false,determinationDate=epoch,*_ID/plantConcept:[*_ID/reference],*_ID/party]/museumAccessionNumber,*_ID/plotevent/authorObsCode/_alt/2,*_ID/plotevent/*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later." |
mappings/VegX-VegBIEN.plots.csv | ||
---|---|---|
17 | 17 |
/*UniqueIdentifierID->/*s/plot/geospatial/maximumElevationInMeters,"/*_ID/plot/{elevation/_avg/max,elevationRange/_range/to}" |
18 | 18 |
/*UniqueIdentifierID->/*s/plot/geospatial/minimumElevationInMeters,"/*_ID/plot/{elevation/_avg/min,elevationRange/_range/from}" |
19 | 19 |
/*ID->/*s/project/title,/*_ID/project/projectName |
20 |
/simpleUserdefined[name=authorCode]/value,/authorObsCode/_alt/1 |
|
20 | 21 |
->/*s/communityDetermination[*ID]/communityConcepts/communityConcept/commonName,/commClass/commdetermination/*_ID/commConcept/*_ID/*/commName |
21 | 22 |
->/*s/communityDetermination[*ID]/communityConcepts/communityConcept/name,/commClass/commdetermination/*_ID/commConcept/commDescription |
22 | 23 |
/simpleUserdefined[name=precipMm]/value,"/definedValue[*_ID/userDefined[tableName=plotevent,userDefinedName=precipitationMm]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue" |
... | ... | |
48 | 49 |
->/*s/abioticObservation[*ID]/simpleUserdefined[name=texture]/value,/soilObs:[soilHorizon=unknown]/soilTexture |
49 | 50 |
/*UniqueIdentifierID->/*s/plot/geospatial/maximumDepthInMeters,/waterDepth/max |
50 | 51 |
/*UniqueIdentifierID->/*s/plot/geospatial/minimumDepthInMeters,/waterDepth/min |
51 |
/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier,"/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode}" |
|
52 |
/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier,"/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode/_alt/2}" |
mappings/VegX-VegBIEN.organisms.csv | ||
---|---|---|
17 | 17 |
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/maximumElevationInMeters,"/*_ID/plotevent/*_ID/plot/{elevation/_avg/max,elevationRange/_range/to}" |
18 | 18 |
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/minimumElevationInMeters,"/*_ID/plotevent/*_ID/plot/{elevation/_avg/min,elevationRange/_range/from}" |
19 | 19 |
/*ID->/*s/plotObservation/*ID->/*s/project/title,/*_ID/plotevent/*_ID/project/projectName |
20 |
/*ID->/*s/plotObservation/simpleUserdefined[name=authorCode]/value,/*_ID/plotevent/authorObsCode/_alt/1 |
|
20 | 21 |
/*ID->/*s/plotObservation->/*s/communityDetermination[*ID]/communityConcepts/communityConcept/commonName,/*_ID/plotevent/commClass/commdetermination/*_ID/commConcept/*_ID/*/commName |
21 | 22 |
/*ID->/*s/plotObservation->/*s/communityDetermination[*ID]/communityConcepts/communityConcept/name,/*_ID/plotevent/commClass/commdetermination/*_ID/commConcept/commDescription |
22 | 23 |
/*ID->/*s/plotObservation/simpleUserdefined[name=precipMm]/value,"/*_ID/plotevent/definedValue[*_ID/userDefined[tableName=plotevent,userDefinedName=precipitationMm]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue" |
... | ... | |
48 | 49 |
/*ID->/*s/plotObservation->/*s/abioticObservation[*ID]/simpleUserdefined[name=texture]/value,/*_ID/plotevent/soilObs:[soilHorizon=unknown]/soilTexture |
49 | 50 |
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/maximumDepthInMeters,/*_ID/plotevent/waterDepth/max |
50 | 51 |
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/geospatial/minimumDepthInMeters,/*_ID/plotevent/waterDepth/min |
51 |
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier,"/*_ID/plotevent/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode}" |
|
52 |
/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier,"/*_ID/plotevent/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode/_alt/2}"
|
|
52 | 53 |
/simpleUserdefined[name=count]/value,/collectiveobservation/count/_alt/1 |
53 | 54 |
/simpleUserdefined[name=coverPercent]/value,/collectiveobservation/cover |
54 | 55 |
/simpleUserdefined[name=interceptCm]/value,"/collectiveobservation/definedValue[*_ID/userDefined[tableName=collectiveobservation,userDefinedName=interceptCm]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue" |
... | ... | |
106 | 107 |
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=ssp])/Name","/taxondetermination[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Subspecies]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName" |
107 | 108 |
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonName)/Simple","/{taxondetermination[ROLE_ID/aux_Role/roleCode=identifier,!*_ID/plantConcept/plantStatus]:[determinationType=Author,originaldetermination=true,currentdetermination=true,determinationDate=epoch,*_ID/party]/*_ID/plantConcept:[*_ID/reference]/*_ID/*/plantName,taxondetermination[ROLE_ID/aux_Role/roleCode=collector]/*_ID/plantConcept:[*_ID/reference]/*_ID/*/plantName/_alt/1}" |
108 | 109 |
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=sp])/Name","/{taxondetermination[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Species]:[determinationType=Author,originaldetermination=true,currentdetermination=true,determinationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName,taxondetermination[ROLE_ID/aux_Role/roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}" |
109 |
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,":[collectiveobservation/count/_alt/2=1]/{taxondetermination[ROLE_ID/aux_Role/roleCode=collector]:[determinationType=Author,originaldetermination=true,currentdetermination=false,determinationDate=epoch,*_ID/plantConcept:[*_ID/reference],*_ID/party]/museumAccessionNumber,*_ID/plotevent/*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/3}" |
|
110 |
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,":[collectiveobservation/count/_alt/2=1]/{taxondetermination[ROLE_ID/aux_Role/roleCode=collector]:[determinationType=Author,originaldetermination=true,currentdetermination=false,determinationDate=epoch,*_ID/plantConcept:[*_ID/reference],*_ID/party]/museumAccessionNumber,*_ID/plotevent/authorObsCode/_alt/2,*_ID/plotevent/*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/3}" |
mappings/NYBG-VegBIEN.organisms.csv | ||
---|---|---|
38 | 38 |
Subspecies,"/taxondetermination[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Subspecies]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName", |
39 | 39 |
ScientificName,"/{taxondetermination[ROLE_ID/aux_Role/roleCode=identifier,!*_ID/plantConcept/plantStatus]:[determinationType=Author,originaldetermination=true,currentdetermination=true,determinationDate=epoch,*_ID/party]/*_ID/plantConcept:[*_ID/reference]/*_ID/*/plantName,taxondetermination[ROLE_ID/aux_Role/roleCode=collector]/*_ID/plantConcept:[*_ID/reference]/*_ID/*/plantName/_alt/1}","Brad: Bob, Nick, please is this mapping OK?" |
40 | 40 |
Species,"/{taxondetermination[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Species]:[determinationType=Author,originaldetermination=true,currentdetermination=true,determinationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName,taxondetermination[ROLE_ID/aux_Role/roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}", |
41 |
UniqueNYInternalRecordNumber,":[collectiveobservation/count/_alt/2=1]/{taxondetermination[ROLE_ID/aux_Role/roleCode=collector]:[determinationType=Author,originaldetermination=true,currentdetermination=false,determinationDate=epoch,*_ID/plantConcept:[*_ID/reference],*_ID/party]/museumAccessionNumber,*_ID/plotevent/*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/3}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key" |
|
41 |
UniqueNYInternalRecordNumber,":[collectiveobservation/count/_alt/2=1]/{taxondetermination[ROLE_ID/aux_Role/roleCode=collector]:[determinationType=Author,originaldetermination=true,currentdetermination=false,determinationDate=epoch,*_ID/plantConcept:[*_ID/reference],*_ID/party]/museumAccessionNumber,*_ID/plotevent/authorObsCode/_alt/2,*_ID/plotevent/*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/3}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key" |
mappings/for_review/SALVIAS_db-VegBIEN.organisms.csv | ||
---|---|---|
1 | 1 |
SALVIAS:plotObservations,VegBIEN:/taxonoccurrence,Comments |
2 |
PlotCode,"/*_ID/plotevent/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode}","Brad: Same as plotCode, above" |
|
2 |
PlotID,//plotevent/authorObsCode/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
3 |
PlotCode,"/*_ID/plotevent/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode/_alt/2}","Brad: Same as plotCode, above" |
|
3 | 4 |
NoInd,//collectiveobservation/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this." |
4 | 5 |
cover_percent,//collectiveobservation/cover, |
5 | 6 |
intercept_cm,"//collectiveobservation/definedValue[*_ID/userDefined[tableName=collectiveobservation,userDefinedName=interceptCm]]/definedValue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance." |
... | ... | |
28 | 29 |
infra_ep_1,"/taxondetermination[roleCode=computer,plantLevel=Subspecies]/*_ID/plantConcept/*_ID/*/plantName/_name/last", |
29 | 30 |
OrigFamily,"/taxondetermination[roleCode=identifier,plantLevel=Family]/*_ID/plantConcept/*_ID/*/plantName",Brad: OMIT |
30 | 31 |
OrigSpecies,"/{taxondetermination[roleCode=identifier,plantLevel=Species]/*_ID/plantConcept/*_ID/*/plantName,taxondetermination[roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}",Brad: OMIT |
31 |
PlotObsID,"/{taxondetermination[roleCode=collector]/museumAccessionNumber,*_ID/plotevent/*_ID/plot/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later." |
|
32 |
PlotObsID,"/{taxondetermination[roleCode=collector]/museumAccessionNumber,*_ID/plotevent/authorObsCode/_alt/2,*_ID/plotevent/*_ID/plot/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later." |
mappings/for_review/VegX-VegBIEN.plots.csv | ||
---|---|---|
17 | 17 |
//geospatial/maximumElevationInMeters,"/*_ID/plot/{elevation/_avg/max,elevationRange/_range/to}" |
18 | 18 |
//geospatial/minimumElevationInMeters,"/*_ID/plot/{elevation/_avg/min,elevationRange/_range/from}" |
19 | 19 |
//project/title,//project/projectName |
20 |
/simpleUserdefined[name=authorCode]/value,/authorObsCode/_alt/1 |
|
20 | 21 |
//*s/communityDetermination/communityConcepts/communityConcept/commonName,//*/commName |
21 | 22 |
//*s/communityDetermination/communityConcepts/communityConcept/name,//commConcept/commDescription |
22 | 23 |
/simpleUserdefined[name=precipMm]/value,"/definedValue[*_ID/userDefined[tableName=plotevent,userDefinedName=precipitationMm]]/definedValue" |
... | ... | |
48 | 49 |
//*s/abioticObservation/simpleUserdefined[name=texture]/value,//soilObs/soilTexture |
49 | 50 |
//geospatial/maximumDepthInMeters,//waterDepth/max |
50 | 51 |
//geospatial/minimumDepthInMeters,//waterDepth/min |
51 |
//plot/plotUniqueIdentifier,"/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode}" |
|
52 |
//plot/plotUniqueIdentifier,"/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode/_alt/2}" |
mappings/for_review/VegX-VegBIEN.organisms.csv | ||
---|---|---|
17 | 17 |
//geospatial/maximumElevationInMeters,"/*_ID/plotevent/*_ID/plot/{elevation/_avg/max,elevationRange/_range/to}" |
18 | 18 |
//geospatial/minimumElevationInMeters,"/*_ID/plotevent/*_ID/plot/{elevation/_avg/min,elevationRange/_range/from}" |
19 | 19 |
//project/title,//project/projectName |
20 |
//plotObservation/simpleUserdefined[name=authorCode]/value,//plotevent/authorObsCode/_alt/1 |
|
20 | 21 |
//*s/communityDetermination/communityConcepts/communityConcept/commonName,//*/commName |
21 | 22 |
//*s/communityDetermination/communityConcepts/communityConcept/name,//commConcept/commDescription |
22 | 23 |
//plotObservation/simpleUserdefined[name=precipMm]/value,"//plotevent/definedValue[*_ID/userDefined[tableName=plotevent,userDefinedName=precipitationMm]]/definedValue" |
... | ... | |
48 | 49 |
//*s/abioticObservation/simpleUserdefined[name=texture]/value,//soilObs/soilTexture |
49 | 50 |
//geospatial/maximumDepthInMeters,//waterDepth/max |
50 | 51 |
//geospatial/minimumDepthInMeters,//waterDepth/min |
51 |
//plot/plotUniqueIdentifier,"/*_ID/plotevent/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode}" |
|
52 |
//plot/plotUniqueIdentifier,"/*_ID/plotevent/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode/_alt/2}"
|
|
52 | 53 |
/simpleUserdefined[name=count]/value,//collectiveobservation/count/_alt/1 |
53 | 54 |
/simpleUserdefined[name=coverPercent]/value,//collectiveobservation/cover |
54 | 55 |
/simpleUserdefined[name=interceptCm]/value,"//collectiveobservation/definedValue[*_ID/userDefined[tableName=collectiveobservation,userDefinedName=interceptCm]]/definedValue" |
... | ... | |
106 | 107 |
//*s/taxonConcept[@code=ssp]/Name,"/taxondetermination[roleCode=identifier,plantLevel=Subspecies]/*_ID/plantConcept/*_ID/*/plantName" |
107 | 108 |
//taxonName/Simple,"/{taxondetermination[roleCode=identifier]/*_ID/plantConcept/*_ID/*/plantName,taxondetermination[roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/1}" |
108 | 109 |
//*s/taxonConcept[@code=sp]/Name,"/{taxondetermination[roleCode=identifier,plantLevel=Species]/*_ID/plantConcept/*_ID/*/plantName,taxondetermination[roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}" |
109 |
//taxonNameUsageConcept/voucher,"/{taxondetermination[roleCode=collector]/museumAccessionNumber,*_ID/plotevent/*_ID/plot/authorPlotCode/_alt/3}" |
|
110 |
//taxonNameUsageConcept/voucher,"/{taxondetermination[roleCode=collector]/museumAccessionNumber,*_ID/plotevent/authorObsCode/_alt/2,*_ID/plotevent/*_ID/plot/authorPlotCode/_alt/3}" |
mappings/for_review/NYBG-VegBIEN.organisms.csv | ||
---|---|---|
38 | 38 |
Subspecies,"/taxondetermination[roleCode=identifier,plantLevel=Subspecies]/*_ID/plantConcept/*_ID/*/plantName", |
39 | 39 |
ScientificName,"/{taxondetermination[roleCode=identifier]/*_ID/plantConcept/*_ID/*/plantName,taxondetermination[roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/1}","Brad: Bob, Nick, please is this mapping OK?" |
40 | 40 |
Species,"/{taxondetermination[roleCode=identifier,plantLevel=Species]/*_ID/plantConcept/*_ID/*/plantName,taxondetermination[roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}", |
41 |
UniqueNYInternalRecordNumber,"/{taxondetermination[roleCode=collector]/museumAccessionNumber,*_ID/plotevent/*_ID/plot/authorPlotCode/_alt/3}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key" |
|
41 |
UniqueNYInternalRecordNumber,"/{taxondetermination[roleCode=collector]/museumAccessionNumber,*_ID/plotevent/authorObsCode/_alt/2,*_ID/plotevent/*_ID/plot/authorPlotCode/_alt/3}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key" |
mappings/for_review/SALVIAS_db-VegX.plots.csv | ||
---|---|---|
1 | 1 |
SALVIAS:plotMetadata,VegX:/*s/plotObservation,Comments |
2 |
PlotID,,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
2 |
PlotID,/simpleUserdefined[name=authorCode]/value,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
|
|
3 | 3 |
orig_filename,, |
4 | 4 |
AccessCode,, |
5 | 5 |
project_id,//project/title, |
mappings/for_review/SALVIAS-VegBIEN.plots.csv | ||
---|---|---|
37 | 37 |
sand_percent,//soilObs/soilSand, |
38 | 38 |
silt_percent,//soilObs/soilSilt, |
39 | 39 |
soil_texture,//soilObs/soilTexture, |
40 |
plot_code,"/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
40 |
plot_code,"/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode/_alt/2}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
mappings/for_review/SALVIAS_db-VegX.organisms.csv | ||
---|---|---|
1 | 1 |
SALVIAS:plotObservations,VegX:/*s/individualOrganismObservation,Comments |
2 | 2 |
PlotObsID,//taxonNameUsageConcept/voucher,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later." |
3 |
PlotID,,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
3 |
PlotID,//plotObservation/simpleUserdefined[name=authorCode]/value,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
|
|
4 | 4 |
PlotCode,//plot/plotUniqueIdentifier,"Brad: Same as plotCode, above" |
5 | 5 |
census_no,/simpleUserdefined[name=censusNo]/value,"Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not." |
6 | 6 |
census_date,/simpleUserdefined[name=collectionDate]/value/_date/date, |
mappings/for_review/SALVIAS-VegBIEN.organisms.csv | ||
---|---|---|
1 | 1 |
SALVIAS,VegBIEN:/taxonoccurrence,Comments |
2 | 2 |
plot_code,//plot/authorPlotCode/_alt/1,"Brad: Same as plotCode, above" |
3 | 3 |
census_date,//plotevent/obsStartDate/_date/year, |
4 |
subplot,"/*_ID/plotevent/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode}", |
|
4 |
subplot,"/*_ID/plotevent/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode/_alt/2}",
|
|
5 | 5 |
no_of_individuals,//collectiveobservation/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this." |
6 | 6 |
cover_percent,//collectiveobservation/cover, |
7 | 7 |
intercept_cm,"//collectiveobservation/definedValue[*_ID/userDefined[tableName=collectiveobservation,userDefinedName=interceptCm]]/definedValue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance." |
... | ... | |
37 | 37 |
infra_ep_1,"/taxondetermination[roleCode=computer,plantLevel=Subspecies]/*_ID/plantConcept/*_ID/*/plantName/_name/last", |
38 | 38 |
orig_family,"/taxondetermination[roleCode=identifier,plantLevel=Family]/*_ID/plantConcept/*_ID/*/plantName",Brad: OMIT |
39 | 39 |
orig_species,"/{taxondetermination[roleCode=identifier,plantLevel=Species]/*_ID/plantConcept/*_ID/*/plantName,taxondetermination[roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}",Brad: OMIT |
40 |
OBSERVATION_ID,"/{taxondetermination[roleCode=collector]/museumAccessionNumber,*_ID/plotevent/*_ID/plot/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later." |
|
40 |
OBSERVATION_ID,"/{taxondetermination[roleCode=collector]/museumAccessionNumber,*_ID/plotevent/authorObsCode/_alt/2,*_ID/plotevent/*_ID/plot/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later." |
mappings/for_review/SALVIAS_db-VegBIEN.plots.csv | ||
---|---|---|
13 | 13 |
elev_max_m,"/*_ID/plot/{elevation/_avg/max,elevationRange/_range/to}", |
14 | 14 |
elev_min_m,"/*_ID/plot/{elevation/_avg/min,elevationRange/_range/from}", |
15 | 15 |
project_id,//project/projectName, |
16 |
PlotID,/authorObsCode/_alt/1,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
16 | 17 |
life_zone_code,//*/commName, |
17 | 18 |
life_zone,//commConcept/commDescription, |
18 | 19 |
Precip,"/definedValue[*_ID/userDefined[tableName=plotevent,userDefinedName=precipitationMm]]/definedValue", |
... | ... | |
37 | 38 |
sand_percent,//soilObs/soilSand, |
38 | 39 |
silt_percent,//soilObs/soilSilt, |
39 | 40 |
soil_texture,//soilObs/soilTexture, |
40 |
SiteCode,"/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
41 |
SiteCode,"/{*_ID/plot/authorPlotCode/_alt/2,authorObsCode/_alt/2}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
mappings/SALVIAS_db-VegX.plots.csv | ||
---|---|---|
1 | 1 |
"SALVIAS:plotMetadata","VegX:/*s/plotObservation","Comments" |
2 |
"PlotID",,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
2 |
"PlotID","/simpleUserdefined[name=authorCode]/value","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
|
|
3 | 3 |
"orig_filename",, |
4 | 4 |
"AccessCode",, |
5 | 5 |
"project_id","/*ID->/*s/project/title", |
mappings/SALVIAS-VegBIEN.plots.csv | ||
---|---|---|
37 | 37 |
sand_percent,/soilObs:[soilHorizon=unknown]/soilSand, |
38 | 38 |
silt_percent,/soilObs:[soilHorizon=unknown]/soilSilt, |
39 | 39 |
soil_texture,/soilObs:[soilHorizon=unknown]/soilTexture, |
40 |
plot_code,"/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
40 |
plot_code,"/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode/_alt/2}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
mappings/SALVIAS_db-VegX.organisms.csv | ||
---|---|---|
1 | 1 |
"SALVIAS:plotObservations","VegX:/*s/individualOrganismObservation","Comments" |
2 | 2 |
"PlotObsID","/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later." |
3 |
"PlotID",,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
|
3 |
"PlotID","/*ID->/*s/plotObservation/simpleUserdefined[name=authorCode]/value","Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
|
|
4 | 4 |
"PlotCode","/*ID->/*s/plotObservation/*UniqueIdentifierID->/*s/plot/plotUniqueIdentifier","Brad: Same as plotCode, above" |
5 | 5 |
"census_no","/simpleUserdefined[name=censusNo]/value","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not." |
6 | 6 |
"census_date","/simpleUserdefined[name=collectionDate]/value/_date/date", |
mappings/SALVIAS-VegBIEN.organisms.csv | ||
---|---|---|
1 | 1 |
SALVIAS,VegBIEN:/taxonoccurrence,Comments |
2 | 2 |
plot_code,/*_ID/plotevent/*_ID/plot/PARENT_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/1,"Brad: Same as plotCode, above" |
3 | 3 |
census_date,/*_ID/plotevent/obsStartDate/_date/year, |
4 |
subplot,"/*_ID/plotevent/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode}", |
|
4 |
subplot,"/*_ID/plotevent/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode/_alt/2}",
|
|
5 | 5 |
no_of_individuals,/collectiveobservation/count/_alt/1,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this." |
6 | 6 |
cover_percent,/collectiveobservation/cover, |
7 | 7 |
intercept_cm,"/collectiveobservation/definedValue[*_ID/userDefined[tableName=collectiveobservation,userDefinedName=interceptCm]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue","Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance." |
... | ... | |
37 | 37 |
infra_ep_1,"/taxondetermination[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Subspecies]:[determinationType=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName/_name/last", |
38 | 38 |
orig_family,"/taxondetermination[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Family]:[determinationType=Author,originaldetermination=true,currentdetermination=true,determinationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName",Brad: OMIT |
39 | 39 |
orig_species,"/{taxondetermination[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Species]:[determinationType=Author,originaldetermination=true,currentdetermination=true,determinationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName,taxondetermination[ROLE_ID/aux_Role/roleCode=collector]/*_ID/plantConcept/*_ID/*/plantName/_alt/2}",Brad: OMIT |
40 |
OBSERVATION_ID,":[collectiveobservation/count/_alt/2=1]/{taxondetermination[ROLE_ID/aux_Role/roleCode=collector]:[determinationType=Author,originaldetermination=true,currentdetermination=false,determinationDate=epoch,*_ID/plantConcept:[*_ID/reference],*_ID/party]/museumAccessionNumber,*_ID/plotevent/*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later." |
|
40 |
OBSERVATION_ID,":[collectiveobservation/count/_alt/2=1]/{taxondetermination[ROLE_ID/aux_Role/roleCode=collector]:[determinationType=Author,originaldetermination=true,currentdetermination=false,determinationDate=epoch,*_ID/plantConcept:[*_ID/reference],*_ID/party]/museumAccessionNumber,*_ID/plotevent/authorObsCode/_alt/2,*_ID/plotevent/*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/3}","Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later." |
mappings/SALVIAS_db-VegBIEN.plots.csv | ||
---|---|---|
13 | 13 |
elev_max_m,"/*_ID/plot/{elevation/_avg/max,elevationRange/_range/to}", |
14 | 14 |
elev_min_m,"/*_ID/plot/{elevation/_avg/min,elevationRange/_range/from}", |
15 | 15 |
project_id,/*_ID/project/projectName, |
16 |
PlotID,/authorObsCode/_alt/1,"Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
16 | 17 |
life_zone_code,/commClass/commdetermination/*_ID/commConcept/*_ID/*/commName, |
17 | 18 |
life_zone,/commClass/commdetermination/*_ID/commConcept/commDescription, |
18 | 19 |
Precip,"/definedValue[*_ID/userDefined[tableName=plotevent,userDefinedName=precipitationMm]:[userDefinedType=varchar]]:[@fkey=tableRecord_ID]/definedValue", |
... | ... | |
37 | 38 |
sand_percent,/soilObs:[soilHorizon=unknown]/soilSand, |
38 | 39 |
silt_percent,/soilObs:[soilHorizon=unknown]/soilSilt, |
39 | 40 |
soil_texture,/soilObs:[soilHorizon=unknown]/soilTexture, |
40 |
SiteCode,"/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
41 |
SiteCode,"/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode/_alt/2,authorObsCode/_alt/2}",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
Also available in: Unified diff
SALVIAS mappings: use PlotID as authorObsCode to link plot observations and organisms correctly for organisms without a PlotCode