Revision 4333
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/MO/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
MO[Veg+],VegBIEN:,Comments |
2 |
InstitutionCode,/location/authorlocationcode/_alt/4/_join/1,
|
|
3 |
CollectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
4 |
CatalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
2 |
InstitutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1",
|
|
3 |
CollectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
4 |
CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else",
|
|
5 | 5 |
MaximumElevation,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
6 | 6 |
MinimumElevation,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
7 | 7 |
MinimumElevation,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
mappings/VegCore-VegBIEN.csv | ||
---|---|---|
1 | 1 |
VegCore[Veg+],VegBIEN:,Comments |
2 | 2 |
subplot,"/location/_if[@name=""if subplot""]/cond/_exists", |
3 |
plotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/1", |
|
4 |
locationID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
5 |
fieldNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
6 |
occurrenceID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3", |
|
7 |
institutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1", |
|
8 |
collectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1", |
|
9 |
collectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/2", |
|
10 |
voucherType,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left", |
|
11 |
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
3 | 12 |
locationID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
4 | 13 |
plotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
5 | 14 |
locationID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
6 | 15 |
plotArea,/location/area, |
7 |
subplot,/location/authorlocationcode/_alt/1, |
|
8 |
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists", |
|
9 |
plotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else", |
|
10 |
locationID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
11 |
fieldNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
12 |
occurrenceID,/location/authorlocationcode/_alt/3, |
|
13 |
institutionCode,/location/authorlocationcode/_alt/4/_join/1, |
|
14 |
collectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1, |
|
15 |
collectionID,/location/authorlocationcode/_alt/4/_join/2/_join/2, |
|
16 |
voucherType,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left", |
|
17 |
catalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
16 |
subplot,/location/authorlocationcode, |
|
18 | 17 |
verbatimElevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
19 | 18 |
maximumElevationInMeters,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
20 | 19 |
minimumElevationInMeters,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
mappings/Veg+.cs-VegBIEN.csv | ||
---|---|---|
1 | 1 |
Veg+,VegBIEN:,Comments |
2 | 2 |
QuadratName,"/location/_if[@name=""if subplot""]/cond/_exists", |
3 | 3 |
subplot,"/location/_if[@name=""if subplot""]/cond/_exists", |
4 |
plotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/1", |
|
5 |
locationID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
6 |
plotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
7 |
PlotCensusNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
8 |
authorObsCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
9 |
fieldNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
10 |
globalUniqueIdentifier,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3", |
|
11 |
id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3", |
|
12 |
occurrenceID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3", |
|
13 |
institutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1", |
|
14 |
collectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1", |
|
15 |
collectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/2", |
|
16 |
voucherType,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left", |
|
17 |
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
4 | 18 |
locationID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
5 | 19 |
plotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
6 | 20 |
plotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
... | ... | |
8 | 22 |
plotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
9 | 23 |
SizeOfSite,/location/area, |
10 | 24 |
plotArea,/location/area, |
11 |
QuadratName,/location/authorlocationcode/_alt/1, |
|
12 |
subplot,/location/authorlocationcode/_alt/1, |
|
13 |
QuadratName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists", |
|
14 |
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists", |
|
15 |
plotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else", |
|
16 |
locationID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
17 |
plotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
18 |
PlotCensusNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
19 |
authorObsCode,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
20 |
fieldNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
21 |
globalUniqueIdentifier,/location/authorlocationcode/_alt/3, |
|
22 |
id,/location/authorlocationcode/_alt/3, |
|
23 |
occurrenceID,/location/authorlocationcode/_alt/3, |
|
24 |
institutionCode,/location/authorlocationcode/_alt/4/_join/1, |
|
25 |
collectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1, |
|
26 |
collectionID,/location/authorlocationcode/_alt/4/_join/2/_join/2, |
|
27 |
voucherType,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left", |
|
28 |
catalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
25 |
QuadratName,/location/authorlocationcode, |
|
26 |
subplot,/location/authorlocationcode, |
|
29 | 27 |
Elevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
30 | 28 |
verbatimElevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
31 | 29 |
maximumElevation,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
inputs/MT/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
MT[Veg+],VegBIEN:,Comments |
2 |
id,/location/authorlocationcode/_alt/3,
|
|
3 |
institutionCode,/location/authorlocationcode/_alt/4/_join/1,
|
|
4 |
collectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
5 |
collectionID,/location/authorlocationcode/_alt/4/_join/2/_join/2,
|
|
2 |
id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3",
|
|
3 |
institutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1",
|
|
4 |
collectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
5 |
collectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/2",
|
|
6 | 6 |
continent,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename", |
7 | 7 |
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count, |
8 | 8 |
collectionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_join/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name |
inputs/XAL/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
"XAL[Veg+,darwin:]:/content/record/",VegBIEN:,Comments |
2 |
InstitutionCode,/location/authorlocationcode/_alt/4/_join/1,
|
|
3 |
CollectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
4 |
CatalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
2 |
InstitutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1",
|
|
3 |
CollectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
4 |
CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else",
|
|
5 | 5 |
MaximumElevation,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
6 | 6 |
MinimumElevation,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
7 | 7 |
MinimumElevation,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
inputs/NY/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
NY[Veg+],VegBIEN:,Comments |
2 |
UniqueNYInternalRecordNumber,/location/authorlocationcode/_alt/3,
|
|
3 |
InstitutionCode,/location/authorlocationcode/_alt/4/_join/1,
|
|
4 |
CollectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
5 |
CatalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
2 |
UniqueNYInternalRecordNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3",
|
|
3 |
InstitutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1",
|
|
4 |
CollectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
5 |
CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else",
|
|
6 | 6 |
MaximumElevation,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
7 | 7 |
MinimumElevation,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value/_nullIf:[null=.]/value", |
8 | 8 |
MinimumElevation,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value/_nullIf:[null=.]/value", |
inputs/Madidi/0.plots/VegBIEN.csv | ||
---|---|---|
1 | 1 |
Madidi[Veg+],VegBIEN:,Comments |
2 |
Inventory name,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/1", |
|
3 |
Inventory code,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
2 | 4 |
Inventory code,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
3 | 5 |
Inventory name,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
4 | 6 |
Inventory code,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
5 | 7 |
Area,/location/area, |
6 |
Inventory name,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else", |
|
7 |
Inventory code,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
8 | 8 |
Altitude,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
9 | 9 |
Minimum altitude,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
10 | 10 |
Minimum altitude,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
inputs/Madidi/0.plots/test.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 |
<authorlocationcode>$Inventory name</authorlocationcode> |
|
4 | 5 |
<sourceaccessioncode>$Inventory code</sourceaccessioncode> |
5 | 6 |
<area>$Area</area> |
6 |
<authorlocationcode>$Inventory name</authorlocationcode> |
|
7 | 7 |
<elevation> |
8 | 8 |
<_alt> |
9 | 9 |
<1> |
inputs/UNCC/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
UNCC[Veg+],VegBIEN:,Comments |
2 |
accession,/location/authorlocationcode/_alt/3,
|
|
3 |
herbarium,/location/authorlocationcode/_alt/4/_join/1,
|
|
2 |
accession,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3",
|
|
3 |
herbarium,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1",
|
|
4 | 4 |
county,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename", |
5 | 5 |
state,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename", |
6 | 6 |
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename", |
inputs/ACAD/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
ACAD[Veg+],VegBIEN:,Comments |
2 |
id,/location/authorlocationcode/_alt/3,
|
|
3 |
institutionCode,/location/authorlocationcode/_alt/4/_join/1,
|
|
4 |
collectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
5 |
collectionID,/location/authorlocationcode/_alt/4/_join/2/_join/2,
|
|
6 |
catalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
2 |
id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3",
|
|
3 |
institutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1",
|
|
4 |
collectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
5 |
collectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/2",
|
|
6 |
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else",
|
|
7 | 7 |
verbatimElevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
8 | 8 |
decimalLatitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value", |
9 | 9 |
decimalLongitude,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value", |
inputs/CVS/1.organisms/VegBIEN.csv | ||
---|---|---|
1 | 1 |
CVS,VegBIEN:,Comments |
2 |
authorObsCode,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
2 |
authorObsCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else",
|
|
3 | 3 |
locationAccuracy-m,/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/1, |
4 | 4 |
realLatitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value/_alt/1", |
5 | 5 |
publicLatitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value/_alt/2", |
inputs/SALVIAS-CSV/0.plots/VegBIEN.csv | ||
---|---|---|
1 | 1 |
SALVIAS-CSV,VegBIEN:,Comments |
2 |
plot_code,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/1",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
3 |
PLOT_ID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/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." |
|
2 | 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." |
3 | 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) |
4 | 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." |
5 | 7 |
plot_area_ha,/location/area,"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" |
6 |
plot_code,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
7 |
PLOT_ID,"/location/authorlocationcode/_alt/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." |
|
8 | 8 |
elev_m,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick. |
9 | 9 |
elev_max_m,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
10 | 10 |
elev_min_m,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
inputs/SALVIAS-CSV/0.plots/test.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 |
<authorlocationcode>$plot_code</authorlocationcode> |
|
4 | 5 |
<sourceaccessioncode>$PLOT_ID</sourceaccessioncode> |
5 | 6 |
<area>$plot_area_ha</area> |
6 |
<authorlocationcode>$plot_code</authorlocationcode> |
|
7 | 7 |
<elevation> |
8 | 8 |
<_alt> |
9 | 9 |
<1> |
inputs/SALVIAS-CSV/1.organisms/VegBIEN.csv | ||
---|---|---|
1 | 1 |
SALVIAS-CSV,VegBIEN:,Comments |
2 | 2 |
subplot,"/location/_if[@name=""if subplot""]/cond/_exists", |
3 |
plot_code,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/1", |
|
4 |
PLOT_ID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
5 |
det_type,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_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." |
|
6 |
coll_number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Map instead as for voucher_string |
|
7 |
voucher_string,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_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." |
|
3 | 8 |
PLOT_ID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
4 | 9 |
plot_code,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
5 | 10 |
PLOT_ID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
6 |
subplot,/location/authorlocationcode/_alt/1, |
|
7 |
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists", |
|
8 |
plot_code,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else", |
|
9 |
PLOT_ID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
10 |
det_type,"/location/authorlocationcode/_alt/4/_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." |
|
11 |
coll_number,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Map instead as for voucher_string |
|
12 |
voucher_string,"/location/authorlocationcode/_alt/4/_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." |
|
11 |
subplot,/location/authorlocationcode, |
|
13 | 12 |
census_date,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value,"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: |
14 | 13 |
----- |
15 | 14 |
SELECT ""PLOT_ID"", subplot, count(DISTINCT census_date) AS census_date_count |
inputs/SALVIAS-CSV/1.organisms/test.xml.ref | ||
---|---|---|
7 | 7 |
<sourceaccessioncode>$PLOT_ID</sourceaccessioncode> |
8 | 8 |
</location> |
9 | 9 |
</parent_id> |
10 |
<authorlocationcode> |
|
11 |
<_alt> |
|
12 |
<1>$subplot</1> |
|
13 |
<4> |
|
14 |
<_if name="if indirect voucher"> |
|
15 |
<cond> |
|
16 |
<_eq> |
|
17 |
<right>indirect</right> |
|
18 |
<left>$det_type</left> |
|
19 |
</_eq> |
|
20 |
</cond> |
|
21 |
<else> |
|
22 |
<_alt> |
|
23 |
<1>$coll_number</1> |
|
24 |
<2>$voucher_string</2> |
|
25 |
</_alt> |
|
26 |
</else> |
|
27 |
</_if> |
|
28 |
</4> |
|
29 |
</_alt> |
|
30 |
</authorlocationcode> |
|
10 |
<authorlocationcode>$subplot</authorlocationcode> |
|
31 | 11 |
<locationevent> |
32 | 12 |
<obsstartdate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></obsstartdate> |
33 | 13 |
<taxonoccurrence> |
inputs/REMIB/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
REMIB[Veg+],VegBIEN:,Comments |
2 |
accession_number,/location/authorlocationcode/_alt/3,
|
|
3 |
acronym,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
2 |
accession_number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3",
|
|
3 |
acronym,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
4 | 4 |
lat_deg,"/location/locationdetermination/latitude/_alt/2/_nullIf:[null=0,type=float]/value", |
5 | 5 |
long_deg,"/location/locationdetermination/longitude/_alt/2/_nullIf:[null=0,type=float]/value", |
6 | 6 |
county,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename", |
inputs/CTFS/Subplot/VegBIEN.csv | ||
---|---|---|
1 | 1 |
CTFS[Veg+],VegBIEN:,Comments |
2 | 2 |
QuadratName,"/location/_if[@name=""if subplot""]/cond/_exists", |
3 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
3 | 4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
4 | 5 |
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
5 |
QuadratName,/location/authorlocationcode/_alt/1, |
|
6 |
QuadratName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists", |
|
7 |
PlotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
6 |
QuadratName,/location/authorlocationcode, |
|
8 | 7 |
QuadratID,/location/sourceaccessioncode, |
9 | 8 |
StartX,/location/sublocationxposition, |
10 | 9 |
StartY,/location/sublocationyposition, |
inputs/CTFS/Plot/VegBIEN.csv | ||
---|---|---|
1 | 1 |
CTFS[Veg+],VegBIEN:,Comments |
2 |
PlotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/1", |
|
3 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
2 | 4 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
3 | 5 |
PlotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
4 | 6 |
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
5 | 7 |
SizeOfSite,/location/area, |
6 |
PlotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else", |
|
7 |
PlotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
8 | 8 |
Elevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
9 | 9 |
ShapeOfSite,/location/locationdetermination/footprintgeometry_dwc, |
10 | 10 |
Latitude,"/location/locationdetermination/latitude/_alt/2/_nullIf:[null=0,type=float]/value", |
inputs/CTFS/Plot/test.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 |
<authorlocationcode>$PlotName</authorlocationcode> |
|
4 | 5 |
<sourceaccessioncode>$PlotID</sourceaccessioncode> |
5 | 6 |
<area>$SizeOfSite</area> |
6 |
<authorlocationcode>$PlotName</authorlocationcode> |
|
7 | 7 |
<elevation> |
8 | 8 |
<_replace> |
9 | 9 |
<\bca\.?></\bca\.?> |
inputs/SALVIAS/0.plots/VegBIEN.csv | ||
---|---|---|
1 | 1 |
SALVIAS,VegBIEN:,Comments |
2 |
SiteCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/1",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
3 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/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." |
|
2 | 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." |
3 | 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) |
4 | 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." |
5 | 7 |
plot_area_ha,/location/area,"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" |
6 |
SiteCode,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else",Brad: plotCode is as-assigned by data provider; guranteed to be unique only within dataset (=project) |
|
7 |
PlotID,"/location/authorlocationcode/_alt/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." |
|
8 | 8 |
Elev,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value",Brad: Mean elevation in meters. This is a constrained decimal value; is there no place for this in VegX other than verbatimElevation? Check with Nick. |
9 | 9 |
elev_max_m,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
10 | 10 |
elev_min_m,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
inputs/SALVIAS/0.plots/test.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 |
<authorlocationcode>$SiteCode</authorlocationcode> |
|
4 | 5 |
<sourceaccessioncode>$PlotID</sourceaccessioncode> |
5 | 6 |
<area>$plot_area_ha</area> |
6 |
<authorlocationcode>$SiteCode</authorlocationcode> |
|
7 | 7 |
<elevation> |
8 | 8 |
<_alt> |
9 | 9 |
<1> |
inputs/SALVIAS/1.organisms/VegBIEN.csv | ||
---|---|---|
1 | 1 |
SALVIAS,VegBIEN:,Comments |
2 | 2 |
Line,"/location/_if[@name=""if subplot""]/cond/_exists", |
3 |
PlotCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/1", |
|
4 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
5 |
DetType,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_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." |
|
6 |
coll_number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Map instead as for voucher_string |
|
7 |
SourceVoucher,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_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." |
|
3 | 8 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
4 | 9 |
PlotCode,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
5 | 10 |
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
6 |
Line,/location/authorlocationcode/_alt/1, |
|
7 |
Line,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists", |
|
8 |
PlotCode,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else", |
|
9 |
PlotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
10 |
DetType,"/location/authorlocationcode/_alt/4/_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." |
|
11 |
coll_number,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Map instead as for voucher_string |
|
12 |
SourceVoucher,"/location/authorlocationcode/_alt/4/_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." |
|
11 |
Line,/location/authorlocationcode, |
|
13 | 12 |
census_date,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1,"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: |
14 | 13 |
----- |
15 | 14 |
SELECT ""PlotID"", ""Line"", count(DISTINCT census_date) AS census_date_count |
inputs/SALVIAS/1.organisms/test.xml.ref | ||
---|---|---|
7 | 7 |
<sourceaccessioncode>$PlotID</sourceaccessioncode> |
8 | 8 |
</location> |
9 | 9 |
</parent_id> |
10 |
<authorlocationcode> |
|
11 |
<_alt> |
|
12 |
<1>$Line</1> |
|
13 |
<4> |
|
14 |
<_if name="if indirect voucher"> |
|
15 |
<cond> |
|
16 |
<_eq> |
|
17 |
<right>indirect</right> |
|
18 |
<left>$DetType</left> |
|
19 |
</_eq> |
|
20 |
</cond> |
|
21 |
<else> |
|
22 |
<_alt> |
|
23 |
<1>$coll_number</1> |
|
24 |
<2>$SourceVoucher</2> |
|
25 |
</_alt> |
|
26 |
</else> |
|
27 |
</_if> |
|
28 |
</4> |
|
29 |
</_alt> |
|
30 |
</authorlocationcode> |
|
10 |
<authorlocationcode>$Line</authorlocationcode> |
|
31 | 11 |
<locationevent> |
32 | 12 |
<obsenddate><_date><date><_dateRangeEnd><value>$census_date</value></_dateRangeEnd></date></_date></obsenddate> |
33 | 13 |
<obsstartdate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></obsstartdate> |
inputs/U/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
U[Veg+],VegBIEN:,Comments |
2 |
ID,/location/authorlocationcode/_alt/3,
|
|
3 |
Barcode,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
2 |
ID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3",
|
|
3 |
Barcode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else",
|
|
4 | 4 |
Lat,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value", |
5 | 5 |
Long,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value", |
6 | 6 |
Country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename", |
inputs/ARIZ/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
ARIZ[Veg+],VegBIEN:,Comments |
2 |
GlobalUniqueIdentifier,/location/authorlocationcode/_alt/3,
|
|
3 |
InstitutionCode,/location/authorlocationcode/_alt/4/_join/1,
|
|
4 |
CollectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
5 |
CatalogNumberNumeric,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else/_alt/1", |
|
6 |
CatalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else/_alt/2",Don't overwrite CatalogNumberNumeric |
|
2 |
GlobalUniqueIdentifier,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3",
|
|
3 |
InstitutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1",
|
|
4 |
CollectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
5 |
CatalogNumberNumeric,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else/_alt/1",
|
|
6 |
CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else/_alt/2",Don't overwrite CatalogNumberNumeric
|
|
7 | 7 |
VerbatimElevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
8 | 8 |
MaximumElevationInMeters,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
9 | 9 |
MinimumElevationInMeters,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
inputs/GBIF/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
GBIF[Veg+],VegBIEN:,Comments |
2 |
InstitutionCD,/location/authorlocationcode/_alt/4/_join/1,
|
|
3 |
CollectionCD,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
4 |
CatalogNO,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
2 |
InstitutionCD,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1",
|
|
3 |
CollectionCD,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
4 |
CatalogNO,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else",
|
|
5 | 5 |
MaximumElevationInMeter,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
6 | 6 |
MinimumElevationInMeter,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
7 | 7 |
MinimumElevationInMeter,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
inputs/NCU-NCSC/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
NCU-NCSC[Veg+],VegBIEN:,Comments |
2 |
Accession Number,/location/authorlocationcode/_alt/3,
|
|
3 |
SeriesName,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
4 |
Barcode,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
2 |
Accession Number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3",
|
|
3 |
SeriesName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
4 |
Barcode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else",
|
|
5 | 5 |
Elevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
6 | 6 |
Accuracy,/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/1, |
7 | 7 |
Lat (-=S),"/location/locationdetermination/latitude/_alt/2/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value", |
inputs/SpeciesLink/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
"SpeciesLink[Veg+,dwc_dwcore_,dwc_curatorial_,dwc_geospatial_,http__purl_org_,dwc_terms_,conceptual_darwin_2003_1_0_]",VegBIEN:,Comments |
2 |
GlobalUniqueIdentifier,/location/authorlocationcode/_alt/3,
|
|
3 |
InstitutionCode,/location/authorlocationcode/_alt/4/_join/1,
|
|
4 |
institutionCode,/location/authorlocationcode/_alt/4/_join/1,
|
|
5 |
CollectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
6 |
collectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
7 |
collectionID,/location/authorlocationcode/_alt/4/_join/2/_join/2,
|
|
8 |
CatalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
9 |
catalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
2 |
GlobalUniqueIdentifier,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3",
|
|
3 |
InstitutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1",
|
|
4 |
institutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1",
|
|
5 |
CollectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
6 |
collectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
7 |
collectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/2",
|
|
8 |
CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else",
|
|
9 |
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else",
|
|
10 | 10 |
MaximumElevation,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
11 | 11 |
MaximumElevationInMeters,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
12 | 12 |
maximumElevationInMeters,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
inputs/QMOR/specimens/VegBIEN.csv | ||
---|---|---|
1 | 1 |
QMOR[Veg+],VegBIEN:,Comments |
2 |
id,/location/authorlocationcode/_alt/3,
|
|
3 |
institutionCode,/location/authorlocationcode/_alt/4/_join/1,
|
|
4 |
collectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1,
|
|
5 |
collectionID,/location/authorlocationcode/_alt/4/_join/2/_join/2,
|
|
6 |
catalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
2 |
id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3",
|
|
3 |
institutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1",
|
|
4 |
collectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1",
|
|
5 |
collectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/2",
|
|
6 |
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else",
|
|
7 | 7 |
verbatimElevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
8 | 8 |
maximumElevationInMeters,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value", |
9 | 9 |
minimumElevationInMeters,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace:[""\bca\.?""=]/value", |
mappings/Veg+-VegBIEN.csv | ||
---|---|---|
2 | 2 |
QuadratName,"/location/_if[@name=""if subplot""]/cond/_exists", |
3 | 3 |
Subplot,"/location/_if[@name=""if subplot""]/cond/_exists", |
4 | 4 |
subplot,"/location/_if[@name=""if subplot""]/cond/_exists", |
5 |
PlotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/1", |
|
6 |
plotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/1", |
|
7 |
LocationID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
8 |
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
9 |
locationID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
10 |
plotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
11 |
AuthorObsCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
12 |
FieldNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
13 |
PlotCensusNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
14 |
authorObsCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
15 |
fieldNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
16 |
GlobalUniqueIdentifier,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3", |
|
17 |
Id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3", |
|
18 |
OccurrenceID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3", |
|
19 |
globalUniqueIdentifier,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3", |
|
20 |
id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3", |
|
21 |
occurrenceID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/3", |
|
22 |
InstitutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1", |
|
23 |
institutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/1", |
|
24 |
CollectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1", |
|
25 |
collectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/1", |
|
26 |
CollectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/2", |
|
27 |
collectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/2/_join/2", |
|
28 |
VoucherType,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left", |
|
29 |
voucherType,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left", |
|
30 |
CatalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
31 |
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
5 | 32 |
LocationID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
6 | 33 |
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
7 | 34 |
locationID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
... | ... | |
15 | 42 |
PlotArea,/location/area, |
16 | 43 |
SizeOfSite,/location/area, |
17 | 44 |
plotArea,/location/area, |
18 |
QuadratName,/location/authorlocationcode/_alt/1, |
|
19 |
Subplot,/location/authorlocationcode/_alt/1, |
|
20 |
subplot,/location/authorlocationcode/_alt/1, |
|
21 |
QuadratName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists", |
|
22 |
Subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists", |
|
23 |
subplot,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/cond/_exists", |
|
24 |
PlotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else", |
|
25 |
plotName,"/location/authorlocationcode/_alt/1/_if[@name=""if subplot""]/else", |
|
26 |
LocationID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
27 |
PlotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
28 |
locationID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
29 |
plotID,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/cond/_exists", |
|
30 |
AuthorObsCode,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
31 |
FieldNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
32 |
PlotCensusNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
33 |
authorObsCode,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
34 |
fieldNumber,"/location/authorlocationcode/_alt/2/_if[@name=""if locationID""]/else", |
|
35 |
GlobalUniqueIdentifier,/location/authorlocationcode/_alt/3, |
|
36 |
Id,/location/authorlocationcode/_alt/3, |
|
37 |
OccurrenceID,/location/authorlocationcode/_alt/3, |
|
38 |
globalUniqueIdentifier,/location/authorlocationcode/_alt/3, |
|
39 |
id,/location/authorlocationcode/_alt/3, |
|
40 |
occurrenceID,/location/authorlocationcode/_alt/3, |
|
41 |
InstitutionCode,/location/authorlocationcode/_alt/4/_join/1, |
|
42 |
institutionCode,/location/authorlocationcode/_alt/4/_join/1, |
|
43 |
CollectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1, |
|
44 |
collectionCode,/location/authorlocationcode/_alt/4/_join/2/_join/1, |
|
45 |
CollectionID,/location/authorlocationcode/_alt/4/_join/2/_join/2, |
|
46 |
collectionID,/location/authorlocationcode/_alt/4/_join/2/_join/2, |
|
47 |
VoucherType,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left", |
|
48 |
voucherType,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left", |
|
49 |
CatalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
50 |
catalogNumber,"/location/authorlocationcode/_alt/4/_join/3/_if[@name=""if indirect voucher""]/else", |
|
45 |
QuadratName,/location/authorlocationcode, |
|
46 |
Subplot,/location/authorlocationcode, |
|
47 |
subplot,/location/authorlocationcode, |
|
51 | 48 |
Elevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
52 | 49 |
VerbatimElevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
53 | 50 |
verbatimElevation,"/location/elevation/_alt/1/_replace:[""\bca\.?""=]/value", |
mappings/for_review/VegCore-VegBIEN.csv | ||
---|---|---|
1 | 1 |
VegCore[Veg+],VegBIEN:,Comments |
2 | 2 |
subplot,"/location/_if[@name=""if subplot""]/cond/_exists", |
3 |
plotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode", |
|
4 |
locationID,"/location/authorlocationcode/_if[@name=""if locationID""]/cond/_exists", |
|
5 |
fieldNumber,"/location/authorlocationcode/_if[@name=""if locationID""]/else", |
|
6 |
occurrenceID,"/location/_if[@name=""if subplot""]/else/authorlocationcode", |
|
7 |
institutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode", |
|
8 |
collectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode", |
|
9 |
collectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode", |
|
10 |
voucherType,"/location/authorlocationcode/_if[@name=""if indirect voucher""]/cond", |
|
11 |
catalogNumber,"/location/authorlocationcode/_if[@name=""if indirect voucher""]/else", |
|
3 | 12 |
locationID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode", |
4 | 13 |
plotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
5 | 14 |
locationID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
6 | 15 |
plotArea,//location/area, |
7 | 16 |
subplot,//location/authorlocationcode, |
8 |
subplot,"//location/authorlocationcode/_if[@name=""if subplot""]/cond/_exists", |
|
9 |
plotName,"//location/authorlocationcode/_if[@name=""if subplot""]/else", |
|
10 |
locationID,"//location/authorlocationcode/_if[@name=""if locationID""]/cond/_exists", |
|
11 |
fieldNumber,"//location/authorlocationcode/_if[@name=""if locationID""]/else", |
|
12 |
occurrenceID,//location/authorlocationcode, |
|
13 |
institutionCode,//location/authorlocationcode, |
|
14 |
collectionCode,//location/authorlocationcode, |
|
15 |
collectionID,//location/authorlocationcode, |
|
16 |
voucherType,"//location/authorlocationcode/_if[@name=""if indirect voucher""]/cond", |
|
17 |
catalogNumber,"//location/authorlocationcode/_if[@name=""if indirect voucher""]/else", |
|
18 | 17 |
verbatimElevation,//location/elevation, |
19 | 18 |
maximumElevationInMeters,//location/elevation, |
20 | 19 |
minimumElevationInMeters,//location/elevation, |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: location.authorlocationcode mappings: Placed inside "if subplot" _if statement along with sourceaccessioncode to reduce the number of separate _if statements needing a condition mapping