Project

General

Profile

« Previous | Next » 

Revision 10316

inputs/ARIZ/omoccurrences/: translated single-column filters to postprocessing derived columns, using the steps at wiki.vegpath.org/Switching_to_new-style_import#stage-I-source-specific > "translate single-column filters to postprocessing derived columns"

View differences:

inputs/ARIZ/omoccurrences/map.csv
52 52
verbatimAttributes,*verbatimAttributes,,
53 53
attributes,*attributes,,
54 54
reproductiveCondition,reproductiveCondition,,
55
cultivationStatus,cultivated,"/_map:[0=,*=*]/value","cultivated can only be true or NULL, not false "
55
cultivationStatus,cultivated_verbatim,,
56 56
establishmentMeans,OMIT#establishmentMeans,,"Only populated for 1 row, which also has cultivationStatus"
57 57
lifeStage,lifeStage,,
58 58
sex,sex,,
......
97 97
duplicateQuantity,*duplicateQuantity,,
98 98
labelProject,*labelProject,,
99 99
dateLastModified,modified,,
100
cultivated,cultivated,,
inputs/ARIZ/omoccurrences/VegBIEN.csv
11 11
maximumElevationInMeters,/location/elevation_m/_alt/2/_avg/2,
12 12
occid,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
13 13
recordNumber,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
14
cultivationStatus,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/else/_first/1/_map:[0=,*=*]/value","cultivated can only be true or NULL, not false "
14
cultivated,"/location/iscultivated/_or/1/_if[@name=""if TaxonOccurrence""]/else/_first/1",
15 15
locality,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/1,
16 16
habitat,/location/iscultivated/_or/2/_locationnarrative_is_cultivated/locationnarrative/_join/3,
17 17
samplingProtocol,/location/locationevent/*_id/method/name,
......
38 38
recordedBy,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
39 39
occid,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
40 40
recordNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
41
cultivationStatus,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/then/_first/1/_map:[0=,*=*]/value","cultivated can only be true or NULL, not false "
41
cultivated,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/then/_first/1",
42 42
occid,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,
43 43
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/party/fullname,
44 44
taxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/_if[@name=""if has explicit parent""]/else/rank",
......
93 93
collectionID,,** No non-empty join mapping for UNUSED#collectionID ** 
94 94
collid,,** No join mapping for *collid ** 
95 95
coordinatePrecision,,** No non-empty join mapping for UNUSED#coordinatePrecision ** 
96
cultivationStatus,,** No join mapping for cultivated_verbatim ** 
96 97
dataGeneralizations,,** No join mapping for dataGeneralizations ** 
97 98
datasetID,,** No non-empty join mapping for UNUSED#datasetID ** 
98 99
dateLastModified,,** No join mapping for modified ** 
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>
72
                                    <_map>
73
                                        <0></0>
74
                                        <*>*</*>
75
                                        <value>$cultivationStatus</value>
76
                                    </_map>
77
                                </iscultivated>
71
                                <iscultivated>$cultivated</iscultivated>
78 72
                                <sourceaccessioncode>$occid</sourceaccessioncode>
79 73
                                <taxondetermination>
80 74
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
inputs/ARIZ/omoccurrences/new_terms.csv
1 1
occid,occurrenceID,,
2
cultivationStatus,cultivated,"/_map:[0=,*=*]/value","cultivated can only be true or NULL, not false "
2
cultivationStatus,cultivated_verbatim,,
inputs/ARIZ/omoccurrences/unmapped_terms.csv
24 24
dynamicProperties
25 25
*verbatimAttributes
26 26
*attributes
27
cultivated_verbatim
27 28
lifeStage
28 29
preparations
29 30
municipality

Also available in: Unified diff