Spaces:
Running
Running
Update nomad_data.py
Browse files- nomad_data.py +41 -7
nomad_data.py
CHANGED
@@ -3,6 +3,7 @@ data = [
|
|
3 |
{
|
4 |
'City': 'Brasília',
|
5 |
'Country': 'Brazil',
|
|
|
6 |
'Internet Speed (Mbps)': 75,
|
7 |
'Monthly Cost Living (USD)': 800,
|
8 |
'Quality of Life': 7.3,
|
@@ -15,6 +16,7 @@ data = [
|
|
15 |
{
|
16 |
'City': 'Budapest',
|
17 |
'Country': 'Hungary',
|
|
|
18 |
'Internet Speed (Mbps)': 100,
|
19 |
'Monthly Cost Living (USD)': 1000,
|
20 |
'Quality of Life': 7.1,
|
@@ -27,6 +29,7 @@ data = [
|
|
27 |
{
|
28 |
'City': 'Montevideo',
|
29 |
'Country': 'Uruguay',
|
|
|
30 |
'Internet Speed (Mbps)': 80,
|
31 |
'Monthly Cost Living (USD)': 900,
|
32 |
'Quality of Life': 6.9,
|
@@ -39,6 +42,7 @@ data = [
|
|
39 |
{
|
40 |
'City': 'Lisbon',
|
41 |
'Country': 'Portugal',
|
|
|
42 |
'Internet Speed (Mbps)': 150,
|
43 |
'Monthly Cost Living (USD)': 1000,
|
44 |
'Quality of Life': 6.8,
|
@@ -51,6 +55,7 @@ data = [
|
|
51 |
{
|
52 |
'City': 'Chiang Mai',
|
53 |
'Country': 'Thailand',
|
|
|
54 |
'Internet Speed (Mbps)': 200,
|
55 |
'Monthly Cost Living (USD)': 800,
|
56 |
'Quality of Life': 7.5,
|
@@ -63,6 +68,7 @@ data = [
|
|
63 |
{
|
64 |
'City': 'Dubai',
|
65 |
'Country': 'United Arab Emirates',
|
|
|
66 |
'Internet Speed (Mbps)': 195,
|
67 |
'Monthly Cost Living (USD)': 3500,
|
68 |
'Quality of Life': 8.0,
|
@@ -75,6 +81,7 @@ data = [
|
|
75 |
{
|
76 |
'City': 'Valencia',
|
77 |
'Country': 'Spain',
|
|
|
78 |
'Internet Speed (Mbps)': 151,
|
79 |
'Monthly Cost Living (USD)': 900,
|
80 |
'Quality of Life': 6.5,
|
@@ -87,6 +94,7 @@ data = [
|
|
87 |
{
|
88 |
'City': 'Rome',
|
89 |
'Country': 'Italy',
|
|
|
90 |
'Internet Speed (Mbps)': 113,
|
91 |
'Monthly Cost Living (USD)': 1200,
|
92 |
'Quality of Life': 6.0,
|
@@ -99,6 +107,7 @@ data = [
|
|
99 |
{
|
100 |
'City': 'Quebec City',
|
101 |
'Country': 'Canada',
|
|
|
102 |
'Internet Speed (Mbps)': 35.2,
|
103 |
'Monthly Cost Living (USD)': 725,
|
104 |
'Quality of Life': 7.0,
|
@@ -111,6 +120,7 @@ data = [
|
|
111 |
{
|
112 |
'City': 'Catania',
|
113 |
'Country': 'Italy',
|
|
|
114 |
'Internet Speed (Mbps)': 141.82,
|
115 |
'Monthly Cost Living (USD)': 650,
|
116 |
'Quality of Life': 6.0,
|
@@ -123,6 +133,7 @@ data = [
|
|
123 |
{
|
124 |
'City': 'Medellín',
|
125 |
'Country': 'Colombia',
|
|
|
126 |
'Internet Speed (Mbps)': 30,
|
127 |
'Monthly Cost Living (USD)': 850,
|
128 |
'Quality of Life': 7.2,
|
@@ -135,6 +146,7 @@ data = [
|
|
135 |
{
|
136 |
'City': 'Mexico City',
|
137 |
'Country': 'Mexico',
|
|
|
138 |
'Internet Speed (Mbps)': 50,
|
139 |
'Monthly Cost Living (USD)': 800,
|
140 |
'Quality of Life': 7.2,
|
@@ -142,11 +154,12 @@ data = [
|
|
142 |
'Visa Length (Months)': None,
|
143 |
'Visa Cost (USD)': None,
|
144 |
'Growth Trend (5 Years)': '+70%',
|
145 |
-
'Key Feature': 'Affordable, vibrant culture, strong community'
|
146 |
},
|
147 |
{
|
148 |
'City': 'Tokyo',
|
149 |
'Country': 'Japan',
|
|
|
150 |
'Internet Speed (Mbps)': 300,
|
151 |
'Monthly Cost Living (USD)': 1500,
|
152 |
'Quality of Life': 8.5,
|
@@ -154,11 +167,12 @@ data = [
|
|
154 |
'Visa Length (Months)': 12,
|
155 |
'Visa Cost (USD)': 200,
|
156 |
'Growth Trend (5 Years)': '+60%',
|
157 |
-
'Key Feature': 'Tech-friendly, excellent infrastructure, safe'
|
158 |
},
|
159 |
{
|
160 |
'City': 'Tbilisi',
|
161 |
'Country': 'Georgia',
|
|
|
162 |
'Internet Speed (Mbps)': 50,
|
163 |
'Monthly Cost Living (USD)': 500,
|
164 |
'Quality of Life': 7.0,
|
@@ -166,11 +180,12 @@ data = [
|
|
166 |
'Visa Length (Months)': 12,
|
167 |
'Visa Cost (USD)': 50,
|
168 |
'Growth Trend (5 Years)': '+92%',
|
169 |
-
'Key Feature': 'Affordable, fast-growing hub, visa-free stays for 365 days'
|
170 |
},
|
171 |
{
|
172 |
'City': 'Madrid',
|
173 |
'Country': 'Spain',
|
|
|
174 |
'Internet Speed (Mbps)': 150,
|
175 |
'Monthly Cost Living (USD)': 1200,
|
176 |
'Quality of Life': 7.8,
|
@@ -178,11 +193,12 @@ data = [
|
|
178 |
'Visa Length (Months)': 12,
|
179 |
'Visa Cost (USD)': 70,
|
180 |
'Growth Trend (5 Years)': '+80%',
|
181 |
-
'Key Feature': 'Cultural hub, good infrastructure, digital nomad visa available'
|
182 |
},
|
183 |
{
|
184 |
'City': 'Seoul',
|
185 |
'Country': 'South Korea',
|
|
|
186 |
'Internet Speed (Mbps)': 400,
|
187 |
'Monthly Cost Living (USD)': 1400,
|
188 |
'Quality of Life': 8.0,
|
@@ -190,11 +206,12 @@ data = [
|
|
190 |
'Visa Length (Months)': 12,
|
191 |
'Visa Cost (USD)': 150,
|
192 |
'Growth Trend (5 Years)': '+76%',
|
193 |
-
'Key Feature': "Ultrafast internet, efficient public transport, new digital nomad visa"
|
194 |
},
|
195 |
{
|
196 |
"City": "Porto",
|
197 |
"Country": "Portugal",
|
|
|
198 |
"Internet Speed (Mbps)": 120,
|
199 |
"Monthly Cost Living (USD)": 1000,
|
200 |
"Quality of Life": 7.5,
|
@@ -202,11 +219,12 @@ data = [
|
|
202 |
"Visa Length (Months)": 12,
|
203 |
"Visa Cost (USD)": 70,
|
204 |
"Growth Trend (5 Years)": "+85%",
|
205 |
-
"Key Feature": "Cheaper than Lisbon, scenic, growing community"
|
206 |
},
|
207 |
{
|
208 |
"City": "Bari",
|
209 |
"Country": "Italy",
|
|
|
210 |
"Internet Speed (Mbps)": 88,
|
211 |
"Monthly Cost Living (USD)": 650,
|
212 |
"Quality of Life": 8.0,
|
@@ -219,6 +237,7 @@ data = [
|
|
219 |
{
|
220 |
"City": "Florence",
|
221 |
"Country": "Italy",
|
|
|
222 |
"Internet Speed (Mbps)": 100,
|
223 |
"Monthly Cost Living (USD)": 785,
|
224 |
"Quality of Life": 7.8,
|
@@ -231,6 +250,7 @@ data = [
|
|
231 |
{
|
232 |
"City": "Las Palmas",
|
233 |
"Country": "Spain",
|
|
|
234 |
"Internet Speed (Mbps)": 207,
|
235 |
"Monthly Cost Living (USD)": 600,
|
236 |
"Quality of Life": 9.4,
|
@@ -243,6 +263,7 @@ data = [
|
|
243 |
{
|
244 |
"City": "Palermo",
|
245 |
"Country": "Italy",
|
|
|
246 |
"Internet Speed (Mbps)": 99,
|
247 |
"Monthly Cost Living (USD)": 660,
|
248 |
"Quality of Life": 7.1,
|
@@ -255,6 +276,7 @@ data = [
|
|
255 |
{
|
256 |
"City": "Ottawa",
|
257 |
"Country": "Canada",
|
|
|
258 |
"Internet Speed (Mbps)": 89,
|
259 |
"Monthly Cost Living (USD)": 1168,
|
260 |
"Quality of Life": 8.4,
|
@@ -281,5 +303,17 @@ country_emoji_map = {
|
|
281 |
"Colombia": "🇨🇴 Colombia",
|
282 |
"Mexico": "🇲🇽 Mexico",
|
283 |
"Japan": "🇯🇵 Japan",
|
284 |
-
"South Korea": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
}
|
|
|
3 |
{
|
4 |
'City': 'Brasília',
|
5 |
'Country': 'Brazil',
|
6 |
+
'Terrain': 'Urban',
|
7 |
'Internet Speed (Mbps)': 75,
|
8 |
'Monthly Cost Living (USD)': 800,
|
9 |
'Quality of Life': 7.3,
|
|
|
16 |
{
|
17 |
'City': 'Budapest',
|
18 |
'Country': 'Hungary',
|
19 |
+
'Terrain': 'Urban',
|
20 |
'Internet Speed (Mbps)': 100,
|
21 |
'Monthly Cost Living (USD)': 1000,
|
22 |
'Quality of Life': 7.1,
|
|
|
29 |
{
|
30 |
'City': 'Montevideo',
|
31 |
'Country': 'Uruguay',
|
32 |
+
'Terrain': 'Coastal',
|
33 |
'Internet Speed (Mbps)': 80,
|
34 |
'Monthly Cost Living (USD)': 900,
|
35 |
'Quality of Life': 6.9,
|
|
|
42 |
{
|
43 |
'City': 'Lisbon',
|
44 |
'Country': 'Portugal',
|
45 |
+
'Terrain': 'Coastal',
|
46 |
'Internet Speed (Mbps)': 150,
|
47 |
'Monthly Cost Living (USD)': 1000,
|
48 |
'Quality of Life': 6.8,
|
|
|
55 |
{
|
56 |
'City': 'Chiang Mai',
|
57 |
'Country': 'Thailand',
|
58 |
+
'Terrain': 'Mountain',
|
59 |
'Internet Speed (Mbps)': 200,
|
60 |
'Monthly Cost Living (USD)': 800,
|
61 |
'Quality of Life': 7.5,
|
|
|
68 |
{
|
69 |
'City': 'Dubai',
|
70 |
'Country': 'United Arab Emirates',
|
71 |
+
'Terrain': 'Desert',
|
72 |
'Internet Speed (Mbps)': 195,
|
73 |
'Monthly Cost Living (USD)': 3500,
|
74 |
'Quality of Life': 8.0,
|
|
|
81 |
{
|
82 |
'City': 'Valencia',
|
83 |
'Country': 'Spain',
|
84 |
+
'Terrain': 'Coastal',
|
85 |
'Internet Speed (Mbps)': 151,
|
86 |
'Monthly Cost Living (USD)': 900,
|
87 |
'Quality of Life': 6.5,
|
|
|
94 |
{
|
95 |
'City': 'Rome',
|
96 |
'Country': 'Italy',
|
97 |
+
'Terrain': 'Urban',
|
98 |
'Internet Speed (Mbps)': 113,
|
99 |
'Monthly Cost Living (USD)': 1200,
|
100 |
'Quality of Life': 6.0,
|
|
|
107 |
{
|
108 |
'City': 'Quebec City',
|
109 |
'Country': 'Canada',
|
110 |
+
'Terrain': 'Urban',
|
111 |
'Internet Speed (Mbps)': 35.2,
|
112 |
'Monthly Cost Living (USD)': 725,
|
113 |
'Quality of Life': 7.0,
|
|
|
120 |
{
|
121 |
'City': 'Catania',
|
122 |
'Country': 'Italy',
|
123 |
+
'Terrain': 'Coastal',
|
124 |
'Internet Speed (Mbps)': 141.82,
|
125 |
'Monthly Cost Living (USD)': 650,
|
126 |
'Quality of Life': 6.0,
|
|
|
133 |
{
|
134 |
'City': 'Medellín',
|
135 |
'Country': 'Colombia',
|
136 |
+
'Terrain': 'Mountain',
|
137 |
'Internet Speed (Mbps)': 30,
|
138 |
'Monthly Cost Living (USD)': 850,
|
139 |
'Quality of Life': 7.2,
|
|
|
146 |
{
|
147 |
'City': 'Mexico City',
|
148 |
'Country': 'Mexico',
|
149 |
+
'Terrain': 'Urban',
|
150 |
'Internet Speed (Mbps)': 50,
|
151 |
'Monthly Cost Living (USD)': 800,
|
152 |
'Quality of Life': 7.2,
|
|
|
154 |
'Visa Length (Months)': None,
|
155 |
'Visa Cost (USD)': None,
|
156 |
'Growth Trend (5 Years)': '+70%',
|
157 |
+
'Key Feature': 'Affordable, vibrant culture, strong community'
|
158 |
},
|
159 |
{
|
160 |
'City': 'Tokyo',
|
161 |
'Country': 'Japan',
|
162 |
+
'Terrain': 'Urban',
|
163 |
'Internet Speed (Mbps)': 300,
|
164 |
'Monthly Cost Living (USD)': 1500,
|
165 |
'Quality of Life': 8.5,
|
|
|
167 |
'Visa Length (Months)': 12,
|
168 |
'Visa Cost (USD)': 200,
|
169 |
'Growth Trend (5 Years)': '+60%',
|
170 |
+
'Key Feature': 'Tech-friendly, excellent infrastructure, safe'
|
171 |
},
|
172 |
{
|
173 |
'City': 'Tbilisi',
|
174 |
'Country': 'Georgia',
|
175 |
+
'Terrain': 'Mountain',
|
176 |
'Internet Speed (Mbps)': 50,
|
177 |
'Monthly Cost Living (USD)': 500,
|
178 |
'Quality of Life': 7.0,
|
|
|
180 |
'Visa Length (Months)': 12,
|
181 |
'Visa Cost (USD)': 50,
|
182 |
'Growth Trend (5 Years)': '+92%',
|
183 |
+
'Key Feature': 'Affordable, fast-growing hub, visa-free stays for 365 days'
|
184 |
},
|
185 |
{
|
186 |
'City': 'Madrid',
|
187 |
'Country': 'Spain',
|
188 |
+
'Terrain': 'Urban',
|
189 |
'Internet Speed (Mbps)': 150,
|
190 |
'Monthly Cost Living (USD)': 1200,
|
191 |
'Quality of Life': 7.8,
|
|
|
193 |
'Visa Length (Months)': 12,
|
194 |
'Visa Cost (USD)': 70,
|
195 |
'Growth Trend (5 Years)': '+80%',
|
196 |
+
'Key Feature': 'Cultural hub, good infrastructure, digital nomad visa available'
|
197 |
},
|
198 |
{
|
199 |
'City': 'Seoul',
|
200 |
'Country': 'South Korea',
|
201 |
+
'Terrain': 'Urban',
|
202 |
'Internet Speed (Mbps)': 400,
|
203 |
'Monthly Cost Living (USD)': 1400,
|
204 |
'Quality of Life': 8.0,
|
|
|
206 |
'Visa Length (Months)': 12,
|
207 |
'Visa Cost (USD)': 150,
|
208 |
'Growth Trend (5 Years)': '+76%',
|
209 |
+
'Key Feature': "Ultrafast internet, efficient public transport, new digital nomad visa"
|
210 |
},
|
211 |
{
|
212 |
"City": "Porto",
|
213 |
"Country": "Portugal",
|
214 |
+
"Terrain": "Coastal",
|
215 |
"Internet Speed (Mbps)": 120,
|
216 |
"Monthly Cost Living (USD)": 1000,
|
217 |
"Quality of Life": 7.5,
|
|
|
219 |
"Visa Length (Months)": 12,
|
220 |
"Visa Cost (USD)": 70,
|
221 |
"Growth Trend (5 Years)": "+85%",
|
222 |
+
"Key Feature": "Cheaper than Lisbon, scenic, growing community"
|
223 |
},
|
224 |
{
|
225 |
"City": "Bari",
|
226 |
"Country": "Italy",
|
227 |
+
"Terrain": "Coastal",
|
228 |
"Internet Speed (Mbps)": 88,
|
229 |
"Monthly Cost Living (USD)": 650,
|
230 |
"Quality of Life": 8.0,
|
|
|
237 |
{
|
238 |
"City": "Florence",
|
239 |
"Country": "Italy",
|
240 |
+
"Terrain": "Urban",
|
241 |
"Internet Speed (Mbps)": 100,
|
242 |
"Monthly Cost Living (USD)": 785,
|
243 |
"Quality of Life": 7.8,
|
|
|
250 |
{
|
251 |
"City": "Las Palmas",
|
252 |
"Country": "Spain",
|
253 |
+
"Terrain": "Coastal",
|
254 |
"Internet Speed (Mbps)": 207,
|
255 |
"Monthly Cost Living (USD)": 600,
|
256 |
"Quality of Life": 9.4,
|
|
|
263 |
{
|
264 |
"City": "Palermo",
|
265 |
"Country": "Italy",
|
266 |
+
"Terrain": "Coastal",
|
267 |
"Internet Speed (Mbps)": 99,
|
268 |
"Monthly Cost Living (USD)": 660,
|
269 |
"Quality of Life": 7.1,
|
|
|
276 |
{
|
277 |
"City": "Ottawa",
|
278 |
"Country": "Canada",
|
279 |
+
"Terrain": "Urban",
|
280 |
"Internet Speed (Mbps)": 89,
|
281 |
"Monthly Cost Living (USD)": 1168,
|
282 |
"Quality of Life": 8.4,
|
|
|
303 |
"Colombia": "🇨🇴 Colombia",
|
304 |
"Mexico": "🇲🇽 Mexico",
|
305 |
"Japan": "🇯🇵 Japan",
|
306 |
+
"South Korea": "🇰🇷 South Korea",
|
307 |
+
}
|
308 |
+
|
309 |
+
# Add terrain emojis mapping
|
310 |
+
terrain_emoji_map = {
|
311 |
+
"Coastal": "🏖️ Coastal",
|
312 |
+
"Mountain": "⛰️ Mountain",
|
313 |
+
"Urban": "🏙️ Urban",
|
314 |
+
"Desert": "🏜️ Desert",
|
315 |
+
"Tropical": "🌴 Tropical",
|
316 |
+
"Island": "🏝️ Island",
|
317 |
+
"Forest": "🌲 Forest",
|
318 |
+
"Rural": "🌾 Rural"
|
319 |
}
|