Project

General

Profile

« Previous | Next » 

Revision 10570

inputs/U/Specimen/map.csv: Gazetteer, Newgazett: combine them with _alt() instead of _join() because only one of Gazetteer, Newgazett is ever populated

View differences:

inputs/U/Specimen/map.csv
16 16
cf,identificationQualifier,,
17 17
Detby,identifiedBy,,
18 18
Detyy,yearIdentified,,
19
Gazetteer,verbatimLocality,"/_join/1/_label[label=""gazetteer""]/value/_join/1",
20
Newgazett,verbatimLocality,"/_join/1/_label[label=""gazetteer""]/value/_join/2",Only used in 1 row
19
Gazetteer,verbatimLocality,"/_join/1/_label[label=""gazetteer""]/value/_alt/1",
20
Newgazett,verbatimLocality,"/_join/1/_label[label=""gazetteer""]/value/_alt/2","only used in 1 row. only one of Gazetteer, Newgazett is ever populated."
21 21
Majorarea,*Majorarea,,
22 22
Country,country,,
23 23
Locnotes,verbatimLocality,/_join/2,
inputs/U/Specimen/VegBIEN.csv
9 9
:U,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/then/_first/2",
10 10
Barcode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else",
11 11
Number,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
12
Gazetteer,"/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/2/_join/1/_label[label=""gazetteer""]/value/_join/1",
13
Newgazett,"/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/2/_join/1/_label[label=""gazetteer""]/value/_join/2",Only used in 1 row
12
Gazetteer,"/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/2/_join/1/_label[label=""gazetteer""]/value/_alt/1",
13
Newgazett,"/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/2/_join/1/_label[label=""gazetteer""]/value/_alt/2","only used in 1 row. only one of Gazetteer, Newgazett is ever populated."
14 14
Locnotes,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/2/_join/2,
15 15
Ecology,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/3,
16 16
Detyy,"/location/locationevent/taxonoccurrence/_if[@name=""if has accepted name""]/then/taxondetermination:[determinationtype=accepted]/determinationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
......
45 45
cf,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/taxonfit,
46 46
Barcode,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then",
47 47
Number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/then",
48
Gazetteer,"/location/locationnarrative/_merge/2/_join/1/_label[label=""gazetteer""]/value/_join/1",
49
Newgazett,"/location/locationnarrative/_merge/2/_join/1/_label[label=""gazetteer""]/value/_join/2",Only used in 1 row
48
Gazetteer,"/location/locationnarrative/_merge/2/_join/1/_label[label=""gazetteer""]/value/_alt/1",
49
Newgazett,"/location/locationnarrative/_merge/2/_join/1/_label[label=""gazetteer""]/value/_alt/2","only used in 1 row. only one of Gazetteer, Newgazett is ever populated."
50 50
Locnotes,/location/locationnarrative/_merge/2/_join/2,
51 51
Ecology,"/location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?"
52 52
Lat,"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value",
inputs/U/Specimen/test.xml.ref
28 28
                                                    <_label>
29 29
                                                        <label>gazetteer</label>
30 30
                                                        <value>
31
                                                            <_join>
31
                                                            <_alt>
32 32
                                                                <1>$Gazetteer</1>
33 33
                                                                <2>$Newgazett</2>
34
                                                            </_join>
34
                                                            </_alt>
35 35
                                                        </value>
36 36
                                                    </_label>
37 37
                                                </1>
......
188 188
                                            <_label>
189 189
                                                <label>gazetteer</label>
190 190
                                                <value>
191
                                                    <_join>
191
                                                    <_alt>
192 192
                                                        <1>$Gazetteer</1>
193 193
                                                        <2>$Newgazett</2>
194
                                                    </_join>
194
                                                    </_alt>
195 195
                                                </value>
196 196
                                            </_label>
197 197
                                        </1>
inputs/U/Specimen/new_terms.csv
6 6
cf,identificationQualifier,,
7 7
Detby,identifiedBy,,
8 8
Detyy,yearIdentified,,
9
Gazetteer,verbatimLocality,"/_join/1/_label[label=""gazetteer""]/value/_join/1",
10
Newgazett,verbatimLocality,"/_join/1/_label[label=""gazetteer""]/value/_join/2",Only used in 1 row
9
Gazetteer,verbatimLocality,"/_join/1/_label[label=""gazetteer""]/value/_alt/1",
10
Newgazett,verbatimLocality,"/_join/1/_label[label=""gazetteer""]/value/_alt/2","only used in 1 row. only one of Gazetteer, Newgazett is ever populated."
11 11
Locnotes,verbatimLocality,/_join/2,
12 12
Lat,decimalLatitude,,
13 13
Long,decimalLongitude,,

Also available in: Unified diff