Project

General

Profile

« Previous | Next » 

Revision 11755

added inputs/CVS/stratumType/

View differences:

inputs/CVS/import_order.txt
1 1
Source
2 2
plot_
3 3
observation_
4
stratumType
4 5
plantConcept_
5 6
taxonObservation_
6 7
stemCount_
inputs/CVS/stratumType/header.csv
1
STRATUMTYPE_ID,STRATUMMETHOD_ID,stratumIndex,stratumName,stratumDescription,dba_src_ID,stratumOrder
inputs/CVS/stratumType/run
1
#!/bin/bash -e
2
. "$(dirname "${BASH_SOURCE[0]}")"/../table.run
0 3

  
inputs/CVS/stratumType/map.csv
1
CVS,VegCore,Filter,Comments
2
STRATUMTYPE_ID,*STRATUMTYPE_ID,,
3
STRATUMMETHOD_ID,*stratumType--STRATUMMETHOD_ID,,
4
stratumIndex,*stratumType--stratumIndex,,
5
stratumName,stratum__name,,
6
stratumDescription,*stratumType--stratumDescription,,
7
dba_src_ID,*stratumType--dba_src_ID,,
8
stratumOrder,*stratumType--stratumOrder,,
inputs/CVS/stratumType/VegBIEN.csv
1
link ../../../mappings/VegCore-VegBIEN.csv
0 2

  
inputs/CVS/stratumType/test.xml.ref
1
<!--put template-->
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>CVS.new</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path><location><locationevent><locationevent fkey="parent_id"><stratum_id><stratum><stratumname>$stratum__name</stratumname></stratum></stratum_id></locationevent></locationevent></location></path>
9
            </_simplifyPath>
10
        </path>
11
    </_setDefault>
12
</VegBIEN>
13
Inserted 3 new rows into database
inputs/CVS/stratumType/new_terms.csv
1
STRATUMMETHOD_ID,*stratumType--STRATUMMETHOD_ID,,
2
stratumIndex,*stratumType--stratumIndex,,
3
stratumDescription,*stratumType--stratumDescription,,
4
dba_src_ID,*stratumType--dba_src_ID,,
5
stratumOrder,*stratumType--stratumOrder,,
inputs/CVS/stratumType/unmapped_terms.csv
1
*STRATUMTYPE_ID
2
*stratumType--STRATUMMETHOD_ID
3
*stratumType--stratumIndex
4
*stratumType--stratumDescription
5
*stratumType--dba_src_ID
6
*stratumType--stratumOrder

Also available in: Unified diff