Project

General

Profile

« Previous | Next » 

Revision 11224

inputs/VegBank/plantconcept_/: mapped columns, since this is now included in import_order.txt and therefore gets processed by the column-renaming runscripts. note that this means that in taxonobservation_/map.csv, the plantconcept_ input column names need to be changed to what they are mapped to.

View differences:

inputs/VegBank/plantconcept_/map.csv
1
VegBank,VegCore,Filter,Comments
2
plantconcept_id,plantconcept_id,,
3
plantname_id,plantname_id,,
4
plantconcept_reference_id,*plantconcept_--plantconcept_reference_id,,
5
plantconcept_plantname,scientificName__for_nearest_taxon_concept,,
6
plantcode,*plantconcept_--plantcode,,
7
plantdescription,*plantconcept_--plantdescription,,
8
d_obscount,*plantconcept_--d_obscount,,
9
d_currentaccepted,*plantconcept_--d_currentaccepted,,
10
plantconcept_accessioncode,*plantconcept_--plantconcept_accessioncode,,
11
Kingdom,kingdom,,
12
Subkingdom,*Subkingdom,,
13
Superdivision,*Superdivision,,
14
Division,*Division,,
15
Subdivision,*Subdivision,,
16
Class,class,,
17
Subclass,*Subclass,,
18
Order,order,,
19
Family,family,,
20
Genus,genus,,includes genus author
21
Species,speciesBinomial,,full taxonomic name at that rank
22
Subspecies,EQUIV#to:Species#Subspecies,,full taxonomic name at that rank
23
Variety,EQUIV#to:Species#Variety,,full taxonomic name at that rank
24
Forma,EQUIV#to:Species#Forma,,full taxonomic name at that rank
inputs/VegBank/plantconcept_/VegBIEN.csv
1
link ../../../mappings/VegCore-VegBIEN.csv
0 2

  
inputs/VegBank/plantconcept_/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
                            <locationevent fkey="parent_id">
12
                                <taxonoccurrence>
13
                                    <taxondetermination>
14
                                        <taxonverbatim_id>
15
                                            <taxonverbatim>
16
                                                <taxonlabel_id>
17
                                                    <taxonlabel>
18
                                                        <parent_id>
19
                                                            <taxonlabel>
20
                                                                <parent_id>
21
                                                                    <taxonlabel>
22
                                                                        <rank>cultivar</rank>
23
                                                                        <parent_id>
24
                                                                            <taxonlabel>
25
                                                                                <rank>forma</rank>
26
                                                                                <parent_id>
27
                                                                                    <taxonlabel>
28
                                                                                        <rank>variety</rank>
29
                                                                                        <parent_id>
30
                                                                                            <taxonlabel>
31
                                                                                                <rank>subspecies</rank>
32
                                                                                                <parent_id>
33
                                                                                                    <taxonlabel>
34
                                                                                                        <rank>species</rank>
35
                                                                                                        <parent_id>
36
                                                                                                            <taxonlabel>
37
                                                                                                                <rank>genus</rank>
38
                                                                                                                <taxonepithet>$genus</taxonepithet>
39
                                                                                                                <parent_id>
40
                                                                                                                    <taxonlabel>
41
                                                                                                                        <rank>family</rank>
42
                                                                                                                        <taxonepithet>$family</taxonepithet>
43
                                                                                                                        <parent_id>
44
                                                                                                                            <taxonlabel>
45
                                                                                                                                <rank>order</rank>
46
                                                                                                                                <taxonepithet>$order</taxonepithet>
47
                                                                                                                                <parent_id>
48
                                                                                                                                    <taxonlabel>
49
                                                                                                                                        <rank>class</rank>
50
                                                                                                                                        <taxonepithet>$class</taxonepithet>
51
                                                                                                                                        <parent_id>
52
                                                                                                                                            <taxonlabel>
53
                                                                                                                                                <rank>phylum</rank>
54
                                                                                                                                                <parent_id>
55
                                                                                                                                                    <taxonlabel>
56
                                                                                                                                                        <rank>kingdom</rank>
57
                                                                                                                                                        <taxonepithet>$kingdom</taxonepithet>
58
                                                                                                                                                    </taxonlabel>
59
                                                                                                                                                </parent_id>
60
                                                                                                                                            </taxonlabel>
61
                                                                                                                                        </parent_id>
62
                                                                                                                                    </taxonlabel>
63
                                                                                                                                </parent_id>
64
                                                                                                                            </taxonlabel>
65
                                                                                                                        </parent_id>
66
                                                                                                                    </taxonlabel>
67
                                                                                                                </parent_id>
68
                                                                                                            </taxonlabel>
69
                                                                                                        </parent_id>
70
                                                                                                    </taxonlabel>
71
                                                                                                </parent_id>
72
                                                                                            </taxonlabel>
73
                                                                                        </parent_id>
74
                                                                                    </taxonlabel>
75
                                                                                </parent_id>
76
                                                                            </taxonlabel>
77
                                                                        </parent_id>
78
                                                                    </taxonlabel>
79
                                                                </parent_id>
80
                                                            </taxonlabel>
81
                                                        </parent_id>
82
                                                        <taxonomicname>
83
                                                            <_merge_prefix>
84
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
85
                                                                <value><_filter_genus><value>$genus</value></_filter_genus></value>
86
                                                            </_merge_prefix>
87
                                                        </taxonomicname>
88
                                                    </taxonlabel>
89
                                                </taxonlabel_id>
90
                                                <family>$family</family>
91
                                                <genus>$genus</genus>
92
                                            </taxonverbatim>
93
                                        </taxonverbatim_id>
94
                                    </taxondetermination>
95
                                </taxonoccurrence>
96
                            </locationevent>
97
                        </locationevent>
98
                    </location>
99
                </path>
100
            </_simplifyPath>
101
        </path>
102
    </_setDefault>
103
</VegBIEN>
104
Inserted 7 new rows into database
inputs/VegBank/plantconcept_/unmapped_terms.csv
1
plantconcept_id
2
plantname_id
3
*plantconcept_--plantconcept_reference_id
4
scientificName__for_nearest_taxon_concept
5
*plantconcept_--plantcode
6
*plantconcept_--plantdescription
7
*plantconcept_--d_obscount
8
*plantconcept_--d_currentaccepted
9
*plantconcept_--plantconcept_accessioncode
10
*Subkingdom
11
*Superdivision
12
*Division
13
*Subdivision
14
*Subclass
15
speciesBinomial
inputs/VegBank/taxonobservation_/map.csv
42 42
int_currplantcommon,vernacularName,,
43 43
int_currplantcode,*taxonobservation_--int_currplantcode,,
44 44
taxonobservation_accessioncode,*taxonobservation_--taxonobservation_accessioncode,,
45
plantconcept_reference_id,*taxonobservation_--plantconcept_reference_id,,
46
plantconcept_plantname,scientificName__for_nearest_taxon_concept,,"when int_currplantscifull also provided, this often leaves out lower ranks. however, int_currplantscifull is not always provided when this is."
47
plantcode,*taxonobservation_--plantcode,,
48
plantdescription,*taxonobservation_--plantdescription,,
49
d_obscount,*taxonobservation_--d_obscount,,
50
d_currentaccepted,*taxonobservation_--d_currentaccepted,,
51
plantconcept_accessioncode,*taxonobservation_--plantconcept_accessioncode,,
52
Kingdom,kingdom,,
53
Subkingdom,*Subkingdom,,
54
Superdivision,*Superdivision,,
55
Division,*Division,,
56
Subdivision,*Subdivision,,
57
Class,class,,
58
Subclass,*Subclass,,
59
Order,order,,
60
Family,family,,
61
Genus,genus,,includes genus author
62
Species,EQUIV#to:plantname#Species,,*taxonobservation_--full* taxonomic name at that rank
63
Subspecies,EQUIV#to:plantname#Subspecies,,*taxonobservation_--full* taxonomic name at that rank
64
Variety,EQUIV#to:plantname#Variety,,*taxonobservation_--full* taxonomic name at that rank
65
Forma,EQUIV#to:plantname#Forma,,*taxonobservation_--full* taxonomic name at that rank
45
*plantconcept_--plantconcept_reference_id,*plantconcept_--plantconcept_reference_id,,
46
scientificName__for_nearest_taxon_concept,scientificName__for_nearest_taxon_concept,,"when int_currplantscifull also provided, this often leaves out lower ranks. however, int_currplantscifull is not always provided when this is."
47
*plantconcept_--plantcode,*plantconcept_--plantcode,,
48
*plantconcept_--plantdescription,*plantconcept_--plantdescription,,
49
*plantconcept_--d_obscount,*plantconcept_--d_obscount,,
50
*plantconcept_--d_currentaccepted,*plantconcept_--d_currentaccepted,,
51
*plantconcept_--plantconcept_accessioncode,*plantconcept_--plantconcept_accessioncode,,
52
kingdom,kingdom,,
53
*Subkingdom,*Subkingdom,,
54
*Superdivision,*Superdivision,,
55
*Division,*Division,,
56
*Subdivision,*Subdivision,,
57
class,class,,
58
*Subclass,*Subclass,,
59
order,order,,
60
family,family,,
61
genus,genus,,includes genus author
62
speciesBinomial,EQUIV#to:plantname#Species,,full taxonomic name at that rank
63
EQUIV#to:Species#Subspecies,EQUIV#to:plantname#Subspecies,,full taxonomic name at that rank
64
EQUIV#to:Species#Variety,EQUIV#to:plantname#Variety,,full taxonomic name at that rank
65
EQUIV#to:Species#Forma,EQUIV#to:plantname#Forma,,full taxonomic name at that rank
66 66
plantname,DUPLICATE#of:plantconcept_plantname#plantname,,exact duplicate
67 67
plantname_reference_id,*taxonobservation_--plantname_reference_id,,
68 68
dateentered,*taxonobservation_--dateentered,,
inputs/VegBank/taxonobservation_/new_terms.csv
31 31
int_currplantcommon,vernacularName,,
32 32
int_currplantcode,*taxonobservation_--int_currplantcode,,
33 33
taxonobservation_accessioncode,*taxonobservation_--taxonobservation_accessioncode,,
34
plantconcept_reference_id,*taxonobservation_--plantconcept_reference_id,,
35
plantconcept_plantname,scientificName__for_nearest_taxon_concept,,"when int_currplantscifull also provided, this often leaves out lower ranks. however, int_currplantscifull is not always provided when this is."
36
plantcode,*taxonobservation_--plantcode,,
37
plantdescription,*taxonobservation_--plantdescription,,
38
d_obscount,*taxonobservation_--d_obscount,,
39
d_currentaccepted,*taxonobservation_--d_currentaccepted,,
40
plantconcept_accessioncode,*taxonobservation_--plantconcept_accessioncode,,
41 34
plantname,DUPLICATE#of:plantconcept_plantname#plantname,,exact duplicate
42 35
plantname_reference_id,*taxonobservation_--plantname_reference_id,,
43 36
dateentered,*taxonobservation_--dateentered,,
inputs/VegBank/taxonobservation_/unmapped_terms.csv
28 28
vernacularName
29 29
*taxonobservation_--int_currplantcode
30 30
*taxonobservation_--taxonobservation_accessioncode
31
*taxonobservation_--plantconcept_reference_id
31
*plantconcept_--plantconcept_reference_id
32 32
scientificName__for_nearest_taxon_concept
33
*taxonobservation_--plantcode
34
*taxonobservation_--plantdescription
35
*taxonobservation_--d_obscount
36
*taxonobservation_--d_currentaccepted
37
*taxonobservation_--plantconcept_accessioncode
33
*plantconcept_--plantcode
34
*plantconcept_--plantdescription
35
*plantconcept_--d_obscount
36
*plantconcept_--d_currentaccepted
37
*plantconcept_--plantconcept_accessioncode
38 38
*Subkingdom
39 39
*Superdivision
40 40
*Division

Also available in: Unified diff