Project

General

Profile

« Previous | Next » 

Revision 10720

fix: mappings/VegCore-VegBIEN.csv: source__modified_date: remapped to pubdate instead of datelastmodified because this is actually metadata for the source itself, rather than for the VegBIEN record of the source

View differences:

inputs/.geoscrub/Source/test.xml.ref
7 7
                <next>parent_id</next>
8 8
                <path>
9 9
                    <source>
10
                        <datelastmodified>2013-8-22:14:54:06</datelastmodified>
11 10
                        <edition>r10707</edition>
11
                        <pubdate>2013-8-22:14:54:06</pubdate>
12 12
                        <shortname>geoscrub</shortname>
13 13
                        <sourcetype>aggregator</sourcetype>
14 14
                    </source>
mappings/VegCore-VegBIEN.csv
2 2
accessionNumber,"/_if[@name=""if specimen""]/cond/_exists",
3 3
dataProviderRecordID,"/_if[@name=""if specimen""]/cond/_exists",
4 4
occurrenceID,"/_if[@name=""if specimen""]/cond/_exists",
5
source__modified_date,"/_if[@name=""if specimen""]/else/source/datelastmodified",
6 5
source__version,"/_if[@name=""if specimen""]/else/source/edition",
6
source__modified_date,"/_if[@name=""if specimen""]/else/source/pubdate",
7 7
specimenHolderInstitutions,"/_if[@name=""if specimen""]/else/source/shortname/_first/1",
8 8
observationGranularity,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/observationtype",
9 9
sourceType,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sourcetype",
mappings/for_review/VegCore-VegBIEN.csv
2 2
accessionNumber,"/_if[@name=""if specimen""]/cond/_exists",
3 3
dataProviderRecordID,"/_if[@name=""if specimen""]/cond/_exists",
4 4
occurrenceID,"/_if[@name=""if specimen""]/cond/_exists",
5
source__modified_date,"/_if[@name=""if specimen""]/else/source/datelastmodified",
6 5
source__version,"/_if[@name=""if specimen""]/else/source/edition",
6
source__modified_date,"/_if[@name=""if specimen""]/else/source/pubdate",
7 7
specimenHolderInstitutions,"/_if[@name=""if specimen""]/else/source/shortname",
8 8
observationGranularity,"/_if[@name=""if specimen""]/else/source/observationtype",
9 9
sourceType,"/_if[@name=""if specimen""]/else/source/sourcetype",

Also available in: Unified diff