Charles De Dampierre commited on
Commit
c3ff3bf
1 Parent(s): 7e155c0

GDP per capita

Browse files
app.py CHANGED
@@ -77,6 +77,7 @@ if page == "Home":
77
  "data/immaterial_index/figures_trends_R/results_occupations"
78
  )
79
  population_path = "data/population"
 
80
  maps_path = "data/map_figures"
81
 
82
  from region_list import region_list
@@ -95,6 +96,7 @@ if page == "Home":
95
  "unseen_index_capita": f"{unseen_capita_index_path}/{region_key}.png",
96
  "complexity_index": f"{complexity_index_path}/{region_key}.png",
97
  "occupations_index": f"{occupations_index_path}/{region_key}.png",
 
98
  "population_index": f"{population_path}/{region_key}.png",
99
  }
100
 
@@ -163,16 +165,24 @@ if page == "Home":
163
  use_column_width=True,
164
  )
165
 
166
- elif key == "complexity_index":
167
- st.subheader("Complexity Index")
 
 
 
 
 
 
 
 
168
  st.image(
169
  Image.open(path),
170
  caption=key.capitalize(),
171
  use_column_width=True,
172
  )
173
 
174
- elif key == "occupations_index":
175
- st.subheader("Occupation Index")
176
  st.image(
177
  Image.open(path),
178
  caption=key.capitalize(),
 
77
  "data/immaterial_index/figures_trends_R/results_occupations"
78
  )
79
  population_path = "data/population"
80
+ gdp_per_capita_path = "data/gdp_per_capita"
81
  maps_path = "data/map_figures"
82
 
83
  from region_list import region_list
 
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
+ "gdp_per_capita_index": f"{gdp_per_capita_path}/{region_key}.png",
100
  "population_index": f"{population_path}/{region_key}.png",
101
  }
102
 
 
165
  use_column_width=True,
166
  )
167
 
168
+ # elif key == "complexity_index":
169
+ # st.subheader("Complexity Index")
170
+ # st.image(
171
+ # Image.open(path),
172
+ # caption=key.capitalize(),
173
+ # use_column_width=True,
174
+ # )
175
+
176
+ elif key == "occupations_index":
177
+ st.subheader("Occupation Index")
178
  st.image(
179
  Image.open(path),
180
  caption=key.capitalize(),
181
  use_column_width=True,
182
  )
183
 
184
+ elif key == "gdp_per_capita_index":
185
+ st.subheader("GDP per capita")
186
  st.image(
187
  Image.open(path),
188
  caption=key.capitalize(),
data/gdp_per_capita/Arabic world.png ADDED

Git LFS Details

  • SHA256: 650b801f6517f08f0715ccd2df8a132424f8273e4ca3589f4aa52406afaa27c1
  • Pointer size: 130 Bytes
  • Size of remote file: 23.2 kB
data/gdp_per_capita/Chinese world.png ADDED

Git LFS Details

  • SHA256: 8d98eeefe070c92b3357a03c8601ea696bd66ccecab913a771cbd7b2652304af
  • Pointer size: 130 Bytes
  • Size of remote file: 31.8 kB
data/gdp_per_capita/Eastern Europe.png ADDED

Git LFS Details

  • SHA256: 7b6a7cde425e224c3b5f42185e9c0693b12f571254a9b5d318ace39903d7d1a6
  • Pointer size: 130 Bytes
  • Size of remote file: 50.1 kB
data/gdp_per_capita/France.png ADDED

Git LFS Details

  • SHA256: c47735a7e97da44b938665a43ba1e2caeed437f1988c84c8f2d63542e492060a
  • Pointer size: 130 Bytes
  • Size of remote file: 38.8 kB
data/gdp_per_capita/German world.png ADDED

Git LFS Details

  • SHA256: de75bf98fcc089d97ad9c3aaafcdc72adebae6f66d0876534d91d76660ceda4c
  • Pointer size: 130 Bytes
  • Size of remote file: 24.9 kB
data/gdp_per_capita/Italy.png ADDED

Git LFS Details

  • SHA256: 61712b12b3a113a33468bba020240ba55832db61d2359417bd91d823810e7b99
  • Pointer size: 130 Bytes
  • Size of remote file: 42.5 kB
data/gdp_per_capita/Japan.png ADDED

Git LFS Details

  • SHA256: d60b4ef2e7321e0aecdabe18d9a4f02fe69b9db49c7fea895ad24a2c3a20c9ad
  • Pointer size: 130 Bytes
  • Size of remote file: 25.2 kB
data/gdp_per_capita/Low countries.png ADDED

Git LFS Details

  • SHA256: 52d8ff08d48b7d2c3d38f38f2fc364922bfb60b1e3ce78baa65e32baa2ee8e30
  • Pointer size: 130 Bytes
  • Size of remote file: 54.6 kB
data/gdp_per_capita/Nordic countries.png ADDED

Git LFS Details

  • SHA256: 8e84afab1d392224994167a76eccaaa1b2f19b8edbb209cbcd4e10094f51063d
  • Pointer size: 130 Bytes
  • Size of remote file: 60.6 kB
data/gdp_per_capita/Ottoman Turkey.png ADDED

Git LFS Details

  • SHA256: 753235b1a535c7821a707ecd107349379a4fbd316d58a7bef018b5bcb8c1fe9f
  • Pointer size: 130 Bytes
  • Size of remote file: 27.8 kB
data/gdp_per_capita/Portugal.png ADDED

Git LFS Details

  • SHA256: 3e0a10d05c65f8ea59865083dc1d38e4b180d6038473647fa654515a5b525f8a
  • Pointer size: 130 Bytes
  • Size of remote file: 42.2 kB
data/gdp_per_capita/Spain.png ADDED

Git LFS Details

  • SHA256: 068e9ab84b77053898e3a208a7bb74ded68e720a3146bbe94ee274f4a8287f1d
  • Pointer size: 130 Bytes
  • Size of remote file: 30.7 kB
data/gdp_per_capita/United Kingdom.png ADDED

Git LFS Details

  • SHA256: 6a32cd09539ca77dffdc27ec06b24b41cf92ca0c128f688f520601e04555dd52
  • Pointer size: 130 Bytes
  • Size of remote file: 51.6 kB
moving_pictures.sh CHANGED
@@ -7,6 +7,11 @@ find data/immaterial_index -type f ! -name "*.png" -exec rm {} \;
7
  cp -r ../figures_notebooks/figures/environment/population data/
8
  find data/population -type f ! -name "*.png" -exec rm {} \;
9
 
 
 
 
 
 
10
  # Map Figures
11
  cp -r ../figures_notebooks/map_figures data/
12
  find data/map_figures -type f ! -name "*.png" -exec rm {} \;
 
7
  cp -r ../figures_notebooks/figures/environment/population data/
8
  find data/population -type f ! -name "*.png" -exec rm {} \;
9
 
10
+
11
+ # Population Index
12
+ cp -r ../figures_notebooks/figures/environment/gdp_per_capita data/
13
+ find data/gdp_per_capita -type f ! -name "*.png" -exec rm {} \;
14
+
15
  # Map Figures
16
  cp -r ../figures_notebooks/map_figures data/
17
  find data/map_figures -type f ! -name "*.png" -exec rm {} \;