Project

General

Profile

« Previous | Next » 

Revision 5103

mappings/VegCore-VegBIEN.csv: verbatimScientificNameWithAuthorship: Set canon_taxonpath_id to 0 on the first, scrubbed taxonpath to auto-create the self reference that indicates a scrubbed taxonpath

View differences:

inputs/.TNRS/tnrs/VegBIEN.csv
9 9
Accepted_name_family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/taxonomicnamewithauthor/_alt/2/_join_words/1/_alt/2/_join_words/1,
10 10
Accepted_name_rank,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/taxonomicnamewithauthor/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/1,
11 11
Accepted_name_author,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/taxonomicnamewithauthor/_alt/2/_join_words/2,
12
Name_submitted,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/taxonpath:[@fkey=canon_taxonpath_id]/taxonomicnamewithauthor,
12
Name_submitted,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath:[canon_taxonpath_id=0]/taxonpath:[@fkey=canon_taxonpath_id]/taxonomicnamewithauthor,
13 13
Accepted_name_lsid,,** No non-empty join mapping for OMIT ** 
14 14
Accepted_name_species,,** No non-empty join mapping for OMIT ** Also contains genus. Omitted because Accepted_name contains more info.
15 15
Accepted_name_url,,** No non-empty join mapping for OMIT ** 
inputs/.TNRS/tnrs/test.xml.ref
29 29
                                            <2>$Accepted_name_author</2>
30 30
                                        </_join_words>
31 31
                                    </taxonomicnamewithauthor>
32
                                    <canon_taxonpath_id>0</canon_taxonpath_id>
32 33
                                    <taxonpath fkey="canon_taxonpath_id"><taxonomicnamewithauthor>$Name_submitted</taxonomicnamewithauthor></taxonpath>
33 34
                                </taxonpath>
34 35
                            </taxonpath_id>
mappings/VegCore-VegBIEN.csv
155 155
forma,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/taxonomicnamewithauthor/_alt/2/_join_words/1/_alt/2/_join_words/7/_join_words:[1=""fm. ""]/2",
156 156
cultivar,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/taxonomicnamewithauthor/_alt/2/_join_words/1/_alt/2/_join_words/8/_join_words:[1=""cult. ""]/2",
157 157
scientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/taxonomicnamewithauthor/_alt/2/_join_words/2,
158
verbatimScientificNameWithAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/taxonpath:[@fkey=canon_taxonpath_id]/taxonomicnamewithauthor,
159 158
variety,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/variety,
159
verbatimScientificNameWithAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath:[canon_taxonpath_id=0]/taxonpath:[@fkey=canon_taxonpath_id]/taxonomicnamewithauthor,
160 160
dateIdentified,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/1/_*/date/_dateRangeStart/value,
161 161
dayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
162 162
monthIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
mappings/for_review/VegCore-VegBIEN.csv
155 155
forma,//taxonoccurrence/taxondetermination[]/*_id/taxonpath/taxonomicnamewithauthor,
156 156
cultivar,//taxonoccurrence/taxondetermination[]/*_id/taxonpath/taxonomicnamewithauthor,
157 157
scientificNameAuthorship,//taxonoccurrence/taxondetermination[]/*_id/taxonpath/taxonomicnamewithauthor,
158
variety,//taxonoccurrence/taxondetermination[]/*_id/taxonpath/variety,
158 159
verbatimScientificNameWithAuthorship,//taxonoccurrence/taxondetermination[]/*_id/taxonpath/taxonpath/taxonomicnamewithauthor,
159
variety,//taxonoccurrence/taxondetermination[]/*_id/taxonpath/variety,
160 160
dateIdentified,//taxonoccurrence/taxondetermination[]/determinationdate/_*/date,
161 161
dayIdentified,//taxonoccurrence/taxondetermination[]/determinationdate,
162 162
monthIdentified,//taxonoccurrence/taxondetermination[]/determinationdate,

Also available in: Unified diff