Project

General

Profile

« Previous | Next » 

Revision 7856

inputs/ACAD/Specimen/map.csv: institutionCode: Replace "Acadia University" with the IH code ACAD

View differences:

inputs/ACAD/Specimen/map.csv
7 7
geodeticDatum,geodeticDatum,,
8 8
reproductiveCondition,reproductiveCondition,,
9 9
decimalLongitude,decimalLongitude,,
10
institutionCode,specimenHolderInstitutions,,
10
institutionCode,specimenHolderInstitutions,"/_map:[""Acadia University""=ACAD,*=*]/value",
11 11
continent,continent,,
12 12
recordedBy,recordedBy,,
13 13
county,county,,
inputs/ACAD/Specimen/VegBIEN.csv
1 1
ACAD,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2 2
catalogNumber,"/_if[@name=""if specimen""]/cond/_exists",
3 3
id,"/_if[@name=""if specimen""]/cond/_exists",
4
institutionCode,"/_if[@name=""if specimen""]/else/source/shortname/_first/1",
4
institutionCode,"/_if[@name=""if specimen""]/else/source/shortname/_first/1/_map:[""Acadia University""=ACAD,*=*]/value",
5 5
id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/1",
6 6
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists",
7 7
catalogNumber,"/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""]/cond/_exists",
8 8
id,"/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""]/cond/_exists",
9
institutionCode,"/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",
9
institutionCode,"/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/_map:[""Acadia University""=ACAD,*=*]/value",
10 10
collectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/then/_join/2/_join/1",
11 11
collectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/then/_join/2/_join/2",
12 12
catalogNumber,"/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",
......
30 30
recordNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_if[@name=""if indirect voucher""]/else",
31 31
catalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/cond/_exists",
32 32
id,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/cond/_exists",
33
institutionCode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/then/name/_first/2",
34
institutionCode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/then/sourcename/name/_first/2/_split:[separator=""[,;] *""]/value",
33
institutionCode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/then/name/_first/2/_map:[""Acadia University""=ACAD,*=*]/value",
34
institutionCode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcelist/_if[@name=""if specimen""]/then/sourcename/name/_first/2/_split:[separator=""[,;] *""]/value/_map:[""Acadia University""=ACAD,*=*]/value",
35 35
id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
36 36
recordNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3",
37 37
scientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/3/_first/2",
inputs/ACAD/Specimen/test.xml.ref
12 12
                                <1>$id</1>
13 13
                                <2>
14 14
                                    <_join>
15
                                        <1>$institutionCode</1>
15
                                        <1>
16
                                            <_map>
17
                                                <Acadia University>ACAD</Acadia University>
18
                                                <*>*</*>
19
                                                <value>$institutionCode</value>
20
                                            </_map>
21
                                        </1>
16 22
                                        <2>
17 23
                                            <_join>
18 24
                                                <1>$collectionCode</1>
......
62 68
                                            <collectionnumber>$recordNumber</collectionnumber>
63 69
                                            <institution_id>
64 70
                                                <sourcelist>
65
                                                    <name>$institutionCode</name>
71
                                                    <name>
72
                                                        <_map>
73
                                                            <Acadia University>ACAD</Acadia University>
74
                                                            <*>*</*>
75
                                                            <value>$institutionCode</value>
76
                                                        </_map>
77
                                                    </name>
66 78
                                                    <sourcename>
67 79
                                                        <name>
68 80
                                                            <_split>
69 81
                                                                <separator>[,;] *</separator>
70
                                                                <value>$institutionCode</value>
82
                                                                <value>
83
                                                                    <_map>
84
                                                                        <Acadia University>ACAD</Acadia University>
85
                                                                        <*>*</*>
86
                                                                        <value>$institutionCode</value>
87
                                                                    </_map>
88
                                                                </value>
71 89
                                                            </_split>
72 90
                                                        </name>
73 91
                                                    </sourcename>

Also available in: Unified diff