Charles De Dampierre
commited on
Commit
•
b91b0fd
1
Parent(s):
2baea8c
add occupations
Browse files- app.py +12 -1
- data/immaterial_index/figures_trends_R/results/Greek World.png +2 -2
- data/immaterial_index/figures_trends_R/results_capita/Greek World.png +2 -2
- data/immaterial_index/figures_trends_R/results_complexity/Greek World.png +2 -2
- data/immaterial_index/figures_trends_R/results_occupations/Arabic world.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Balkans.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Chinese world.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Eastern Europe.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/France.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/German world.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Greek World.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Indian world.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Italy.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Japan.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Korea.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Latin World.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Low countries.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Muslim world.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Nordic countries.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Persian world.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Portugal.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Spain.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/United Kingdom.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/Western Europe.png +3 -0
- data/immaterial_index/figures_trends_R/results_occupations/mediterranean World.png +3 -0
- data/immaterial_index/figures_trends_R/results_unseen/Greek World.png +2 -2
- data/immaterial_index/figures_trends_R/results_unseen_capita/Greek World.png +2 -2
app.py
CHANGED
@@ -74,6 +74,9 @@ if page == "Home":
|
|
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 |
|
@@ -92,6 +95,7 @@ if page == "Home":
|
|
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 |
|
@@ -168,11 +172,18 @@ if page == "Home":
|
|
168 |
use_column_width=True,
|
169 |
)
|
170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
else:
|
172 |
st.write(f"File for {key.capitalize()} does not exist.")
|
173 |
|
174 |
with col3:
|
175 |
-
|
176 |
try:
|
177 |
st.image(
|
178 |
Image.open(f"data/map_figures/map_{selected_region}.png"),
|
|
|
74 |
)
|
75 |
|
76 |
complexity_index_path = "data/immaterial_index/figures_trends_R/results_complexity"
|
77 |
+
occupations_index_path = (
|
78 |
+
"data/immaterial_index/figures_trends_R/results_occupations"
|
79 |
+
)
|
80 |
population_path = "data/population"
|
81 |
maps_path = "data/map_figures"
|
82 |
|
|
|
95 |
"unseen_index": f"{unseen_index_path}/{region_key}.png",
|
96 |
"unseen_index_capita": f"{unseen_capita_index_path}/{region_key}.png",
|
97 |
"complexity_index": f"{complexity_index_path}/{region_key}.png",
|
98 |
+
"occupations_index": f"{occupations_index_path}/{region_key}.png",
|
99 |
"population_index": f"{population_path}/{region_key}.png",
|
100 |
}
|
101 |
|
|
|
172 |
use_column_width=True,
|
173 |
)
|
174 |
|
175 |
+
elif key == "occupations_index":
|
176 |
+
st.subheader("Occupation Index")
|
177 |
+
st.image(
|
178 |
+
Image.open(path),
|
179 |
+
caption=key.capitalize(),
|
180 |
+
use_column_width=True,
|
181 |
+
)
|
182 |
+
|
183 |
else:
|
184 |
st.write(f"File for {key.capitalize()} does not exist.")
|
185 |
|
186 |
with col3:
|
|
|
187 |
try:
|
188 |
st.image(
|
189 |
Image.open(f"data/map_figures/map_{selected_region}.png"),
|
data/immaterial_index/figures_trends_R/results/Greek World.png
CHANGED
![]() |
Git LFS Details
|
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_capita/Greek World.png
CHANGED
![]() |
Git LFS Details
|
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_complexity/Greek World.png
CHANGED
![]() |
Git LFS Details
|
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Arabic world.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Balkans.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Chinese world.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Eastern Europe.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/France.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/German world.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Greek World.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Indian world.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Italy.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Japan.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Korea.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Latin World.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Low countries.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Muslim world.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Nordic countries.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Persian world.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Portugal.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Spain.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/United Kingdom.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/Western Europe.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_occupations/mediterranean World.png
ADDED
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_unseen/Greek World.png
CHANGED
![]() |
Git LFS Details
|
![]() |
Git LFS Details
|
data/immaterial_index/figures_trends_R/results_unseen_capita/Greek World.png
CHANGED
![]() |
Git LFS Details
|
![]() |
Git LFS Details
|