Revision 13972
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/inputs/IUCN/Makefile | ||
---|---|---|
1 |
include ../input.Makefile |
trunk/inputs/IUCN/Source/test.xml.ref | ||
---|---|---|
1 |
<!--put template--> |
|
2 |
<VegBIEN> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<source_id><source><shortname>IUCN.new</shortname></source></source_id> |
|
5 |
<path> |
|
6 |
<_simplifyPath> |
|
7 |
<next>parent_id</next> |
|
8 |
<path> |
|
9 |
<source> |
|
10 |
<shortname>IUCN.new</shortname> |
|
11 |
<sourcetype>primary database</sourcetype> |
|
12 |
</source> |
|
13 |
</path> |
|
14 |
</_simplifyPath> |
|
15 |
</path> |
|
16 |
</_setDefault> |
|
17 |
</VegBIEN> |
|
18 |
Inserted 1 new rows into database |
trunk/inputs/IUCN/Source/VegBIEN.csv | ||
---|---|---|
1 |
link ../../../mappings/VegCore-VegBIEN.csv |
|
2 | 0 |
trunk/inputs/IUCN/Source/unmapped_terms.csv | ||
---|---|---|
1 |
*row_num |
trunk/inputs/IUCN/Source/header.csv | ||
---|---|---|
1 |
row_num |
trunk/inputs/IUCN/Source/data.csv | ||
---|---|---|
1 |
|
|
2 |
|
trunk/inputs/IUCN/Source/run | ||
---|---|---|
1 |
#!/bin/bash -e |
|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/../table.run |
|
3 | 0 |
trunk/inputs/IUCN/Source/map.csv | ||
---|---|---|
1 |
IUCN,VegCore,Filter,Comments |
|
2 |
row_num,*row_num,, |
|
3 |
:primary database,sourceType,, |
trunk/inputs/IUCN/import_order.txt | ||
---|---|---|
1 |
European_Red_List_Plants |
|
2 |
Source |
trunk/inputs/IUCN/run | ||
---|---|---|
1 |
#!/bin/bash -e |
|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/datasrc_dir.run |
|
3 | 0 |
trunk/inputs/IUCN/European_Red_List_Plants/header.csv | ||
---|---|---|
1 |
family,specificEpithet,*IUCN Red List Category (Europe),*IUCN Red List Criteria (Europe),*IUCN Red List Category (EU 27),*IUCN Red List Criteria (EU 27),*Endemic to Europe?,*Endemic to EU27?,*Habitats Directive Annexes,*Bern Convention Annexes,*CITES Annexes,*EU Wildlife Trade Regulation,*Aquatic species?,*Crop wild relative?,Crop wild relative? |
trunk/inputs/IUCN/European_Red_List_Plants/run | ||
---|---|---|
1 |
#!/bin/bash -e |
|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/../table.run |
|
3 | 0 |
trunk/inputs/IUCN/European_Red_List_Plants/map.csv | ||
---|---|---|
1 |
IUCN,VegCore,Filter,Comments |
|
2 |
row_num,*row_num,, |
|
3 |
Family,family,, |
|
4 |
Species,specificEpithet,, |
|
5 |
IUCN Red List Category (Europe),*IUCN Red List Category (Europe),, |
|
6 |
IUCN Red List Criteria (Europe),*IUCN Red List Criteria (Europe),, |
|
7 |
IUCN Red List Category (EU 27),*IUCN Red List Category (EU 27),, |
|
8 |
IUCN Red List Criteria (EU 27),*IUCN Red List Criteria (EU 27),, |
|
9 |
Endemic to Europe?,*Endemic to Europe?,, |
|
10 |
Endemic to EU27?,*Endemic to EU27?,, |
|
11 |
Habitats Directive Annexes,*Habitats Directive Annexes,, |
|
12 |
Bern Convention Annexes,*Bern Convention Annexes,, |
|
13 |
CITES Annexes,*CITES Annexes,, |
|
14 |
EU Wildlife Trade Regulation,*EU Wildlife Trade Regulation,, |
|
15 |
Aquatic species?,*Aquatic species?,, |
|
16 |
Crop wild relative?,*Crop wild relative?,, |
trunk/inputs/IUCN/European_Red_List_Plants/test.xml.ref | ||
---|---|---|
1 |
<!--put template--> |
|
2 |
<VegBIEN> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<source_id><source><shortname>IUCN.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 |
<taxonepithet>$specificEpithet</taxonepithet> |
|
36 |
<parent_id> |
|
37 |
<taxonlabel> |
|
38 |
<rank>genus</rank> |
|
39 |
<parent_id> |
|
40 |
<taxonlabel> |
|
41 |
<rank>family</rank> |
|
42 |
<taxonepithet>$family</taxonepithet> |
|
43 |
</taxonlabel> |
|
44 |
</parent_id> |
|
45 |
</taxonlabel> |
|
46 |
</parent_id> |
|
47 |
</taxonlabel> |
|
48 |
</parent_id> |
|
49 |
</taxonlabel> |
|
50 |
</parent_id> |
|
51 |
</taxonlabel> |
|
52 |
</parent_id> |
|
53 |
</taxonlabel> |
|
54 |
</parent_id> |
|
55 |
</taxonlabel> |
|
56 |
</parent_id> |
|
57 |
</taxonlabel> |
|
58 |
</parent_id> |
|
59 |
<taxonomicname> |
|
60 |
<_merge_prefix> |
|
61 |
<prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix> |
|
62 |
<value>$specificEpithet</value> |
|
63 |
</_merge_prefix> |
|
64 |
</taxonomicname> |
|
65 |
</taxonlabel> |
|
66 |
</taxonlabel_id> |
|
67 |
<family>$family</family> |
|
68 |
<specific_epithet>$specificEpithet</specific_epithet> |
|
69 |
</taxonverbatim> |
|
70 |
</taxonverbatim_id> |
|
71 |
</taxondetermination> |
|
72 |
</taxonoccurrence> |
|
73 |
</locationevent> |
|
74 |
</locationevent> |
|
75 |
</location> |
|
76 |
</path> |
|
77 |
</_simplifyPath> |
|
78 |
</path> |
|
79 |
</_setDefault> |
|
80 |
</VegBIEN> |
|
81 |
Inserted 9 new rows into database |
trunk/inputs/IUCN/European_Red_List_Plants/VegBIEN.csv | ||
---|---|---|
1 |
link ../../../mappings/VegCore-VegBIEN.csv |
|
2 | 0 |
trunk/inputs/IUCN/European_Red_List_Plants/unmapped_terms.csv | ||
---|---|---|
1 |
*row_num |
|
2 |
*IUCN Red List Category (Europe) |
|
3 |
*IUCN Red List Criteria (Europe) |
|
4 |
*IUCN Red List Category (EU 27) |
|
5 |
*IUCN Red List Criteria (EU 27) |
|
6 |
*Endemic to Europe? |
|
7 |
*Endemic to EU27? |
|
8 |
*Habitats Directive Annexes |
|
9 |
*Bern Convention Annexes |
|
10 |
*CITES Annexes |
|
11 |
*EU Wildlife Trade Regulation |
|
12 |
*Aquatic species? |
|
13 |
*Crop wild relative? |
trunk/inputs/IUCN/_src/European_Red_List_Plants_Appendix_2.xlsx.url | ||
---|---|---|
1 |
http://www.iucnredlist.org/documents/Europe/European_Red_List_Plants_Appendix_2.xlsx |
|
2 |
http://www.iucnredlist.org/initiatives/europe/publications |
trunk/inputs/IUCN/table.run | ||
---|---|---|
1 |
#!/bin/bash -e |
|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/table.run |
|
3 | 0 |
trunk/inputs/.IUCN/Source/test.xml.ref | ||
---|---|---|
1 |
<!--put template--> |
|
2 |
<VegBIEN> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<source_id><source><shortname>IUCN.new</shortname></source></source_id> |
|
5 |
<path> |
|
6 |
<_simplifyPath> |
|
7 |
<next>parent_id</next> |
|
8 |
<path> |
|
9 |
<source> |
|
10 |
<shortname>IUCN.new</shortname> |
|
11 |
<sourcetype>primary database</sourcetype> |
|
12 |
</source> |
|
13 |
</path> |
|
14 |
</_simplifyPath> |
|
15 |
</path> |
|
16 |
</_setDefault> |
|
17 |
</VegBIEN> |
|
18 |
Inserted 1 new rows into database |
trunk/inputs/.IUCN/Source/VegBIEN.csv | ||
---|---|---|
1 |
link ../../../mappings/VegCore-VegBIEN.csv |
|
0 | 2 |
trunk/inputs/.IUCN/Source/map.csv | ||
---|---|---|
1 |
IUCN,VegCore,Filter,Comments |
|
2 |
row_num,*row_num,, |
|
3 |
:primary database,sourceType,, |
trunk/inputs/.IUCN/Source/unmapped_terms.csv | ||
---|---|---|
1 |
*row_num |
trunk/inputs/.IUCN/Source/run | ||
---|---|---|
1 |
#!/bin/bash -e |
|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/../table.run |
|
0 | 3 |
trunk/inputs/.IUCN/Source/header.csv | ||
---|---|---|
1 |
row_num |
trunk/inputs/.IUCN/Source/data.csv | ||
---|---|---|
1 |
|
|
2 |
|
trunk/inputs/.IUCN/European_Red_List_Plants/test.xml.ref | ||
---|---|---|
1 |
<!--put template--> |
|
2 |
<VegBIEN> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<source_id><source><shortname>IUCN.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 |
<taxonepithet>$specificEpithet</taxonepithet> |
|
36 |
<parent_id> |
|
37 |
<taxonlabel> |
|
38 |
<rank>genus</rank> |
|
39 |
<parent_id> |
|
40 |
<taxonlabel> |
|
41 |
<rank>family</rank> |
|
42 |
<taxonepithet>$family</taxonepithet> |
|
43 |
</taxonlabel> |
|
44 |
</parent_id> |
|
45 |
</taxonlabel> |
|
46 |
</parent_id> |
|
47 |
</taxonlabel> |
|
48 |
</parent_id> |
|
49 |
</taxonlabel> |
|
50 |
</parent_id> |
|
51 |
</taxonlabel> |
|
52 |
</parent_id> |
|
53 |
</taxonlabel> |
|
54 |
</parent_id> |
|
55 |
</taxonlabel> |
|
56 |
</parent_id> |
|
57 |
</taxonlabel> |
|
58 |
</parent_id> |
|
59 |
<taxonomicname> |
|
60 |
<_merge_prefix> |
|
61 |
<prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix> |
|
62 |
<value>$specificEpithet</value> |
|
63 |
</_merge_prefix> |
|
64 |
</taxonomicname> |
|
65 |
</taxonlabel> |
|
66 |
</taxonlabel_id> |
|
67 |
<family>$family</family> |
|
68 |
<specific_epithet>$specificEpithet</specific_epithet> |
|
69 |
</taxonverbatim> |
|
70 |
</taxonverbatim_id> |
|
71 |
</taxondetermination> |
|
72 |
</taxonoccurrence> |
|
73 |
</locationevent> |
|
74 |
</locationevent> |
|
75 |
</location> |
|
76 |
</path> |
|
77 |
</_simplifyPath> |
|
78 |
</path> |
|
79 |
</_setDefault> |
|
80 |
</VegBIEN> |
|
81 |
Inserted 9 new rows into database |
trunk/inputs/.IUCN/European_Red_List_Plants/run | ||
---|---|---|
1 |
#!/bin/bash -e |
|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/../table.run |
|
0 | 3 |
trunk/inputs/.IUCN/European_Red_List_Plants/VegBIEN.csv | ||
---|---|---|
1 |
link ../../../mappings/VegCore-VegBIEN.csv |
|
0 | 2 |
trunk/inputs/.IUCN/European_Red_List_Plants/map.csv | ||
---|---|---|
1 |
IUCN,VegCore,Filter,Comments |
|
2 |
row_num,*row_num,, |
|
3 |
Family,family,, |
|
4 |
Species,specificEpithet,, |
|
5 |
IUCN Red List Category (Europe),*IUCN Red List Category (Europe),, |
|
6 |
IUCN Red List Criteria (Europe),*IUCN Red List Criteria (Europe),, |
|
7 |
IUCN Red List Category (EU 27),*IUCN Red List Category (EU 27),, |
|
8 |
IUCN Red List Criteria (EU 27),*IUCN Red List Criteria (EU 27),, |
|
9 |
Endemic to Europe?,*Endemic to Europe?,, |
|
10 |
Endemic to EU27?,*Endemic to EU27?,, |
|
11 |
Habitats Directive Annexes,*Habitats Directive Annexes,, |
|
12 |
Bern Convention Annexes,*Bern Convention Annexes,, |
|
13 |
CITES Annexes,*CITES Annexes,, |
|
14 |
EU Wildlife Trade Regulation,*EU Wildlife Trade Regulation,, |
|
15 |
Aquatic species?,*Aquatic species?,, |
|
16 |
Crop wild relative?,*Crop wild relative?,, |
trunk/inputs/.IUCN/European_Red_List_Plants/unmapped_terms.csv | ||
---|---|---|
1 |
*row_num |
|
2 |
*IUCN Red List Category (Europe) |
|
3 |
*IUCN Red List Criteria (Europe) |
|
4 |
*IUCN Red List Category (EU 27) |
|
5 |
*IUCN Red List Criteria (EU 27) |
|
6 |
*Endemic to Europe? |
|
7 |
*Endemic to EU27? |
|
8 |
*Habitats Directive Annexes |
|
9 |
*Bern Convention Annexes |
|
10 |
*CITES Annexes |
|
11 |
*EU Wildlife Trade Regulation |
|
12 |
*Aquatic species? |
|
13 |
*Crop wild relative? |
trunk/inputs/.IUCN/European_Red_List_Plants/header.csv | ||
---|---|---|
1 |
family,specificEpithet,*IUCN Red List Category (Europe),*IUCN Red List Criteria (Europe),*IUCN Red List Category (EU 27),*IUCN Red List Criteria (EU 27),*Endemic to Europe?,*Endemic to EU27?,*Habitats Directive Annexes,*Bern Convention Annexes,*CITES Annexes,*EU Wildlife Trade Regulation,*Aquatic species?,*Crop wild relative?,Crop wild relative? |
trunk/inputs/.IUCN/run | ||
---|---|---|
1 |
#!/bin/bash -e |
|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/datasrc_dir.run |
|
0 | 3 |
trunk/inputs/.IUCN/table.run | ||
---|---|---|
1 |
#!/bin/bash -e |
|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/table.run |
|
0 | 3 |
trunk/inputs/.IUCN/Makefile | ||
---|---|---|
1 |
include ../input.Makefile |
trunk/inputs/.IUCN/import_order.txt | ||
---|---|---|
1 |
European_Red_List_Plants |
|
2 |
Source |
trunk/inputs/.IUCN/_src/European_Red_List_Plants_Appendix_2.xlsx.url | ||
---|---|---|
1 |
http://www.iucnredlist.org/documents/Europe/European_Red_List_Plants_Appendix_2.xlsx |
|
2 |
http://www.iucnredlist.org/initiatives/europe/publications |
Also available in: Unified diff
fix: inputs/IUCN/: renamed to inputs/.IUCN/ (see issue #940)