Project

General

Profile

« Previous | Next » 

Revision 11932

mapped inputs/VegBank/project/, which includes the projectName for attribution

View differences:

inputs/VegBank/project/header.csv
1
project_id,projectname,projectdescription,startdate,stopdate,d_obscount,d_lastplotaddeddate,accessioncode
inputs/VegBank/project/run
1
#!/bin/bash -e
2
. "$(dirname "${BASH_SOURCE[0]}")"/../table.run
0 3

  
inputs/VegBank/project/map.csv
1
VegBank,VegCore,Filter,Comments
2
project_id,projectID,,
3
projectname,projectName,,
4
projectdescription,*project--projectdescription,,
5
startdate,projectStartDate,,
6
stopdate,projectEndDate,,
7
d_obscount,*project--d_obscount,,
8
d_lastplotaddeddate,*project--d_lastplotaddeddate,,
9
accessioncode,*project--accessioncode,,
inputs/VegBank/project/VegBIEN.csv
1
link ../../../mappings/VegCore-VegBIEN.csv
0 2

  
inputs/VegBank/project/test.xml.ref
1
<!--put template-->
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>VegBank.new</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <locationevent>
11
                            <project_id>
12
                                <project>
13
                                    <projectname>$projectName</projectname>
14
                                    <sourceaccessioncode>$projectID</sourceaccessioncode>
15
                                    <startdate>$projectStartDate</startdate>
16
                                    <stopdate>$projectEndDate</stopdate>
17
                                </project>
18
                            </project_id>
19
                        </locationevent>
20
                    </location>
21
                </path>
22
            </_simplifyPath>
23
        </path>
24
    </_setDefault>
25
</VegBIEN>
26
Inserted 3 new rows into database
inputs/VegBank/project/new_terms.csv
1
projectdescription,*project--projectdescription,,
2
stopdate,projectEndDate,,
3
d_obscount,*project--d_obscount,,
4
d_lastplotaddeddate,*project--d_lastplotaddeddate,,
5
accessioncode,*project--accessioncode,,
inputs/VegBank/project/unmapped_terms.csv
1
*project--projectdescription
2
*project--d_obscount
3
*project--d_lastplotaddeddate
4
*project--accessioncode

Also available in: Unified diff