Project

General

Profile

« Previous | Next » 

Revision 4337

mappings/VegCore-VegBIEN.csv: Also redirect locationID/plotName to parent location if subplotID column was provided

View differences:

inputs/SALVIAS-CSV/1.organisms/VegBIEN.csv
1 1
SALVIAS-CSV,VegBIEN:,Comments
2
subplot,"/location/_if[@name=""if subplot""]/cond/_exists",
2
subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
3 3
plot_code,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
4 4
PLOT_ID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
5 5
det_type,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_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."
inputs/CTFS/Subplot/VegBIEN.csv
1 1
CTFS[Veg+],VegBIEN:,Comments
2
QuadratName,"/location/_if[@name=""if subplot""]/cond/_exists",
2
QuadratID,"/location/_if[@name=""if subplot""]/cond/_exists/_first/1",
3
QuadratName,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
3 4
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
4 5
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode",
5 6
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
inputs/SALVIAS/1.organisms/VegBIEN.csv
1 1
SALVIAS,VegBIEN:,Comments
2
Line,"/location/_if[@name=""if subplot""]/cond/_exists",
2
Line,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
3 3
PlotCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
4 4
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
5 5
DetType,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_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."
mappings/VegCore-VegBIEN.csv
1 1
VegCore[Veg+],VegBIEN:,Comments
2
subplot,"/location/_if[@name=""if subplot""]/cond/_exists",
2
subplotID,"/location/_if[@name=""if subplot""]/cond/_exists/_first/1",
3
subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
3 4
plotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
4 5
locationID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
5 6
fieldNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/else",
mappings/Veg+-VegBIEN.csv
1 1
Veg+,VegBIEN:,Comments
2
QuadratName,"/location/_if[@name=""if subplot""]/cond/_exists",
3
Subplot,"/location/_if[@name=""if subplot""]/cond/_exists",
4
subplot,"/location/_if[@name=""if subplot""]/cond/_exists",
2
QuadratID,"/location/_if[@name=""if subplot""]/cond/_exists/_first/1",
3
SubplotID,"/location/_if[@name=""if subplot""]/cond/_exists/_first/1",
4
subplotID,"/location/_if[@name=""if subplot""]/cond/_exists/_first/1",
5
QuadratName,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
6
Subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
7
subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
5 8
PlotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
6 9
plotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
7 10
LocationID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
mappings/Veg+.cs-VegBIEN.csv
1 1
Veg+,VegBIEN:,Comments
2
QuadratName,"/location/_if[@name=""if subplot""]/cond/_exists",
3
subplot,"/location/_if[@name=""if subplot""]/cond/_exists",
2
QuadratID,"/location/_if[@name=""if subplot""]/cond/_exists/_first/1",
3
subplotID,"/location/_if[@name=""if subplot""]/cond/_exists/_first/1",
4
QuadratName,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
5
subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
4 6
plotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
5 7
locationID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
6 8
plotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
mappings/for_review/VegCore-VegBIEN.csv
1 1
VegCore[Veg+],VegBIEN:,Comments
2
subplot,"/location/_if[@name=""if subplot""]/cond/_exists",
2
subplotID,"/location/_if[@name=""if subplot""]/cond/1",
3
subplot,"/location/_if[@name=""if subplot""]/cond/2",
3 4
plotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode",
4 5
locationID,"/location/authorlocationcode/_if[@name=""if locationID""]/cond/_exists",
5 6
fieldNumber,"/location/authorlocationcode/_if[@name=""if locationID""]/else",

Also available in: Unified diff