Project

General

Profile

« Previous | Next » 

Revision 3907

mappings/DwC2-VegBIEN.specimens.csv: Mapped specimenreplicate via plantobservation for consistency with plots data. (This change is required for VegCSV table merging to work properly.) This is also a more accurate way of representing the data, because a specimen in fact comes from a plant, and it's natural to place the plant-related data (measurements, etc.) in the plantobservation table.

View differences:

import.specimens.xml.ref
138 138
        <locationevent>
139 139
            <obsenddate><_date><date><_dateRangeEnd><value><_alt><2>$LatestDateCollected</2></_alt></value></_dateRangeEnd></date></_date></obsenddate>
140 140
            <obsstartdate><_date><date><_dateRangeStart><value><_alt><2>$LatestDateCollected</2></_alt></value></_dateRangeStart></date></_date></obsstartdate>
141
            <specimenreplicate>
142
                <catalognumber_dwc>$CatalogNO</catalognumber_dwc>
143
                <collectioncode_dwc>$CollectionCD</collectioncode_dwc>
144
                <institution_id><party><organizationname>$InstitutionCD</organizationname></party></institution_id>
141
            <taxonoccurrence>
142
                <aggregateoccurrence>
143
                    <plantobservation>
144
                        <specimenreplicate>
145
                            <catalognumber_dwc>$CatalogNO</catalognumber_dwc>
146
                            <collectioncode_dwc>$CollectionCD</collectioncode_dwc>
147
                            <institution_id><party><organizationname>$InstitutionCD</organizationname></party></institution_id>
148
                            <verbatimcollectorname>$Collector</verbatimcollectorname>
149
                        </specimenreplicate>
150
                    </plantobservation>
151
                </aggregateoccurrence>
145 152
                <taxondetermination>
146 153
                    <iscurrent>true</iscurrent>
147 154
                    <role>identifier</role>
......
200 207
                        </plantconcept>
201 208
                    </plantconcept_id>
202 209
                </taxondetermination>
203
                <verbatimcollectorname>$Collector</verbatimcollectorname>
204
            </specimenreplicate>
210
            </taxonoccurrence>
205 211
        </locationevent>
206 212
        <locationnarrative><_merge><1>$Locality</1></_merge></locationnarrative>
207 213
        <sourceaccessioncode>
......
217 223
        </sourceaccessioncode>
218 224
    </location>
219 225
</VegBIEN>
220
Inserted 25 new rows into database
226
Inserted 31 new rows into database

Also available in: Unified diff