Project

General

Profile

« Previous | Next » 

Revision 7870

inputs/ARIZ/omoccurrences/map.csv: cultivationStatus: Map to NULL if it's false, because cultivated can only be true or NULL

View differences:

inputs/ARIZ/omoccurrences/map.csv
52 52
verbatimAttributes,*verbatimAttributes,,
53 53
attributes,*attributes,,
54 54
reproductiveCondition,reproductiveCondition,,
55
cultivationStatus,cultivated,,
55
cultivationStatus,cultivated,"/_map:[0=,*=*]/value","cultivated can only be true or NULL, not false "
56 56
establishmentMeans,OMIT,,"Only populated for 1 row, which also has cultivationStatus"
57 57
lifeStage,lifeStage,,
58 58
sex,sex,,
inputs/ARIZ/omoccurrences/VegBIEN.csv
15 15
recordNumber,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
16 16
occid,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists/_first/1",
17 17
occurrenceID,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists/_first/2",Not populated for all rows
18
cultivationStatus,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/else/_alt/2",
18
cultivationStatus,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/else/_alt/2/_map:[0=,*=*]/value","cultivated can only be true or NULL, not false "
19 19
locality,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1,
20 20
habitat,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/3,
21 21
samplingProtocol,/location/locationevent/*_id/method/name,
......
45 45
recordNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
46 46
occid,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists/_first/1",
47 47
occurrenceID,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists/_first/2",Not populated for all rows
48
cultivationStatus,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/then/_alt/2",
48
cultivationStatus,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/then/_alt/2/_map:[0=,*=*]/value","cultivated can only be true or NULL, not false "
49 49
occid,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3/_first/1,
50 50
occurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3/_first/2,Not populated for all rows
51 51
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/party/fullname,
inputs/ARIZ/omoccurrences/test.xml.ref
68 68
                                    </plantobservation>
69 69
                                </aggregateoccurrence>
70 70
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
71
                                <iscultivated>$cultivationStatus</iscultivated>
71
                                <iscultivated>
72
                                    <_map>
73
                                        <0></0>
74
                                        <*>*</*>
75
                                        <value>$cultivationStatus</value>
76
                                    </_map>
77
                                </iscultivated>
72 78
                                <sourceaccessioncode>$occid</sourceaccessioncode>
73 79
                                <taxondetermination>
74 80
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
inputs/ARIZ/omoccurrences/new_terms.csv
1 1
occid,occurrenceID,/_first/1,
2
cultivationStatus,cultivated,,
2
cultivationStatus,cultivated,"/_map:[0=,*=*]/value","cultivated can only be true or NULL, not false "

Also available in: Unified diff