Project

General

Profile

« Previous | Next » 

Revision 3915

mappings/DwC2-VegBIEN.specimens.csv: Remapped eventDate to new aggregateoccurrence.collectiondate, which is a more accurate place than locationevent.obsstartdate/obsenddate because the date refers to a specific specimen. This also makes eventDate compatible with plots data.

View differences:

import.specimens.xml.ref
50 50
            </namedplace_id>
51 51
        </locationdetermination>
52 52
        <locationevent>
53
            <obsenddate>
54
                <_date>
55
                    <date>
56
                        <_dateRangeEnd>
57
                            <value>
53
            <taxonoccurrence>
54
                <aggregateoccurrence>
55
                    <collectiondate>
56
                        <_date>
57
                            <date>
58 58
                                <_alt>
59 59
                                    <1>
60 60
                                        <_date>
......
82 82
                                        </_date>
83 83
                                    </1>
84 84
                                </_alt>
85
                            </value>
86
                        </_dateRangeEnd>
87
                    </date>
88
                </_date>
89
            </obsenddate>
90
            <obsstartdate>
91
                <_date>
92
                    <date>
93
                        <_dateRangeStart>
94
                            <value>
95
                                <_alt>
96
                                    <1>
97
                                        <_date>
98
                                            <day>
99
                                                <_nullIf>
100
                                                    <null>0</null>
101
                                                    <type>float</type>
102
                                                    <value>$coll_day</value>
103
                                                </_nullIf>
104
                                            </day>
105
                                            <month>
106
                                                <_nullIf>
107
                                                    <null>0</null>
108
                                                    <type>float</type>
109
                                                    <value>$coll_month</value>
110
                                                </_nullIf>
111
                                            </month>
112
                                            <year>
113
                                                <_nullIf>
114
                                                    <null>0</null>
115
                                                    <type>float</type>
116
                                                    <value>$coll_year</value>
117
                                                </_nullIf>
118
                                            </year>
119
                                        </_date>
120
                                    </1>
121
                                </_alt>
122
                            </value>
123
                        </_dateRangeStart>
124
                    </date>
125
                </_date>
126
            </obsstartdate>
127
            <taxonoccurrence>
128
                <aggregateoccurrence>
85
                            </date>
86
                        </_date>
87
                    </collectiondate>
129 88
                    <plantobservation>
130 89
                        <specimenreplicate>
131 90
                            <collectioncode_dwc>$acronym</collectioncode_dwc>

Also available in: Unified diff