Project

General

Profile

« Previous | Next » 

Revision 10292

inputs/*/*/map.csv: replaced /_first filter with mapping to DUPLICATE special term (VegCore.vegpath.org?DUPLICATE). this removes collisions that don't need a postprocessing formula to combine the columns.

View differences:

VegBIEN.csv
1 1
Madidi,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2 2
Plot Name,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
3
PlotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists/_first/1",
4
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists/_first/2",
3
PlotName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
5 4
PlotInventoryName,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/else",
6
PlotName,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_first/1",
7
PlotID,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode/_first/2",
5
PlotName,"/location/_if[@name=""if subplot""]/else/sourceaccessioncode",
8 6
Plot Name,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode",
9
PlotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode/_first/1",
10
PlotID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode/_first/2",
7
PlotName,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode",
11 8
Locality,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1,
12 9
Expedition Name,/location/locationevent/*_id/project/projectname,
13 10
Expedition Number,/location/locationevent/*_id/project/sourceaccessioncode,
14 11
PlotInventoryName,"/location/locationevent/_if[@name=""if subplot""]/else/authoreventcode",
15 12
PlotInventoryName,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/cond/_exists",
16 13
Plot Name,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/authorlocationcode/_if[@name=""if subplot""]/then",
17
PlotName,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode/_if[@name=""if subplot""]/then/_first/1",
18
PlotID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode/_if[@name=""if subplot""]/then/_first/2",
14
PlotName,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode/_if[@name=""if subplot""]/then",
19 15
PlotInventoryName,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/authoreventcode",
20 16
Vegetation Type,/location/locationevent/commclass/commdetermination/*_id/commconcept/*_id/*/commname,
21 17
Interchangeable Acidity,/location/locationevent/soilsample/acidity_fraction/_percent_to_fraction/value,Assuming units are % based on the range of values
......
36 32
Textural Class,/location/locationevent/soilsample/texture,
37 33
Plot Name,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
38 34
PlotInventoryName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
39
PlotName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists/_first/1",
40
PlotID,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists/_first/2",
35
PlotName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/cond/_exists",
41 36
Locality,/location/locationnarrative/_merge/1,
42 37
Notes,/location/locationnarrative/_merge/4,
43 38
Notes 2,/location/locationnarrative/_merge/4,
......
46 41
LatitudeDecDeg,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
47 42
LongitudeDecDeg,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
48 43
Slope,/location/slopegradient_fraction/_alt/1,
49
PlotName,"/location/sourceaccessioncode/_first/2/_if[@name=""if locationID""]/cond/_exists/_first/1",
50
PlotID,"/location/sourceaccessioncode/_first/2/_if[@name=""if locationID""]/cond/_exists/_first/2",
51
PlotName,"/location/sourceaccessioncode/_first/2/_if[@name=""if locationID""]/then/_if[@name=""if subplot""]/then/_join/1/_first/1",
52
PlotID,"/location/sourceaccessioncode/_first/2/_if[@name=""if locationID""]/then/_if[@name=""if subplot""]/then/_join/1/_first/2",
44
PlotName,"/location/sourceaccessioncode/_first/2/_if[@name=""if locationID""]/cond/_exists",
45
PlotName,"/location/sourceaccessioncode/_first/2/_if[@name=""if locationID""]/then/_if[@name=""if subplot""]/then/_join/1",
53 46
Collaborators,,** No join mapping for *Collaborators ** 
54 47
Collaborators (OLD),,** No join mapping for *Collaborators (OLD) ** 
55 48
Funding agency,,** No join mapping for *Funding agency ** 
......
62 55
Other Epilocs (OLD),,** No join mapping for *Other Epilocs (OLD) ** 
63 56
Other epilocs,,** No join mapping for *Other epilocs ** 
64 57
Plot Compass Direction,,** No join mapping for *Plot Compass Direction ** 
58
PlotID,,** No non-empty join mapping for DUPLICATE#of:PlotName#PlotID ** 
65 59
Political Location,,** No join mapping for *Political Location ** 
66 60
Qualifier Available Phosphor,,** No join mapping for *Qualifier Available Phosphor ** 
67 61
Qualifier Interchangeable Acidity,,** No join mapping for *Qualifier Interchangeable Acidity ** 

Also available in: Unified diff