Revision 5905
Added by Aaron Marcuse-Kubitza over 12 years ago
inputs/Madidi/Organism/VegBIEN.csv | ||
---|---|---|
4 | 4 |
Inventory code,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
5 | 5 |
Specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists", |
6 | 6 |
Specimen,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else", |
7 |
Inventory code,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
7 |
Inventory code,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
8 | 8 |
Inventory name,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
9 | 9 |
Inventory code,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
10 | 10 |
Number of subplot,/location/authorlocationcode, |
... | ... | |
65 | 65 |
Field name,/location/locationevent/taxonoccurrence/taxondetermination[isoriginal=true]/*_id/taxonverbatim/genus,Often = Genera |
66 | 66 |
Index collector,/location/locationevent/taxonoccurrence/verbatimcollectorname, |
67 | 67 |
Specimen,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then", |
68 |
Inventory code,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
68 | 69 |
Number of subplot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists", |
69 | 70 |
Inventory code,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
70 | 71 |
Inventory name,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
inputs/Madidi/Plot/VegBIEN.csv | ||
---|---|---|
1 | 1 |
Madidi,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
Inventory name,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1", |
3 | 3 |
Inventory code,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
4 |
Inventory code,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
4 |
Inventory code,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
5 | 5 |
Inventory name,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
6 | 6 |
Inventory code,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
7 | 7 |
Area,/location/area_m2/_ha_to_m2/value,"""0.1 ha transects"" (""Madidi Transects"" description in <https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/inputs/BIEN2.datasources.xlsx>)" |
... | ... | |
88 | 88 |
Longitude,"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value", |
89 | 89 |
Latitude (DMS),/location/locationplace/*_id/place/*_id/coordinates/verbatimlatitude, |
90 | 90 |
Longitude (DMS),/location/locationplace/*_id/place/*_id/coordinates/verbatimlongitude, |
91 |
Inventory code,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
91 | 92 |
Observaciones,/location/notespublic, |
92 | 93 |
Direction,/location/slopeaspect_deg/_alt/1/_compass/value/_alt/1,Part files provide either this field or OrientaciĆ³n |
93 | 94 |
OrientaciĆ³n/exposicion,/location/slopeaspect_deg/_alt/1/_compass/value/_alt/2,Part files provide either this field or Direction |
inputs/SALVIAS-CSV/Organism/VegBIEN.csv | ||
---|---|---|
7 | 7 |
det_type,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","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." |
8 | 8 |
coll_number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Map instead as for voucher_string |
9 | 9 |
voucher_string,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below." |
10 |
PLOT_ID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
10 |
PLOT_ID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
11 | 11 |
plot_code,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
12 | 12 |
PLOT_ID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
13 | 13 |
subplot,/location/authorlocationcode, |
... | ... | |
108 | 108 |
det_type,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","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." |
109 | 109 |
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/1",Brad: Map instead as for voucher_string |
110 | 110 |
voucher_string,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below." |
111 |
PLOT_ID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
111 | 112 |
subplot,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists", |
112 | 113 |
PLOT_ID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
113 | 114 |
plot_code,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
inputs/SALVIAS-CSV/Plot/VegBIEN.csv | ||
---|---|---|
1 | 1 |
SALVIAS-CSV,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
plot_code,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
3 | 3 |
PLOT_ID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
4 |
PLOT_ID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
4 |
PLOT_ID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
|
|
5 | 5 |
plot_code,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
6 | 6 |
PLOT_ID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
7 | 7 |
plot_area_ha,/location/area_m2/_ha_to_m2/value,"Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed" |
... | ... | |
43 | 43 |
major_geo,/location/locationplace/*_id/place/continent, |
44 | 44 |
country,/location/locationplace/*_id/place/country, |
45 | 45 |
pol2,/location/locationplace/*_id/place/county,Brad: No pol2=countyParish |
46 |
PLOT_ID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
46 | 47 |
pol1,/location/locationplace/*_id/place/stateprovince,Brad: No; pol1=stateProvince |
47 | 48 |
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value, |
48 | 49 |
slope_gradient,/location/slopegradient_fraction/_alt/1, |
inputs/CTFS/StemObservation/VegBIEN.csv | ||
---|---|---|
1 | 1 |
CTFS,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
QuadratID,"/location/_if[@name=""if subplot""]/cond/_exists",Not globally unique; unique only within Site |
3 | 3 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
5 | 5 |
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
6 | 6 |
QuadratID,/location/authorlocationcode,Not globally unique; unique only within Site |
7 | 7 |
QuadratID,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists",Not globally unique; unique only within Site |
... | ... | |
41 | 41 |
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family, |
42 | 42 |
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus, |
43 | 43 |
SpeciesName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/specific_epithet, |
44 |
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
44 | 45 |
QuadratID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",Not globally unique; unique only within Site |
45 | 46 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
46 | 47 |
QuadratID,/location/sourceaccessioncode/_join/2,Not globally unique; unique only within Site |
inputs/CTFS/Subplot/VegBIEN.csv | ||
---|---|---|
1 | 1 |
CTFS,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
QuadratID,"/location/_if[@name=""if subplot""]/cond/_exists",Not globally unique; unique only within Site |
3 | 3 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
5 | 5 |
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
6 | 6 |
QuadratID,/location/authorlocationcode,Not globally unique; unique only within Site |
7 | 7 |
QuadratID,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists",Not globally unique; unique only within Site |
8 | 8 |
PlotID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode", |
9 | 9 |
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
10 |
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
10 | 11 |
QuadratID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",Not globally unique; unique only within Site |
11 | 12 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
12 | 13 |
QuadratID,/location/sourceaccessioncode/_join/2,Not globally unique; unique only within Site |
inputs/CTFS/PlotObservation/VegBIEN.csv | ||
---|---|---|
1 | 1 |
CTFS,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
3 | 3 |
PlotCensusNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/else", |
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
5 | 5 |
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
6 | 6 |
PlotCensusNumber,"/location/locationevent/_if[@name=""if subplot""]/else/authoreventcode", |
7 | 7 |
CensusID,"/location/locationevent/_if[@name=""if subplot""]/else/sourceaccessioncode", |
... | ... | |
15 | 15 |
CensusID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
16 | 16 |
PlotCensusNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
17 | 17 |
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
18 |
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
18 | 19 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
19 | 20 |
Description,,** No join mapping for *Description ** |
inputs/CTFS/TaxonOccurrence/VegBIEN.csv | ||
---|---|---|
1 | 1 |
CTFS,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
3 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
3 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
4 | 4 |
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
5 | 5 |
CensusID,"/location/locationevent/_if[@name=""if subplot""]/else/sourceaccessioncode", |
6 | 6 |
CensusID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/cond/_exists", |
... | ... | |
26 | 26 |
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family, |
27 | 27 |
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus, |
28 | 28 |
SpeciesName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/specific_epithet, |
29 |
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
29 | 30 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
30 | 31 |
Description,,** No join mapping for *Description ** |
31 | 32 |
FamilyID,,** No join mapping for *FamilyID ** |
inputs/CTFS/SubplotObservation/VegBIEN.csv | ||
---|---|---|
1 | 1 |
CTFS,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
QuadratID,"/location/_if[@name=""if subplot""]/cond/_exists",Not globally unique; unique only within Site |
3 | 3 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
5 | 5 |
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
6 | 6 |
QuadratID,/location/authorlocationcode,Not globally unique; unique only within Site |
7 | 7 |
QuadratID,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists",Not globally unique; unique only within Site |
... | ... | |
11 | 11 |
CensusID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/sourceaccessioncode", |
12 | 12 |
CensusID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
13 | 13 |
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
14 |
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
14 | 15 |
QuadratID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists",Not globally unique; unique only within Site |
15 | 16 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
16 | 17 |
QuadratID,/location/sourceaccessioncode/_join/2,Not globally unique; unique only within Site |
inputs/CTFS/Plot/VegBIEN.csv | ||
---|---|---|
1 | 1 |
CTFS,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
PlotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1", |
3 | 3 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
5 | 5 |
PlotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
6 | 6 |
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
7 | 7 |
SizeOfSite,/location/area_m2/_ha_to_m2/value,"""Size in hectares"" (SizeOfSite comments in <https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/inputs/CTFS/_src/ctfs-comments_worksheet.xls>)" |
... | ... | |
24 | 24 |
Latitude,"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value", |
25 | 25 |
Longitude,"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value", |
26 | 26 |
CountryName,/location/locationplace/*_id/place/country, |
27 |
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
27 | 28 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
28 | 29 |
PlotName,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
29 | 30 |
CountryID,,** No join mapping for *CountryID ** |
inputs/FIA/Organism/VegBIEN.csv | ||
---|---|---|
1 | 1 |
FIA,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
PlotCD,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
3 |
PlotCD,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
3 |
PlotCD,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
4 | 4 |
PlotCD,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
5 | 5 |
PlotCD,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode", |
6 | 6 |
MeasDay,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value", |
... | ... | |
26 | 26 |
DecimalLatitude,"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value", |
27 | 27 |
DecimalLongitude,"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value", |
28 | 28 |
County,/location/locationplace/*_id/place/county, |
29 |
PlotCD,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
29 | 30 |
StateProvince,/location/locationplace/*_id/place/stateprovince, |
30 | 31 |
PlotCD,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
31 | 32 |
HOM,,** No join mapping for *HOM ** |
inputs/SALVIAS/plotMetadata/VegBIEN.csv | ||
---|---|---|
1 | 1 |
SALVIAS,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
SiteCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
3 | 3 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata."
|
|
5 | 5 |
SiteCode,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
6 | 6 |
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
7 | 7 |
plot_area_ha,/location/area_m2/_ha_to_m2/value,"Brad: Area in hectares. Is there any way to store units?; Aaron: VegX plot area annotation says ""Total area of the plot in square meters."" so units are fixed" |
... | ... | |
44 | 44 |
MajorGeo,/location/locationplace/*_id/place/continent, |
45 | 45 |
Country,/location/locationplace/*_id/place/country, |
46 | 46 |
pol2,/location/locationplace/*_id/place/county,Brad: No pol2=countyParish |
47 |
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then","Brad: This is artificial internal database ID; a unique identifier within SALVIAS DB to each plot, within the table plotMetadata." |
|
47 | 48 |
PolDiv1,/location/locationplace/*_id/place/stateprovince,Brad: No; pol1=stateProvince |
48 | 49 |
plot_notes,/location/notespublic, |
49 | 50 |
slope_aspect,/location/slopeaspect_deg/_alt/1/_compass/value, |
inputs/SALVIAS/plotObservations/VegBIEN.csv | ||
---|---|---|
7 | 7 |
DetType,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","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." |
8 | 8 |
coll_number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Map instead as for voucher_string |
9 | 9 |
SourceVoucher,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below." |
10 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
10 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
11 | 11 |
PlotCode,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
12 | 12 |
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
13 | 13 |
Line,/location/authorlocationcode, |
... | ... | |
105 | 105 |
DetType,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","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." |
106 | 106 |
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/1",Brad: Map instead as for voucher_string |
107 | 107 |
SourceVoucher,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below." |
108 |
PlotID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
108 | 109 |
Line,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/cond/_exists", |
109 | 110 |
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
110 | 111 |
PlotCode,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2", |
inputs/VegBank/observation_/VegBIEN.csv | ||
---|---|---|
1 | 1 |
VegBank,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
plot_id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
3 | 3 |
authorobscode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/else", |
4 |
plot_id,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
4 |
plot_id,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
5 | 5 |
plot_id,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
6 | 6 |
methodnarrative,/location/locationevent/*_id/method/name, |
7 | 7 |
project_id,/location/locationevent/*_id/project/sourceaccessioncode, |
... | ... | |
25 | 25 |
authorobscode,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
26 | 26 |
observation_id,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
27 | 27 |
plot_id,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists", |
28 |
plot_id,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
28 | 29 |
plot_id,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1", |
29 | 30 |
accessioncode,,** No join mapping for *accessioncode ** |
30 | 31 |
autotaxoncover,,** No join mapping for *autotaxoncover ** |
inputs/VegBank/plot_/VegBIEN.csv | ||
---|---|---|
1 | 1 |
VegBank,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 | 2 |
authorplotcode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1", |
3 | 3 |
plot_id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
4 |
plot_id,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
4 |
plot_id,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else",
|
|
5 | 5 |
authorplotcode,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
6 | 6 |
plot_id,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
7 | 7 |
area,/location/area_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>)" |
... | ... | |
20 | 20 |
area|country|territory,/location/locationplace/*_id/place/country, |
21 | 21 |
country,/location/locationplace/*_id/place/country, |
22 | 22 |
county,/location/locationplace/*_id/place/county, |
23 |
plot_id,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
23 | 24 |
region|state|province,/location/locationplace/*_id/place/stateprovince, |
24 | 25 |
stateprovince,/location/locationplace/*_id/place/stateprovince, |
25 | 26 |
parent_id,/location/parent_id/location/sourceaccessioncode, |
mappings/VegCore-VegBIEN.csv | ||
---|---|---|
11 | 11 |
collectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/2/_join/2", |
12 | 12 |
voucherType,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left", |
13 | 13 |
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else", |
14 |
locationID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
14 |
georeferenceInvalid,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/cond/_exists", |
|
15 |
georeferenceValid,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/cond/_exists", |
|
16 |
locationID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_if[@name=""if geovalidation""]/else", |
|
15 | 17 |
plotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
16 | 18 |
locationID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
17 | 19 |
plotArea_m2,/location/area_m2, |
... | ... | |
312 | 314 |
continent,/location/locationplace/*_id/place/continent, |
313 | 315 |
country,/location/locationplace/*_id/place/country, |
314 | 316 |
county,/location/locationplace/*_id/place/county, |
317 |
georeferenceInvalid,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/cond/_exists", |
|
318 |
georeferenceValid,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/cond/_exists", |
|
319 |
locationID,"/location/locationplace/*_id/place/placecode/_if[@name=""if geovalidation""]/then", |
|
315 | 320 |
stateProvince,/location/locationplace/*_id/place/stateprovince, |
316 | 321 |
plotNotes,/location/notespublic, |
317 | 322 |
parentPlotName,/location/parent_id/location/authorlocationcode, |
mappings/for_review/VegCore-VegBIEN.csv | ||
---|---|---|
11 | 11 |
collectionID,"/location/authorlocationcode/_if[@name=""if catalogNumber""]/then", |
12 | 12 |
voucherType,"/location/authorlocationcode/_if[@name=""if indirect voucher""]/cond", |
13 | 13 |
catalogNumber,"/location/authorlocationcode/_if[@name=""if indirect voucher""]/else", |
14 |
locationID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
|
14 |
georeferenceInvalid,"/location/sourceaccessioncode/_if[@name=""if geovalidation""]/cond/_exists", |
|
15 |
georeferenceValid,"/location/sourceaccessioncode/_if[@name=""if geovalidation""]/cond/_exists", |
|
16 |
locationID,"/location/sourceaccessioncode/_if[@name=""if geovalidation""]/else", |
|
15 | 17 |
plotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
16 | 18 |
locationID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
17 | 19 |
plotArea_m2,//location/area_m2, |
... | ... | |
312 | 314 |
continent,//place/continent, |
313 | 315 |
country,//place/country, |
314 | 316 |
county,//place/county, |
317 |
georeferenceInvalid,"//place/placecode/_if[@name=""if geovalidation""]/cond/_exists", |
|
318 |
georeferenceValid,"//place/placecode/_if[@name=""if geovalidation""]/cond/_exists", |
|
319 |
locationID,"//place/placecode/_if[@name=""if geovalidation""]/then", |
|
315 | 320 |
stateProvince,//place/stateprovince, |
316 | 321 |
plotNotes,//location/notespublic, |
317 | 322 |
parentPlotName,//location/authorlocationcode, |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: Map locationID to place.placecode instead when geovalidation columns are provided