Project

General

Profile

« Previous | Next » 

Revision 5177

Added inputs/test_taxonomic_names/

View differences:

inputs/test_taxonomic_names/Taxon/+header.txt
1
scientificNameID	scientificName
inputs/test_taxonomic_names/Taxon/map.csv
1
test_taxonomic_names,VegCore,Filter,Comments
2
scientificNameID,scientificNameID,,
3
scientificName,scientificName,,
inputs/test_taxonomic_names/Taxon/VegBIEN.csv
1
test_taxonomic_names,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
scientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3",
3
scientificName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonpath_id/taxonpath:[datasource_id/party/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/1",
4
scientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/taxonomicname,
5
scientificNameID,,** No join mapping for scientificNameID ** 
inputs/test_taxonomic_names/Taxon/test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <locationevent>
8
                    <taxonoccurrence>
9
                        <taxondetermination>
10
                            <taxonpath_id>
11
                                <taxonpath>
12
                                    <canon_taxonpath_id>
13
                                        <taxonpath>
14
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
15
                                            <identifyingtaxonomicname>$scientificName</identifyingtaxonomicname>
16
                                        </taxonpath>
17
                                    </canon_taxonpath_id>
18
                                    <taxonomicname>$scientificName</taxonomicname>
19
                                </taxonpath>
20
                            </taxonpath_id>
21
                        </taxondetermination>
22
                    </taxonoccurrence>
23
                </locationevent>
24
            </location>
25
        </path>
26
    </_simplifyPath>
27
</VegBIEN>
28
Inserted 9 new rows into database
inputs/test_taxonomic_names/Taxon/unmapped_terms.csv
1
scientificNameID

Also available in: Unified diff