Project

General

Profile

« Previous | Next » 

Revision 7404

mappings/VegCore.csv: Regenerated from wiki

View differences:

inputs/bien2_traits/TraitObservation/new_terms.csv
2 2
InfraspecificRank,taxonRank,,
3 3
Taxon,taxonName,,
4 4
AuthorOfScientificName,scientificNameAuthorship,,
5
TraitValue,measurementValue,,
6
Unit,measurementUnit,,
7 5
LocalityDescription,verbatimLocality,,
8 6
TaxonomyID_index,OMIT,,
9 7
Family_index,OMIT,,
inputs/SALVIAS/stems/new_terms.csv
1 1
PlotObsID,individualID,,
2 2
NoInd,stemCount,,
3
basal_diam,basalDiameter,,
4 3
stem_dbh,diameterBreastHeight_cm,,"Assuming units based on the units for plotObservations.intercept_cm, which measures the same dimension"
5
gentry_dbh,diameterBreastHeightGentry,,
6 4
stem_tag1,tag,/_alt/2,"The second tag supercedes the first. Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
7 5
stem_tag2,tag,/_alt/1,"The second tag supercedes the first. Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
8 6
stem_height_m,height_m,,"""Total height of this stem only, in meters"" (stem_height_m definition at < http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data>). Brad: Same as for height, but applies to individuals stems, not trees. Rare."
9 7
stem_height_first_branch_m,heightFirstBranch,,"Brad: Same as for ht_first_branch_m, but applies to individuals stems, not trees. Rare."
10
stem_canopy_form,canopyForm,,
11
stem_canopy_position,canopyPosition,,
12
stem_liana_infestation,lianaInfestation,,
13 8
plotobs_id_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
inputs/SALVIAS/plotObservations/new_terms.csv
1 1
PlotObsID,individualID,,"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."
2 2
PlotCode,locationName,,
3
census_no,censusNumber,,"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."
4 3
census_date,eventDate,,"This is for the subplot, not the organism, as all organisms in a subplot have the same value for it. The following query returns no rows:
5 4
-----
6 5
SELECT ""PlotID"", ""Line"", count(DISTINCT census_date) AS census_date_count
......
12 11
Line,subplot,,
13 12
Ind,individualCode,,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
14 13
tag1,tag,/_alt/2,"The second tag supercedes the first. Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
15
tag2,tag,/_alt/1,"The second tag supercedes the first. Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
16 14
x_position,organismX_m,,"""x coordinate in meters"" (x_position definition at <http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data>). Brad: These are important, fundamental values of many tree plots"
17 15
y_position,organismY_m,,"""y coordinate in meters"" (y_position definition at <http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data>). Brad: See comment above for x_position"
18 16
SourceVoucher,recordNumber,/_alt/2,"Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
19 17
coll_number,recordNumber,/_alt/1,Brad: Map instead as for voucher_string
20 18
coll_lastname,recordedBy_surName,,"Brad: This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
21 19
coll_firstname,recordedBy_givenName,,Brad: See comment above
22
DetType,voucherType,,"Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
23 20
det_by,identifiedBy,,
24 21
fam_status,OMIT,,Brad: OMIT. This will be determined later by using TNRS.
25 22
gen_status,OMIT,,Brad: OMIT. This will be determined later by using TNRS.
......
27 24
auth,scientificNameAuthorship,,Brad: This is the author of the scientificName.
28 25
infra_rank_1,taxonRank,,
29 26
infra_ep_1,infraspecificEpithet,,
30
ht_first_branch_m,heightFirstBranch,,
31 27
NoInd,individualCount,,"Brad: 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."
32 28
cfaff,identificationQualifier,,"Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
33 29
OrigFamily,originalFamily,,Brad: OMIT
inputs/SALVIAS/plotMetadata_/new_terms.csv
15 15
Temp,temperature,,
16 16
soil_N,nitrogen_percent,,Assuming units are % based on the range of values
17 17
soil_P,phosphorus_percent,"/_map:[""<1,5""=0,*=*]/value",Assuming units are % based on the range of values
18
soil_C,carbon_percent,,Assuming units are % based on the range of values
19 18
soil_K,potassium_percent,,Assuming units are % based on the range of values
20 19
soil_Mg,magnesium_percent,,Assuming units are % based on the range of values
21
soil_Ca,calcium_percent,,Assuming units are % based on the range of values
22
soil_Na,sodium_percent,,Assuming units are % based on the range of values
23
soil_acidity,acidity_percent,"/_map:[""<0.05""=0,*=*]/value",Assuming units are % based on the range of values
24 20
soil_base,baseSaturation_percent,,Assuming units are % based on the range of values
25
soil_cation_cap,cationExchangeCapacity_cmol_kg,,
26
soil_conductivity,conductivity,,
27
soil_texture,texture,,
28 21
Locality_Description,locality,,"Brad: No; this is free text description of locality where plot was situated, same as for DwC. Not a description of vegetation. Most likely='namedPlace.placeDescription' in VB; not sure about VX, again need to ask Nick where locality descriptions live in VX"
29 22
topography_desc,landform,,
30 23
vegetation_1,communityID,/_alt/2,Second because less detailed than vegetation_2
inputs/bien_web/observation/map.csv
36 36
plotMethod,samplingProtocol,,
37 37
latitude,decimalLatitude,,
38 38
longitude,decimalLongitude,,
39
isValidLatLong,*isValidLatLong,,
40
isGeovalid,*isGeovalid,,
39
isValidLatLong,isValidLatLong,,
40
isGeovalid,isGeovalid,,
41 41
isNewWorld,isNewWorld,,
42 42
elevation_m,elevationInMeters,,
43 43
isCultivated,cultivated,,
......
48 48
abund10,*abund10,,
49 49
pctCover,coverPercent,,
50 50
traitName,traitName,,
51
traitValue,*traitValue,,
51
traitValue,traitValue,,
52 52
traitUnit,*traitUnit,,
53 53
traitMethod,*traitMethod,,
54 54
observationID_index,OMIT,,Placeholder column created by MySQL to PostgreSQL translation
inputs/bien_web/observation/VegBIEN.csv
95 95
isCultivatedReason,,** No join mapping for cultivatedBasis ** 
96 96
isCultivatedReason_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
97 97
isCultivated_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
98
isGeovalid,,** No join mapping for *isGeovalid ** 
98
isGeovalid,,** No join mapping for isGeovalid ** 
99 99
isGeovalid_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
100 100
isNewWorld,,** No join mapping for isNewWorld ** 
101 101
isNewWorld_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
102
isValidLatLong,,** No join mapping for *isValidLatLong ** 
102
isValidLatLong,,** No join mapping for isValidLatLong ** 
103 103
isValidLatLong_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
104 104
localityDescription,,** No join mapping for *localityDescription ** 
105 105
observationID_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
......
127 127
traitName_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
128 128
traitUnit,,** No join mapping for *traitUnit ** 
129 129
traitUnit_index,,** No non-empty join mapping for OMIT ** Placeholder column created by MySQL to PostgreSQL translation
130
traitValue,,** No join mapping for *traitValue ** 
130
traitValue,,** No join mapping for traitValue ** 
inputs/bien_web/observation/new_terms.csv
1 1
observationID,occurrenceID,,
2
dataSourceName,institutionCode,,
3 2
taxon,scientificName,,
4 3
taxonAuthor,scientificNameAuthorship,,
5 4
taxonMorphospecies,scientificNameWithMorphospecies,,
inputs/bien_web/observation/unmapped_terms.csv
14 14
*stateProvinceError
15 15
*localityDescription
16 16
*plotMinDbh
17
*isValidLatLong
18
*isGeovalid
17
isValidLatLong
18
isGeovalid
19 19
isNewWorld
20 20
cultivatedBasis
21 21
*abund
......
23 23
*abund2.5
24 24
*abund10
25 25
traitName
26
*traitValue
26
traitValue
27 27
*traitUnit
28 28
*traitMethod
inputs/Madidi/Location/new_terms.csv
1
Area,plotArea_ha,,
2 1
LatitudeDecDeg,decimalLatitude,,
3 2
LongitudeDecDeg,decimalLongitude,,
4 3
UpperName,stateProvince,,
inputs/SALVIAS-CSV/Organism/new_terms.csv
1 1
OBSERVATION_ID,individualID,,"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."
2 2
plot_code,locationName,,
3
census_no,censusNumber,,"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."
4 3
census_date,eventDate,,"This is for the subplot, not the organism, as all organisms in a subplot have the same value for it. The following query returns no rows:
5 4
-----
6 5
SELECT ""PLOT_ID"", subplot, count(DISTINCT census_date) AS census_date_count
......
10 9
HAVING count(DISTINCT census_date) > 1
11 10
-----"
12 11
tag1,tag,/_alt/2/_alt/2,"The second tag supercedes the first. The stem tag supercedes the tree tag. Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
13
tag2,tag,/_alt/2/_alt/1,"The second tag supercedes the first. The stem tag supercedes the tree tag. Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
14 12
x_position,organismX_m,,"""x coordinate in meters"" (x_position definition at <http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data>). Brad: These are important, fundamental values of many tree plots"
15 13
y_position,organismY_m,,"""y coordinate in meters"" (y_position definition at <http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data>). Brad: See comment above for x_position"
16 14
voucher_string,recordNumber,/_alt/2,"Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
17 15
coll_number,recordNumber,/_alt/1,Brad: Map instead as for voucher_string
18 16
coll_lastname,recordedBy_surName,,"Brad: This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
19 17
coll_firstname,recordedBy_givenName,,Brad: See comment above
20
det_type,voucherType,,"Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
21 18
specific_authority,scientificNameAuthorship,,Brad: This is the author of the scientificName.
22 19
infra_rank_1,taxonRank,,
23 20
infra_ep_1,infraspecificEpithet,,
24 21
cf_aff,identificationQualifier,,"Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
25 22
no_of_individuals,individualCount,,"Brad: 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."
26
ht_first_branch_m,heightFirstBranch,,
27 23
stem_tag1,tag,/_alt/1/_alt/2,"The second tag supercedes the first. The stem tag supercedes the tree tag. Brad: Same as tag1 & tag2, but applied to individual stems. I'm still not clear how to distinguish between methods which tag only individuals trees, and those which tag individual stems."
28 24
stem_tag2,tag,/_alt/1/_alt/1,The second tag supercedes the first. The stem tag supercedes the tree tag. Brad: see above
29 25
stem_dbh,diameterBreastHeight_cm,,"Assuming units based on the units for intercept_cm, which measures the same dimension"
30
basal_diam,basalDiameter,,
31 26
stem_height_m,height_m,/_alt/1,"""Total height of this stem only, in meters"" (stem_height_m definition at < http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data>). Brad: Same as for height, but applies to individuals stems, not trees. Rare."
32 27
stem_height_first_branch_m,heightFirstBranch,,"Brad: Same as for ht_first_branch_m, but applies to individuals stems, not trees. Rare."
33
stem_canopy_form,canopyForm,,
34
stem_canopy_position,canopyPosition,,
35
stem_liana_infestation,lianaInfestation,,
36 28
orig_family,originalFamily,,Brad: OMIT
37 29
orig_species,originalSpecificEpithet,,Brad: OMIT
inputs/SALVIAS-CSV/Plot/new_terms.csv
10 10
elev_max_m,maximumElevationInMeters,,
11 11
elev_min_m,minimumElevationInMeters,,
12 12
temp_c,temperature,,
13
precip_mm,precipitation,,
14 13
soil_N,nitrogen_percent,,Assuming units are % based on the range of values
15 14
soil_P,phosphorus_percent,"/_map:[""<0.05""=0,*=*]/value",Assuming units are % based on the range of values
16
soil_C,carbon_percent,,Assuming units are % based on the range of values
17 15
soil_K,potassium_percent,,Assuming units are % based on the range of values
18 16
soil_Mg,magnesium_percent,,Assuming units are % based on the range of values
19
soil_Ca,calcium_percent,,Assuming units are % based on the range of values
20
soil_Na,sodium_percent,,Assuming units are % based on the range of values
21
soil_acidity,acidity_percent,"/_map:[""<0.05""=0,*=*]/value",Assuming units are % based on the range of values
22 17
soil_base,baseSaturation_percent,,Assuming units are % based on the range of values
23
soil_cation_cap,cationExchangeCapacity_cmol_kg,,
24
soil_conductivity,conductivity,,
25
soil_texture,texture,,
26 18
holdridge_life_zone,communityID,,
27 19
life_zone_code,communityName,,
28 20
plot_methodology,samplingProtocol,,
inputs/CVS/observation_/new_terms.csv
1 1
OBSERVATION_ID,eventID,,
2
obsStartDate,startDate,,
3
obsEndDate,endDate,,
4 2
methodNarrative,samplingProtocol,,
5 3
soilOrganic,organic_percent,,
6
soilTexture,texture,,
7 4
soilSand,sand_percent,,
8 5
soilSilt,silt_percent,,
9 6
soilClay,clay_percent,,
10 7
soilPH,ph,,
11
exchangeCapacity,cationExchangeCapacity_cmol_kg,,
inputs/CVS/plot_/new_terms.csv
3 3
confidentialityStatus,accessRights,"/_map:[./{0,1,2,3,4}=public,5=""data by request"",6=private]/value",Values defined at <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1581&entity=dba_fielddescription&params=1581>
4 4
confidentialityStatus,coordinateUncertaintyInMeters,"/_alt/1/_km_to_m/value/_map:[1=1,2=10,3=100,./{0,4,5,6}=]/value",Values defined at <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1581&entity=dba_fielddescription&params=1581>
5 5
shape,footprintWKT,,
6
area,plotArea_m2,,"""Total area of the plot in m2"" (area definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename>)"
7 6
area|country|territory,country,,
8 7
region|state|province,stateProvince,,
inputs/NVS/Plot/new_terms.csv
1 1
Plot,locationName,,
2
Area,plotArea_m2,,Area Units is always m
3 2
Altitude,elevationInMeters,,Altitude Units is always m
4 3
Slope,slopeAspect,,
5 4
Physiography,landform,,
inputs/VegBank/observation_/new_terms.csv
1 1
observation_id,eventID,,
2 2
methodnarrative,samplingProtocol,,
3
obsstartdate,startDate,,
4
obsenddate,endDate,,
5 3
soilorganic,organic_percent,,"""Percent organic content of the soil"" (soilOrganic definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=soilobs&entity=dba_tabledescription&where=where_tablename>)"
6
soiltexture,texture,,
7 4
soilsand,sand_percent,,"""Percent sand in the soil horizon"" (soilSand definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=soilobs&entity=dba_tabledescription&where=where_tablename>)"
8 5
soilsilt,silt_percent,,"""Percent silt in the soil horizon"" (soilSilt definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=soilobs&entity=dba_tabledescription&where=where_tablename>)"
9 6
soilclay,clay_percent,,"""Percent clay in the soil horizon"" (soilClay definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=soilobs&entity=dba_tabledescription&where=where_tablename>)"
10 7
soilph,ph,,
11
exchangecapacity,cationExchangeCapacity_cmol_kg,,
inputs/VegBank/plot_/new_terms.csv
3 3
confidentialitystatus,accessRights,"/_map:[./{0,1,2,3,4}=public,5=""data by request"",6=private]/value",Values defined at <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1581&entity=dba_fielddescription&params=1581>
4 4
confidentialitystatus,coordinateUncertaintyInMeters,"/_alt/1/_km_to_m/value/_map:[1=1,2=10,3=100,./{0,4,5,6}=]/value",Values defined at <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1581&entity=dba_fielddescription&params=1581>
5 5
shape,footprintWKT,,
6
area,plotArea_m2,,"""Total area of the plot in m2"" (area definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename>)"
7 6
area|country|territory,country,,
8 7
region|state|province,stateProvince,,

Also available in: Unified diff