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
124 124
                    </date>
125 125
                </_date>
126 126
            </obsstartdate>
127
            <specimenreplicate>
128
                <collectioncode_dwc>$acronym</collectioncode_dwc>
129
                <sourceaccessioncode>$accession_number</sourceaccessioncode>
127
            <taxonoccurrence>
128
                <aggregateoccurrence>
129
                    <plantobservation>
130
                        <specimenreplicate>
131
                            <collectioncode_dwc>$acronym</collectioncode_dwc>
132
                            <sourceaccessioncode>$accession_number</sourceaccessioncode>
133
                            <verbatimcollectorname>$collector</verbatimcollectorname>
134
                        </specimenreplicate>
135
                    </plantobservation>
136
                </aggregateoccurrence>
130 137
                <taxondetermination>
131 138
                    <isoriginal>true</isoriginal>
132 139
                    <iscurrent>true</iscurrent>
......
175 182
                        </plantconcept>
176 183
                    </plantconcept_id>
177 184
                </taxondetermination>
178
                <verbatimcollectorname>$collector</verbatimcollectorname>
179
            </specimenreplicate>
185
            </taxonoccurrence>
180 186
        </locationevent>
181 187
        <locationnarrative>
182 188
            <_merge>
......
197 203
        </sourceaccessioncode>
198 204
    </location>
199 205
</VegBIEN>
200
Inserted 20 new rows into database
206
Inserted 26 new rows into database

Also available in: Unified diff