Spaces:
Sleeping
Sleeping
Charles De Dampierre
commited on
Commit
•
c7efac0
1
Parent(s):
598caee
add complexity index
Browse files- __pycache__/region_list.cpython-311.pyc +0 -0
- app.py +11 -0
- data/immaterial_index/figures_trends_R/results/German world.png +2 -2
- data/immaterial_index/figures_trends_R/results/Japan.png +2 -2
- data/immaterial_index/figures_trends_R/results_complexity/Arabic world.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Balkans.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Chinese world.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Eastern Europe.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/France.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/German world.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Greek World.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Indian world.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Italy.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Japan.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Korea.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Latin World.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Low countries.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Muslim world.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Nordic countries.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Persian world.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Portugal.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Spain.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/United Kingdom.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/Western Europe.png +3 -0
- data/immaterial_index/figures_trends_R/results_complexity/mediterranean World.png +3 -0
__pycache__/region_list.cpython-311.pyc
CHANGED
Binary files a/__pycache__/region_list.cpython-311.pyc and b/__pycache__/region_list.cpython-311.pyc differ
|
|
app.py
CHANGED
@@ -72,6 +72,8 @@ if page == "Home":
|
|
72 |
unseen_capita_index_path = (
|
73 |
"data/immaterial_index/figures_trends_R/results_unseen_capita"
|
74 |
)
|
|
|
|
|
75 |
population_path = "data/population"
|
76 |
maps_path = "data/map_figures"
|
77 |
|
@@ -89,6 +91,7 @@ if page == "Home":
|
|
89 |
"global_index_per_capita": f"{global_index_path_per_capita}/{region_key}.png",
|
90 |
"unseen_index": f"{unseen_index_path}/{region_key}.png",
|
91 |
"unseen_index_capita": f"{unseen_capita_index_path}/{region_key}.png",
|
|
|
92 |
"population_index": f"{population_path}/{region_key}.png",
|
93 |
}
|
94 |
|
@@ -157,6 +160,14 @@ if page == "Home":
|
|
157 |
use_column_width=True,
|
158 |
)
|
159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
else:
|
161 |
st.write(f"File for {key.capitalize()} does not exist.")
|
162 |
|
|
|
72 |
unseen_capita_index_path = (
|
73 |
"data/immaterial_index/figures_trends_R/results_unseen_capita"
|
74 |
)
|
75 |
+
|
76 |
+
complexity_index_path = "data/immaterial_index/figures_trends_R/results_complexity"
|
77 |
population_path = "data/population"
|
78 |
maps_path = "data/map_figures"
|
79 |
|
|
|
91 |
"global_index_per_capita": f"{global_index_path_per_capita}/{region_key}.png",
|
92 |
"unseen_index": f"{unseen_index_path}/{region_key}.png",
|
93 |
"unseen_index_capita": f"{unseen_capita_index_path}/{region_key}.png",
|
94 |
+
"complexity_index": f"{complexity_index_path}/{region_key}.png",
|
95 |
"population_index": f"{population_path}/{region_key}.png",
|
96 |
}
|
97 |
|
|
|
160 |
use_column_width=True,
|
161 |
)
|
162 |
|
163 |
+
elif key == "complexity_index":
|
164 |
+
st.subheader("Complexity Index")
|
165 |
+
st.image(
|
166 |
+
Image.open(path),
|
167 |
+
caption=key.capitalize(),
|
168 |
+
use_column_width=True,
|
169 |
+
)
|
170 |
+
|
171 |
else:
|
172 |
st.write(f"File for {key.capitalize()} does not exist.")
|
173 |
|
data/immaterial_index/figures_trends_R/results/German world.png
CHANGED
Git LFS Details
|
Git LFS Details
|
data/immaterial_index/figures_trends_R/results/Japan.png
CHANGED
Git LFS Details
|
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Arabic world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Balkans.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Chinese world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Eastern Europe.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/France.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/German world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Greek World.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Indian world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Italy.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Japan.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Korea.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Latin World.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Low countries.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Muslim world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Nordic countries.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Persian world.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Portugal.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Spain.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/United Kingdom.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Western Europe.png
ADDED
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/mediterranean World.png
ADDED
Git LFS Details
|