10. Ghana and similar peers

Requested by Katherine Anne Stapleton, this notebook shows case a data collection at city level for Ghana and several of its peers.

  1. Regional peers (ECOWAS): Benin, Burkina Faso, Côte d’Ivoire, The Gambia, Guinea, Liberia, Mali, Niger, Nigeria, Senegal, Sierra Leone, Togo

  2. Structural peers: Cameroon, Côte d’Ivoire, Kenya, Kyrgyz Republic, Mauritania, Myanmar, Nicaragua

  3. Aspirational peers: Algeria, Belarus, Colombia, Dominican Republic, Ecuador, Jordan, Paraguay, Peru

We cover here all the steps involved in a typical data collection using Facebook Marketing API data, with exception of plotting a map, which was not needed.

  1. Before the collection starts: we start by the very beginning by acquiring the FB Ids and shapefiles for the locations we are interested in.

  2. Data Collection: This step is where the primary data collection happens and might take weeks to finish.

  3. Post-processing The Collection: After the data collection happened, we need to post-process the data to create a clean CSV file for data analysis.

import pandas as pd
import ast
import folium
from folium import plugins
import numpy as np
import base64
import io
import os
import matplotlib.pyplot as plt
import branca
import xml.etree.ElementTree as ET
import json
import geopandas as gpd
from pysocialwatcher.post_process import post_process_df_collection, combine_cols
from pysocialwatcher.utils import double_country_conversion
from pysocialwatcher import watcherAPI
from pysocialwatcher.json_builder import JSONBuilder, AgeList, Age, Genders, get_predefined_behavior
from pysocialwatcher.json_builder import LocationList, ScholarityList, Scholarity

import uuid
from folium.features import GeoJson, GeoJsonTooltip, GeoJsonPopup
from branca.colormap import linear
from shapely import wkt
import geopandas 

10.1. Before the collection starts

watcher = watcherAPI(api_version="9.0", sleep_time=5) 
watcher.load_credentials_file("credentials.csv")
countries = ["Ghana", "South Africa", "Nigeria", "Kenya", "Mauritius", "India", "Philippines",
"Benin", "Burkina Faso", "Cote d'Ivoire", "Gambia", "Guinea", "Liberia", "Mali", "Niger", 
"Senegal", "Sierra Leone", "Togo", "Cameroon", "Kyrgyzstan", "Mauritania", "Myanmar", "Nicaragua", 
"Algeria", "Belarus", "Colombia", "Dominican Republic", "Ecuador", "Jordan", "Paraguay", "Peru"]
country_codes = []

for country in countries:
    print(country, double_country_conversion(country))
    country_codes.append(double_country_conversion(country))
Ghana GH
South Africa ZA
Nigeria NG
Kenya KE
Mauritius MU
India IN
Philippines PH
Benin BJ
Burkina Faso BF
Cote d'Ivoire CI
Gambia GM
Guinea GW
Liberia LR
Mali ML
Niger NE
Senegal SN
Sierra Leone SL
Togo TG
Cameroon CM
Kyrgyzstan KG
Mauritania MR
Myanmar MM
Nicaragua NI
Algeria DZ
Belarus BY
Colombia CO
Dominican Republic DO
Ecuador EC
Jordan JO
Paraguay PY
Peru PE
cities = []
for country_code in ["GH"]: # or 'country_codes' if you are interested in getting all the cities for all the countries
    cities.append(watcher.get_all_cities_given_country_code(country_code))
cities = pd.concat(cities)
Getting cities for region named 'Upper East Region' (id = 1429)
Getting cities that start with a
Getting cities that start with b
Getting cities that start with c
Getting cities that start with d
Getting cities that start with e
Getting cities that start with f
Getting cities that start with g
Getting cities that start with h
Getting cities that start with i
Getting cities that start with j
Getting cities that start with k
Getting cities that start with l
Getting cities that start with m
Getting cities that start with n
Getting cities that start with o
Getting cities that start with p
Getting cities that start with q
Getting cities that start with r
Getting cities that start with s
Getting cities that start with t
Getting cities that start with u
Getting cities that start with v
Getting cities that start with w
Getting cities that start with x
Getting cities that start with y
Getting cities that start with z
Getting cities for region named 'Volta Region' (id = 1427)
Getting cities that start with a
Getting cities that start with b
Getting cities that start with c
Getting cities that start with d
Getting cities that start with e
Getting cities that start with f
Getting cities that start with g
Getting cities that start with h
Getting cities that start with i
Getting cities that start with j
Getting cities that start with k
Getting cities that start with l
Getting cities that start with m
Getting cities that start with n
Getting cities that start with o
Getting cities that start with p
Getting cities that start with q
Getting cities that start with r
Getting cities that start with s
Getting cities that start with t
Getting cities that start with u
Getting cities that start with v
Getting cities that start with w
Getting cities that start with x
Getting cities that start with y
Getting cities that start with z
Getting cities for region named 'Greater Accra Region' (id = 1421)
Getting cities that start with a
Getting cities that start with b
Getting cities that start with c
Getting cities that start with d
Getting cities that start with e
Getting cities that start with f
Getting cities that start with g
Getting cities that start with h
Getting cities that start with i
Getting cities that start with j
Getting cities that start with k
Getting cities that start with l
Getting cities that start with m
Getting cities that start with n
Getting cities that start with o
Getting cities that start with p
Getting cities that start with q
Getting cities that start with r
Getting cities that start with s
Getting cities that start with t
Getting cities that start with u
Getting cities that start with v
Getting cities that start with w
Getting cities that start with x
Getting cities that start with y
Getting cities that start with z
Getting cities for region named 'Western Region' (id = 1428)
Getting cities that start with a
Getting cities that start with b
Getting cities that start with c
Getting cities that start with d
Getting cities that start with e
Getting cities that start with f
Getting cities that start with g
Getting cities that start with h
Getting cities that start with i
Getting cities that start with j
Getting cities that start with k
Getting cities that start with l
Getting cities that start with m
Getting cities that start with n
Getting cities that start with o
Getting cities that start with p
Getting cities that start with q
Getting cities that start with r
Getting cities that start with s
Getting cities that start with t
Getting cities that start with u
Getting cities that start with v
Getting cities that start with w
Getting cities that start with x
Getting cities that start with y
Getting cities that start with z
Getting cities for region named 'Central Region' (id = 1424)
Getting cities that start with a
Getting cities that start with b
Getting cities that start with c
Getting cities that start with d
Getting cities that start with e
Getting cities that start with f
Getting cities that start with g
Getting cities that start with h
Getting cities that start with i
Getting cities that start with j
Getting cities that start with k
Getting cities that start with l
Getting cities that start with m
Getting cities that start with n
Getting cities that start with o
Getting cities that start with p
Getting cities that start with q
Getting cities that start with r
Getting cities that start with s
Getting cities that start with t
Getting cities that start with u
Getting cities that start with v
Getting cities that start with w
Getting cities that start with x
Getting cities that start with y
Getting cities that start with z
Getting cities for region named 'Ashanti Region' (id = 1422)
Getting cities that start with a
Getting cities that start with b
Getting cities that start with c
Getting cities that start with d
Getting cities that start with e
Getting cities that start with f
Getting cities that start with g
Getting cities that start with h
Getting cities that start with i
Getting cities that start with j
Getting cities that start with k
Getting cities that start with l
Getting cities that start with m
Getting cities that start with n
Getting cities that start with o
Getting cities that start with p
Getting cities that start with q
Getting cities that start with r
Getting cities that start with s
Getting cities that start with t
Getting cities that start with u
Getting cities that start with v
Getting cities that start with w
Getting cities that start with x
Getting cities that start with y
Getting cities that start with z
Getting cities for region named 'Northern Region' (id = 1426)
Getting cities that start with a
Getting cities that start with b
Getting cities that start with c
Getting cities that start with d
Getting cities that start with e
Getting cities that start with f
Getting cities that start with g
Getting cities that start with h
Getting cities that start with i
Getting cities that start with j
Getting cities that start with k
Getting cities that start with l
Getting cities that start with m
Getting cities that start with n
Getting cities that start with o
Getting cities that start with p
Getting cities that start with q
Getting cities that start with r
Getting cities that start with s
Getting cities that start with t
Getting cities that start with u
Getting cities that start with v
Getting cities that start with w
Getting cities that start with x
Getting cities that start with y
Getting cities that start with z
Getting cities for region named 'Brong-Ahafo Region' (id = 1423)
Getting cities that start with a
Getting cities that start with b
Getting cities that start with c
Getting cities that start with d
Getting cities that start with e
Getting cities that start with f
Getting cities that start with g
Getting cities that start with h
Getting cities that start with i
Getting cities that start with j
Getting cities that start with k
Getting cities that start with l
Getting cities that start with m
Getting cities that start with n
Getting cities that start with o
Getting cities that start with p
Getting cities that start with q
Getting cities that start with r
Getting cities that start with s
Getting cities that start with t
Getting cities that start with u
Getting cities that start with v
Getting cities that start with w
Getting cities that start with x
Getting cities that start with y
Getting cities that start with z
Getting cities for region named 'Eastern Region' (id = 1425)
Getting cities that start with a
Getting cities that start with b
Getting cities that start with c
Getting cities that start with d
Getting cities that start with e
Getting cities that start with f
Getting cities that start with g
Getting cities that start with h
Getting cities that start with i
Getting cities that start with j
Getting cities that start with k
Getting cities that start with l
Getting cities that start with m
Getting cities that start with n
Getting cities that start with o
Getting cities that start with p
Getting cities that start with q
Getting cities that start with r
Getting cities that start with s
Getting cities that start with t
Getting cities that start with u
Getting cities that start with v
Getting cities that start with w
Getting cities that start with x
Getting cities that start with y
Getting cities that start with z
Getting cities for region named 'Upper West Region' (id = 1430)
Getting cities that start with a
Getting cities that start with b
Getting cities that start with c
Getting cities that start with d
Getting cities that start with e
Getting cities that start with f
Getting cities that start with g
Getting cities that start with h
Getting cities that start with i
Getting cities that start with j
Getting cities that start with k
Getting cities that start with l
Getting cities that start with m
Getting cities that start with n
Getting cities that start with o
Getting cities that start with p
Getting cities that start with q
Getting cities that start with r
Getting cities that start with s
Getting cities that start with t
Getting cities that start with u
Getting cities that start with v
Getting cities that start with w
Getting cities that start with x
Getting cities that start with y
Getting cities that start with z
cities # all cities in the country list is 13.565. Only Ghana 170
key name type country_code country_name region region_id supports_region supports_city geo_hierarchy_level geo_hierarchy_name
0 832102 Bolgatanga city GH Ghana Upper East Region 1429 True True NaN NaN
1 831609 Bawku city GH Ghana Upper East Region 1429 True True NaN NaN
2 838366 Navrongo city GH Ghana Upper East Region 1429 True True NaN NaN
3 839764 Paga city GH Ghana Upper East Region 1429 True True NaN NaN
4 832157 Bongo, Upper East city GH Ghana Upper East Region 1429 True True NaN NaN
... ... ... ... ... ... ... ... ... ... ... ...
166 832874 Daffiama, Upper West city GH Ghana Upper West Region 1430 True True NaN NaN
167 835520 Kaleo, Upper West city GH Ghana Upper West Region 1430 True True NaN NaN
168 841898 Tumu city GH Ghana Upper West Region 1430 True True NaN NaN
169 835302 Jirapa, Upper West city GH Ghana Upper West Region 1430 True True NaN NaN
170 838251 Nandom, Upper West city GH Ghana Upper West Region 1430 True True NaN NaN

171 rows × 11 columns

regions = []
for country_code in country_codes:
    regions.append(watcherAPI.get_KMLs_for_regions_in_country(country_code))
regions = pd.concat(regions)
Obtained 10 regions.
Obtained 10 KMLs.
Obtained 9 regions.
Obtained 9 KMLs.
Obtained 37 regions.
Obtained 37 KMLs.
Obtained 8 regions.
Obtained 8 KMLs.
Obtained 9 regions.
Obtained 9 KMLs.
Obtained 36 regions.
Obtained 36 KMLs.
Obtained 17 regions.
Obtained 17 KMLs.
Obtained 12 regions.
Obtained 12 KMLs.
Obtained 0 regions.
Obtained 28 regions.
Obtained 28 KMLs.
Obtained 6 regions.
Obtained 6 KMLs.
Obtained 9 regions.
Obtained 9 KMLs.
Obtained 15 regions.
Obtained 15 KMLs.
Obtained 9 regions.
Obtained 9 KMLs.
Obtained 8 regions.
Obtained 8 KMLs.
Obtained 14 regions.
Obtained 14 KMLs.
Obtained 4 regions.
Obtained 4 KMLs.
Obtained 5 regions.
Obtained 5 KMLs.
Obtained 10 regions.
Obtained 10 KMLs.
Obtained 8 regions.
Obtained 8 KMLs.
Obtained 13 regions.
Obtained 13 KMLs.
Obtained 0 regions.
Obtained 17 regions.
Obtained 17 KMLs.
Obtained 48 regions.
Obtained 48 KMLs.
Obtained 7 regions.
Obtained 7 KMLs.
Obtained 33 regions.
Obtained 33 KMLs.
Obtained 33 regions.
Obtained 33 KMLs.
Obtained 24 regions.
Obtained 24 KMLs.
Obtained 12 regions.
Obtained 12 KMLs.
Obtained 19 regions.
Obtained 19 KMLs.
Obtained 25 regions.
Obtained 25 KMLs.
# In case we want to plot a map later on.
df_countries = watcherAPI.get_KML_given_geolocation("countries", country_codes)
df_countries
name kml key
0 Ghana <Polygon><outerBoundaryIs><LinearRing><coordin... GH
1 South Africa <Polygon><outerBoundaryIs><LinearRing><coordin... ZA
2 Nigeria <Polygon><outerBoundaryIs><LinearRing><coordin... NG
3 Kenya <Polygon><outerBoundaryIs><LinearRing><coordin... KE
4 Mauritius <Polygon><outerBoundaryIs><LinearRing><coordin... MU
5 India <Polygon><outerBoundaryIs><LinearRing><coordin... IN
6 Philippines <Polygon><outerBoundaryIs><LinearRing><coordin... PH
7 Benin <Polygon><outerBoundaryIs><LinearRing><coordin... BJ
8 Burkina Faso <Polygon><outerBoundaryIs><LinearRing><coordin... BF
9 Côte d'Ivoire <Polygon><outerBoundaryIs><LinearRing><coordin... CI
10 The Gambia <Polygon><outerBoundaryIs><LinearRing><coordin... GM
11 Guinea-Bissau <Polygon><outerBoundaryIs><LinearRing><coordin... GW
12 Liberia <Polygon><outerBoundaryIs><LinearRing><coordin... LR
13 Mali <Polygon><outerBoundaryIs><LinearRing><coordin... ML
14 Niger <Polygon><outerBoundaryIs><LinearRing><coordin... NE
15 Senegal <Polygon><outerBoundaryIs><LinearRing><coordin... SN
16 Sierra Leone <Polygon><outerBoundaryIs><LinearRing><coordin... SL
17 Togo <Polygon><outerBoundaryIs><LinearRing><coordin... TG
18 Cameroon <Polygon><outerBoundaryIs><LinearRing><coordin... CM
19 Kyrgyzstan <Polygon><outerBoundaryIs><LinearRing><coordin... KG
20 Mauritania <Polygon><outerBoundaryIs><LinearRing><coordin... MR
21 Myanmar <Polygon><outerBoundaryIs><LinearRing><coordin... MM
22 Nicaragua <Polygon><outerBoundaryIs><LinearRing><coordin... NI
23 Algeria <Polygon><outerBoundaryIs><LinearRing><coordin... DZ
24 Belarus <Polygon><outerBoundaryIs><LinearRing><coordin... BY
25 Colombia <Polygon><outerBoundaryIs><LinearRing><coordin... CO
26 Dominican Republic <Polygon><outerBoundaryIs><LinearRing><coordin... DO
27 Ecuador <Polygon><outerBoundaryIs><LinearRing><coordin... EC
28 Jordan <Polygon><outerBoundaryIs><LinearRing><coordin... JO
29 Paraguay <Polygon><outerBoundaryIs><LinearRing><coordin... PY
30 Peru <Polygon><outerBoundaryIs><LinearRing><coordin... PE
loclist = LocationList()
loclist.get_location_list_from_df(cities, city_radius=50)

loc_regions = LocationList()
loc_regions.get_location_list_from_df(regions)
loclist.add(loc_regions)

loc_countries = LocationList()
loc_countries.get_location_list_from_df(df_countries)
loclist.add(loc_countries)

# Ages
ageList = AgeList()
ageList.add(Age(13, None))
ageList.add(Age(18, None))
ageList.add(Age(18, 24))
ageList.add(Age(25, 34))
ageList.add(Age(35, 54))
ageList.add(Age(55, None))

# Education
sl = ScholarityList()
nodegree = Scholarity.from_pre_defined_list("No Degree")
sl.add(nodegree)
highschool = Scholarity.from_pre_defined_list("High School")
sl.add(highschool)
graduated = Scholarity.from_pre_defined_list("Graduated")
sl.add(graduated)
sl.add(None)

# Gender
genders = Genders(male=True, female=True, combined=True)

# Connectivity
# Using the pre-defined behavior option of connectivity (which collects #users using Wifi, 2G, 3G, 4G)
# and Ios (which collects ios, android, others)
behavior = get_predefined_behavior(option="connectivity")
ios = get_predefined_behavior(option="ios")
behavior.merge(ios)

jsonb = JSONBuilder(name="ghana_collection", age_list=ageList, location_list=loclist, genders=genders,
                    behavior_groups=behavior, scholarities=sl)

jsonb.jsonfy("ghana_collection.json", split_into_n_pieces=1)
Behavior List None is already included in the list.
Created file ghana_collection.json.
{'name': 'ghana_collection',
 'geo_locations': [{'name': 'cities',
   'values': [{'key': 832102,
     'region': 'Upper East Region',
     'region_id': 1429,
     'country_code': 'GH',
     'name': 'Bolgatanga',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 831609,
     'region': 'Upper East Region',
     'region_id': 1429,
     'country_code': 'GH',
     'name': 'Bawku',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 838366,
     'region': 'Upper East Region',
     'region_id': 1429,
     'country_code': 'GH',
     'name': 'Navrongo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 839764,
     'region': 'Upper East Region',
     'region_id': 1429,
     'country_code': 'GH',
     'name': 'Paga',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832157,
     'region': 'Upper East Region',
     'region_id': 1429,
     'country_code': 'GH',
     'name': 'Bongo, Upper East',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 831611,
     'region': 'Upper East Region',
     'region_id': 1429,
     'country_code': 'GH',
     'name': 'Bawkuzua, Upper East',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 834279,
     'region': 'Upper East Region',
     'region_id': 1429,
     'country_code': 'GH',
     'name': 'Fumbisi Central, Upper East',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840414,
     'region': 'Upper East Region',
     'region_id': 1429,
     'country_code': 'GH',
     'name': 'Sandema, Upper East',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 834373,
     'region': 'Upper East Region',
     'region_id': 1429,
     'country_code': 'GH',
     'name': 'Garu, Upper East',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840185,
     'region': 'Upper East Region',
     'region_id': 1429,
     'country_code': 'GH',
     'name': 'Pusiga, Upper East',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 829398,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Akatsi',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 828881,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Aflao',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836336,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Kpando-Agbenoxoe, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 830207,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Anloga, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 2717840,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Kpalime Traditional Area',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 834940,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Ho',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832939,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Dambai',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 833655,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Dzodze',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836340,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Kpandu',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 834941,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Hohoe',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 833879,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Elmina, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836337,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Kpando Fesi, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836495,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Krachi, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 839916,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Peki Tsame, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835458,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Kadjebi',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840878,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Sogakope',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835817,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Keta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835819,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Kete Krachi',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835179,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Jasikan, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 838716,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Nkwanta, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 834938,
     'region': 'Volta Region',
     'region_id': 1427,
     'country_code': 'GH',
     'name': 'Hoe, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 828385,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Accra',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 829917,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Amasaman, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 837402,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Madina, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841445,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Tema',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 839734,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Oyarifa, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836053,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Kokrobite',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 830648,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Ashaiman, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841488,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Teshie',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836455,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Kpone, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 828465,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Ada, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 828874,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Afienya, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 842753,
     'region': 'Greater Accra Region',
     'region_id': 1421,
     'country_code': 'GH',
     'name': 'Zenu, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 837567,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Manso Amenfi, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 831213,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Axim',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 828264,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Aboso, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 830555,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Asankrangwa, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 834824,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Half Assini, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841179,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Takoradi',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 831851,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Bibiani',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832021,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Bodi, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840588,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Sefwi Bekwai, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832048,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Bogoso, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 2688910,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Mpohor Wassa East',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 833896,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Enchi',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 833970,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Esiama, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840619,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Sekondi, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835003,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Huni Valley, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 838825,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Nsuaem, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841355,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Tarkwa',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 838467,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'New Takoradi, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840134,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Prestea',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840720,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Shama, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840607,
     'region': 'Western Region',
     'region_id': 1428,
     'country_code': 'GH',
     'name': 'Sehwi Wiawso, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 829069,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Agona Swedru',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 834247,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Fosu',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 830690,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Asikuma',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 830373,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Apam, Central',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 830600,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Asebu, Central',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832416,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Buduburam',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840677,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Senya Beraku, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832303,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Brakwa, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832580,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Cape Coast',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 834242,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Foso, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 838634,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Nkoranza, Central',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 842290,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Winneba',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 837540,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Mankessim',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 833878,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Elmina',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836713,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Kumasi, Central',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840335,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Saltpond, Central',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835967,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Koforidua, Central',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 833578,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Dunkwa, Central',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832581,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Cape Coast Castle, Central',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841955,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Twifu Praso, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 837965,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Mumford, Central',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 833579,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Dunkwa, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836122,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Komenda',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 839348,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Odoben, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 837538,
     'region': 'Central Region',
     'region_id': 1424,
     'country_code': 'GH',
     'name': 'Mankesim, Central',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836712,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Kumasi',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 839572,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Old Offinso, Ashanti',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 830731,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Asokori Mampong, Ashanti',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835348,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Juaben, Ashanti',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 833840,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Ejura',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841476,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Tepa, Brong-Ahafo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840634,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Sekyere, Ashanti',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 839297,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Obuasi',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 837463,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Mampong',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836178,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Konongo, Ashanti City-State',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 831681,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Bekwai, Ashanti',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 829047,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Agogo, Ashanti City-State',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 833835,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Ejisu, Ashanti',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 829068,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Agona Ashanti, Ashanti',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 839270,
     'region': 'Ashanti Region',
     'region_id': 1422,
     'country_code': 'GH',
     'name': 'Obo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841229,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Tamale',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832097,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Bole',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 831887,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Bimbila',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832516,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Bunkpurugu',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832682,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Chereponi, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 842574,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Yendi',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840558,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Sawla',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832949,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Damongo, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840321,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Salaga',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841899,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Tuna, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 834729,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Gushiego, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840231,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Saboba, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 842118,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Walewale, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840547,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Savelugu, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841444,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Tema, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 838170,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Nalerigu, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 842677,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Zabzugu, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836726,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Kumbungu, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836333,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Kpandai, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835654,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Karaga',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841702,
     'region': 'Northern Region',
     'region_id': 1426,
     'country_code': 'GH',
     'name': 'Tolon, Northern',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841085,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Sunyani',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 831776,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Berekum',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835810,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Kenyasi Number 2, Brong-Ahafo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 831338,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Badu, Brong-Ahafo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 842132,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Wamfie, Brong-Ahafo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 842565,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Yeji',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 833506,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Duayaw Nkwanta, Brong-Ahafo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 837763,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Mim, Brong-Ahafo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 838633,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Nkoranza, Ashanti',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840382,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Sampa',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 830914,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Atebubu',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 834556,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Goaso',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 842222,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Wenchi',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841405,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Techimantia, Brong-Ahafo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835853,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Kintampo, Brong-Ahafo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 833429,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Dormaa Ahenkro',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841403,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Techiman',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 831451,
     'region': 'Brong-Ahafo Region',
     'region_id': 1423,
     'country_code': 'GH',
     'name': 'Banda, Brong-Ahafo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835968,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Koforidua',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 838601,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Nkawkaw',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836917,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Kwahu Tafo, Ashanti',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 829434,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Akim Swedru, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836916,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Kwahu Praso, Ashanti',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 829621,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Akropong',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 829516,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Akosombo',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 837939,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Mpraeso',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 830531,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Asamankese',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 828368,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Aburi',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 829740,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Akwatia',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 829433,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Akim Oda',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 829929,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Amedika Akuse, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 831665,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Begoro, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 836456,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Kpong, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835835,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Kibi, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 839338,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Oda, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841043,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Suhum',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 840915,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Somanya, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 838803,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Nsawam, Volta',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835443,
     'region': 'Eastern Region',
     'region_id': 1425,
     'country_code': 'GH',
     'name': 'Kade, Western',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 842187,
     'region': 'Upper West Region',
     'region_id': 1430,
     'country_code': 'GH',
     'name': 'Wa',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 837281,
     'region': 'Upper West Region',
     'region_id': 1430,
     'country_code': 'GH',
     'name': 'Lawra',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 832874,
     'region': 'Upper West Region',
     'region_id': 1430,
     'country_code': 'GH',
     'name': 'Daffiama, Upper West',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835520,
     'region': 'Upper West Region',
     'region_id': 1430,
     'country_code': 'GH',
     'name': 'Kaleo, Upper West',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 841898,
     'region': 'Upper West Region',
     'region_id': 1430,
     'country_code': 'GH',
     'name': 'Tumu',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 835302,
     'region': 'Upper West Region',
     'region_id': 1430,
     'country_code': 'GH',
     'name': 'Jirapa, Upper West',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'cities',
   'values': [{'key': 838251,
     'region': 'Upper West Region',
     'region_id': 1430,
     'country_code': 'GH',
     'name': 'Nandom, Upper West',
     'distance_unit': 'kilometer',
     'radius': 50}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1429,
     'country_code': 'GH',
     'name': 'Upper East Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1427, 'country_code': 'GH', 'name': 'Volta Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1421,
     'country_code': 'GH',
     'name': 'Greater Accra Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1428, 'country_code': 'GH', 'name': 'Western Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1424, 'country_code': 'GH', 'name': 'Central Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1422, 'country_code': 'GH', 'name': 'Ashanti Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1426, 'country_code': 'GH', 'name': 'Northern Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1423,
     'country_code': 'GH',
     'name': 'Brong-Ahafo Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1425, 'country_code': 'GH', 'name': 'Eastern Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1430,
     'country_code': 'GH',
     'name': 'Upper West Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4054, 'country_code': 'ZA', 'name': 'Gauteng'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4058, 'country_code': 'ZA', 'name': 'North West'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4055, 'country_code': 'ZA', 'name': 'Mpumalanga'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4059, 'country_code': 'ZA', 'name': 'Western Cape'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4051, 'country_code': 'ZA', 'name': 'KwaZulu-Natal'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4052, 'country_code': 'ZA', 'name': 'Free State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4053, 'country_code': 'ZA', 'name': 'Eastern Cape'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4057, 'country_code': 'ZA', 'name': 'Limpopo'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4056, 'country_code': 'ZA', 'name': 'Northern Cape'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2608,
     'country_code': 'NG',
     'name': 'Federal Capital Territory'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2636, 'country_code': 'NG', 'name': 'Rivers State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2621, 'country_code': 'NG', 'name': 'Oyo State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2634, 'country_code': 'NG', 'name': 'Ondo State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2612, 'country_code': 'NG', 'name': 'Kaduna State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2623, 'country_code': 'NG', 'name': 'Delta State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2618, 'country_code': 'NG', 'name': 'Kano State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2632, 'country_code': 'NG', 'name': 'Bauchi State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2637, 'country_code': 'NG', 'name': 'Sokoto State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2616, 'country_code': 'NG', 'name': 'Borno State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2633, 'country_code': 'NG', 'name': 'Enugu State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2641, 'country_code': 'NG', 'name': 'Gombe State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2620, 'country_code': 'NG', 'name': 'Niger State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2613, 'country_code': 'NG', 'name': 'Katsina State'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1931, 'country_code': 'KE', 'name': 'Coast Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1934,
     'country_code': 'KE',
     'name': 'North Eastern Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1930, 'country_code': 'KE', 'name': 'Central Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1932, 'country_code': 'KE', 'name': 'Eastern Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1936,
     'country_code': 'KE',
     'name': 'Rift Valley Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1937, 'country_code': 'KE', 'name': 'Western Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1933, 'country_code': 'KE', 'name': 'Nairobi'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1935, 'country_code': 'KE', 'name': 'Nyanza Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2452,
     'country_code': 'MU',
     'name': 'Plaines Wilhems District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2451,
     'country_code': 'MU',
     'name': 'Pamplemousses District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2449,
     'country_code': 'MU',
     'name': 'Grand Port District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2450, 'country_code': 'MU', 'name': 'Moka District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2454,
     'country_code': 'MU',
     'name': 'Rivière du Rempart District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2453,
     'country_code': 'MU',
     'name': 'Port Louis District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2447,
     'country_code': 'MU',
     'name': 'Rivière Noire District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2455, 'country_code': 'MU', 'name': 'Savanne District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2448, 'country_code': 'MU', 'name': 'Flacq District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1739, 'country_code': 'IN', 'name': 'Nagaland'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1740, 'country_code': 'IN', 'name': 'Odisha'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1748,
     'country_code': 'IN',
     'name': 'Arunachal Pradesh'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1743, 'country_code': 'IN', 'name': 'Rajasthan'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1750, 'country_code': 'IN', 'name': 'Daman and Diu'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1751, 'country_code': 'IN', 'name': 'Goa'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1752, 'country_code': 'IN', 'name': 'Bihar'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1756, 'country_code': 'IN', 'name': 'Jharkhand'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1723,
     'country_code': 'IN',
     'name': 'Andaman and Nicobar Islands'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1741, 'country_code': 'IN', 'name': 'Puducherry'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1749, 'country_code': 'IN', 'name': 'Mizoram'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1731, 'country_code': 'IN', 'name': 'Himachal Pradesh'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1734, 'country_code': 'IN', 'name': 'Lakshadweep'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1738, 'country_code': 'IN', 'name': 'Karnataka'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1733, 'country_code': 'IN', 'name': 'Kerala'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1747, 'country_code': 'IN', 'name': 'Sikkim'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1757, 'country_code': 'IN', 'name': 'Uttarakhand'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1736, 'country_code': 'IN', 'name': 'Manipur'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1729, 'country_code': 'IN', 'name': 'Gujarat'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4100, 'country_code': 'IN', 'name': 'Telangana'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1745, 'country_code': 'IN', 'name': 'Tripura'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1730, 'country_code': 'IN', 'name': 'Haryana'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1753, 'country_code': 'IN', 'name': 'Madhya Pradesh'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1732,
     'country_code': 'IN',
     'name': 'Jammu and Kashmir'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1755, 'country_code': 'IN', 'name': 'Chhattisgarh'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1744, 'country_code': 'IN', 'name': 'Tamil Nadu'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1727,
     'country_code': 'IN',
     'name': 'Dadra and Nagar Haveli'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1735, 'country_code': 'IN', 'name': 'Maharashtra'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1746, 'country_code': 'IN', 'name': 'West Bengal'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1726, 'country_code': 'IN', 'name': 'Chandigarh'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1728, 'country_code': 'IN', 'name': 'Delhi'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1724, 'country_code': 'IN', 'name': 'Andhra Pradesh'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1754, 'country_code': 'IN', 'name': 'Uttar Pradesh'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1725, 'country_code': 'IN', 'name': 'Assam'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1737, 'country_code': 'IN', 'name': 'Meghalaya'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4189, 'country_code': 'PH', 'name': 'Eastern Visayas'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4188, 'country_code': 'PH', 'name': 'Central Visayas'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4183, 'country_code': 'PH', 'name': 'Central Luzon'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4191, 'country_code': 'PH', 'name': 'Soccsksargen'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4193,
     'country_code': 'PH',
     'name': 'Autonomous Region in Muslim Mindanao'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4187, 'country_code': 'PH', 'name': 'Western Visayas'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4181, 'country_code': 'PH', 'name': 'Ilocos Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4190,
     'country_code': 'PH',
     'name': 'Northern Mindanao'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4185, 'country_code': 'PH', 'name': 'Mimaropa'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4192, 'country_code': 'PH', 'name': 'Caraga'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4179, 'country_code': 'PH', 'name': 'Metro Manila'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2825, 'country_code': 'PH', 'name': 'Davao Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4182, 'country_code': 'PH', 'name': 'Cagayan Valley'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4186, 'country_code': 'PH', 'name': 'Bicol Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2932,
     'country_code': 'PH',
     'name': 'Zamboanga Peninsula'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4184, 'country_code': 'PH', 'name': 'Calabarzon'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4180,
     'country_code': 'PH',
     'name': 'Cordillera Administrative Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4527,
     'country_code': 'BJ',
     'name': 'Littoral Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4525,
     'country_code': 'BJ',
     'name': 'Kouffo Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 401,
     'country_code': 'BJ',
     'name': 'Atlantique Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 400,
     'country_code': 'BJ',
     'name': 'Atakora Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4526, 'country_code': 'BJ', 'name': 'Donga Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4523,
     'country_code': 'BJ',
     'name': 'Alibori Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4524,
     'country_code': 'BJ',
     'name': 'Collines Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4528,
     'country_code': 'BJ',
     'name': 'Plateau Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 403, 'country_code': 'BJ', 'name': 'Mono Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 402, 'country_code': 'BJ', 'name': 'Borgou Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4529, 'country_code': 'BJ', 'name': 'Zou Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 404, 'country_code': 'BJ', 'name': 'Ouémé Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 5071, 'country_code': 'CI', 'name': 'Lagunes District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4509, 'country_code': 'CI', 'name': 'Moyen-Comoé'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4506, 'country_code': 'CI', 'name': 'Haut-Sassandra'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4512, 'country_code': 'CI', 'name': 'Sud-Comoé'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4505, 'country_code': 'CI', 'name': 'Fromager'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 5065,
     'country_code': 'CI',
     'name': 'Gôh-Djiboua District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4502, 'country_code': 'CI', 'name': 'Agnéby'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4511, 'country_code': 'CI', 'name': 'Sud-Bandama'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 5064,
     'country_code': 'CI',
     'name': 'Montagnes District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4513, 'country_code': 'CI', 'name': 'Worodougou'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4499,
     'country_code': 'CI',
     'name': 'Dix-Huit Montagnes'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4508, 'country_code': 'CI', 'name': 'Moyen-Cavally'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 5072,
     'country_code': 'CI',
     'name': 'Sassandra-Marahoué District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4507, 'country_code': 'CI', 'name': 'Marahoué'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 5062, 'country_code': 'CI', 'name': 'Comoé District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 5070, 'country_code': 'CI', 'name': 'Woroba District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4496, 'country_code': 'CI', 'name': 'Yamoussoukro'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4504, 'country_code': 'CI', 'name': 'Bafing'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 5063, 'country_code': 'CI', 'name': 'Lacs District'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1439,
     'country_code': 'GM',
     'name': 'North Bank Division'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1434, 'country_code': 'GM', 'name': 'Banjul'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4865,
     'country_code': 'GM',
     'name': 'Central River Division'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1438,
     'country_code': 'GM',
     'name': 'West Coast Division'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1435,
     'country_code': 'GM',
     'name': 'Lower River Division'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1437,
     'country_code': 'GM',
     'name': 'Upper River Division'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1561, 'country_code': 'GW', 'name': 'Bissau'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1560, 'country_code': 'GW', 'name': 'Gabú Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1555, 'country_code': 'GW', 'name': 'Quinara Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1559, 'country_code': 'GW', 'name': 'Tombali Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1557, 'country_code': 'GW', 'name': 'Bolama Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1558, 'country_code': 'GW', 'name': 'Cacheu Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1562, 'country_code': 'GW', 'name': 'Biombo Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1556, 'country_code': 'GW', 'name': 'Oio Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4859, 'country_code': 'LR', 'name': 'Grand Kru County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2116, 'country_code': 'LR', 'name': 'Sinoe County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2112, 'country_code': 'LR', 'name': 'Lofa County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2117,
     'country_code': 'LR',
     'name': 'Grand Bassa County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4863, 'country_code': 'LR', 'name': 'River Gee County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4856, 'country_code': 'LR', 'name': 'Bomi County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2118,
     'country_code': 'LR',
     'name': 'Montserrado County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2110,
     'country_code': 'LR',
     'name': 'Grand Gedeh County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4864, 'country_code': 'LR', 'name': 'Margibi County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2111,
     'country_code': 'LR',
     'name': 'Grand Cape Mount County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4861, 'country_code': 'LR', 'name': 'Maryland County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2109, 'country_code': 'LR', 'name': 'Bong County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4866, 'country_code': 'LR', 'name': 'Gbarpolu County'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2382, 'country_code': 'ML', 'name': 'Bamako'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2389, 'country_code': 'ML', 'name': 'Gao Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2390, 'country_code': 'ML', 'name': 'Kidal Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2386, 'country_code': 'ML', 'name': 'Sikasso Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2383, 'country_code': 'ML', 'name': 'Kayes Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2385, 'country_code': 'ML', 'name': 'Ségou Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2384, 'country_code': 'ML', 'name': 'Mopti Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2388,
     'country_code': 'ML',
     'name': 'Tombouctou Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2387, 'country_code': 'ML', 'name': 'Koulikoro Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2606, 'country_code': 'NE', 'name': 'Zinder Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2602, 'country_code': 'NE', 'name': 'Dosso Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2601, 'country_code': 'NE', 'name': 'Diffa Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2605, 'country_code': 'NE', 'name': 'Tahoua Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4889, 'country_code': 'NE', 'name': 'Tillabéri Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2600, 'country_code': 'NE', 'name': 'Agadez Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2603, 'country_code': 'NE', 'name': 'Maradi Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2604, 'country_code': 'NE', 'name': 'Niamey'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3445,
     'country_code': 'SN',
     'name': 'Tambacounda Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3443, 'country_code': 'SN', 'name': 'Diourbel Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3446, 'country_code': 'SN', 'name': 'Thiès Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3429, 'country_code': 'SL', 'name': 'Eastern Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3432, 'country_code': 'SL', 'name': 'Western Area'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3431,
     'country_code': 'SL',
     'name': 'Southern Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3430,
     'country_code': 'SL',
     'name': 'Northern Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4934, 'country_code': 'TG', 'name': 'Plateaux Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4931, 'country_code': 'TG', 'name': 'Maritime Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4939, 'country_code': 'TG', 'name': 'Savanes Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4930, 'country_code': 'TG', 'name': 'Kara Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4929, 'country_code': 'TG', 'name': 'Centrale Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 682, 'country_code': 'CM', 'name': 'Far North Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1941, 'country_code': 'KG', 'name': 'Naryn Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1938, 'country_code': 'KG', 'name': 'Bishkek'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4576, 'country_code': 'KG', 'name': 'Osh Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1939, 'country_code': 'KG', 'name': 'Chuy Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1945, 'country_code': 'KG', 'name': 'Batken Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1942, 'country_code': 'KG', 'name': 'Talas Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1940,
     'country_code': 'KG',
     'name': 'Jalal-Abad Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2443, 'country_code': 'MR', 'name': 'Inchiri Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2436, 'country_code': 'MR', 'name': 'Brakna Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2442,
     'country_code': 'MR',
     'name': 'Tiris Zemmour Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2434, 'country_code': 'MR', 'name': 'Assaba Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2438, 'country_code': 'MR', 'name': 'Adrar Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2441, 'country_code': 'MR', 'name': 'Guidimaka Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4682, 'country_code': 'MR', 'name': 'Nouakchott'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2433,
     'country_code': 'MR',
     'name': 'Hodh El Gharbi Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2437, 'country_code': 'MR', 'name': 'Trarza Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2432,
     'country_code': 'MR',
     'name': 'Hodh Ech Chargui Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2435, 'country_code': 'MR', 'name': 'Gorgol Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2440, 'country_code': 'MR', 'name': 'Tagant Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2652,
     'country_code': 'NI',
     'name': 'Madriz Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2644, 'country_code': 'NI', 'name': 'Boaco Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2650,
     'country_code': 'NI',
     'name': 'Jinotega Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2649,
     'country_code': 'NI',
     'name': 'Granada Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2647,
     'country_code': 'NI',
     'name': 'Chontales Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2657,
     'country_code': 'NI',
     'name': 'Río San Juan Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2656,
     'country_code': 'NI',
     'name': 'Nueva Segovia Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2654,
     'country_code': 'NI',
     'name': 'Masaya Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2658, 'country_code': 'NI', 'name': 'Rivas Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2653,
     'country_code': 'NI',
     'name': 'Managua Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2655,
     'country_code': 'NI',
     'name': 'Matagalpa Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2651, 'country_code': 'NI', 'name': 'León Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2648,
     'country_code': 'NI',
     'name': 'Estelí Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2646,
     'country_code': 'NI',
     'name': 'Chinandega Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2645,
     'country_code': 'NI',
     'name': 'Carazo Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 926,
     'country_code': 'DZ',
     'name': 'Aïn Defla Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 918, 'country_code': 'DZ', 'name': 'Laghouat Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 925, 'country_code': 'DZ', 'name': 'Adrar Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 908, 'country_code': 'DZ', 'name': 'Tiaret Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 939, 'country_code': 'DZ', 'name': 'Mila Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 927,
     'country_code': 'DZ',
     'name': 'Aïn Témouchent Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 928, 'country_code': 'DZ', 'name': 'Annaba Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 922,
     'country_code': 'DZ',
     'name': 'Sidi Bel Abbès Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 909,
     'country_code': 'DZ',
     'name': 'Tizi Ouzou Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 919, 'country_code': 'DZ', 'name': 'Mascara Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 924, 'country_code': 'DZ', 'name': 'Tébessa Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 945, 'country_code': 'DZ', 'name': 'Tindouf Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 910, 'country_code': 'DZ', 'name': 'Tlemcen Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 923, 'country_code': 'DZ', 'name': 'Skikda Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 905, 'country_code': 'DZ', 'name': 'Oran Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 947,
     'country_code': 'DZ',
     'name': 'Tissemsilt Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 938,
     'country_code': 'DZ',
     'name': 'Khenchela Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 911, 'country_code': 'DZ', 'name': 'Béjaïa Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 936, 'country_code': 'DZ', 'name': 'Ghardaïa Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 913, 'country_code': 'DZ', 'name': 'Blida Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 903, 'country_code': 'DZ', 'name': 'Médéa Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 916, 'country_code': 'DZ', 'name': 'Guelma Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 917, 'country_code': 'DZ', 'name': 'Jijel Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 914, 'country_code': 'DZ', 'name': 'Bouïra Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 931,
     'country_code': 'DZ',
     'name': 'Boumerdès Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 941, 'country_code': 'DZ', 'name': 'Ouargla Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 906, 'country_code': 'DZ', 'name': 'Saïda Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 902,
     'country_code': 'DZ',
     'name': 'Constantine Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 942, 'country_code': 'DZ', 'name': 'Relizane Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 901, 'country_code': 'DZ', 'name': 'Batna Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 944,
     'country_code': 'DZ',
     'name': 'Tamanrasset Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 900, 'country_code': 'DZ', 'name': 'Algiers Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 929, 'country_code': 'DZ', 'name': 'Béchar Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 904,
     'country_code': 'DZ',
     'name': 'Mostaganem Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 937, 'country_code': 'DZ', 'name': 'Illizi Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 943,
     'country_code': 'DZ',
     'name': 'Souk Ahras Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 907, 'country_code': 'DZ', 'name': 'Sétif Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 920, 'country_code': 'DZ', 'name': "M'Sila Province"}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 915, 'country_code': 'DZ', 'name': 'Djelfa Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 930,
     'country_code': 'DZ',
     'name': 'Bordj Bou Arréridj Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 934, 'country_code': 'DZ', 'name': 'El Oued Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 932, 'country_code': 'DZ', 'name': 'Chlef Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 933,
     'country_code': 'DZ',
     'name': 'El Bayadh Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 921,
     'country_code': 'DZ',
     'name': 'Oum El Bouaghi Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 515, 'country_code': 'BY', 'name': 'Gomel Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 519, 'country_code': 'BY', 'name': 'Mogilev Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 516, 'country_code': 'BY', 'name': 'Grodno Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 514, 'country_code': 'BY', 'name': 'Brest Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 517, 'country_code': 'BY', 'name': 'Minsk'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 520, 'country_code': 'BY', 'name': 'Vitebsk Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4455, 'country_code': 'BY', 'name': 'Minsk Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 735, 'country_code': 'CO', 'name': 'Putumayo'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 718, 'country_code': 'CO', 'name': 'Arauca'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 738,
     'country_code': 'CO',
     'name': 'San Andres y Providencia'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 728, 'country_code': 'CO', 'name': 'Guainia'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 744, 'country_code': 'CO', 'name': 'Vichada'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 729, 'country_code': 'CO', 'name': 'Huila'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 737, 'country_code': 'CO', 'name': 'Risaralda'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 736, 'country_code': 'CO', 'name': 'Quindio'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 747, 'country_code': 'CO', 'name': 'Distrito Especial'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 749, 'country_code': 'CO', 'name': 'Boyaca'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 724, 'country_code': 'CO', 'name': 'Cesar'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 733, 'country_code': 'CO', 'name': 'Narino'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 717, 'country_code': 'CO', 'name': 'Antioquia'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 732, 'country_code': 'CO', 'name': 'Meta'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 740, 'country_code': 'CO', 'name': 'Sucre'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 748, 'country_code': 'CO', 'name': 'Bolivar'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 739, 'country_code': 'CO', 'name': 'Santander'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 742, 'country_code': 'CO', 'name': 'Valle del Cauca'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 726, 'country_code': 'CO', 'name': 'Cordoba'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 725, 'country_code': 'CO', 'name': 'Choco'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 723, 'country_code': 'CO', 'name': 'Cauca'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 719, 'country_code': 'CO', 'name': 'Atlantico'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 745, 'country_code': 'CO', 'name': 'Casanare'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 750, 'country_code': 'CO', 'name': 'Caldas'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 716, 'country_code': 'CO', 'name': 'Amazonas'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 734,
     'country_code': 'CO',
     'name': 'Norte de Santander'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 743, 'country_code': 'CO', 'name': 'Vaupes'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 722, 'country_code': 'CO', 'name': 'Caqueta'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 731, 'country_code': 'CO', 'name': 'Magdalena'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 730, 'country_code': 'CO', 'name': 'La Guajira'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 741, 'country_code': 'CO', 'name': 'Tolima'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 746, 'country_code': 'CO', 'name': 'Cundinamarca'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 727, 'country_code': 'CO', 'name': 'Guaviare'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 878,
     'country_code': 'DO',
     'name': 'La Altagracia Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 899,
     'country_code': 'DO',
     'name': 'San Cristóbal Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4284,
     'country_code': 'DO',
     'name': 'Santo Domingo Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 893, 'country_code': 'DO', 'name': 'Valverde Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 886, 'country_code': 'DO', 'name': 'Salcedo'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 874, 'country_code': 'DO', 'name': 'Distrito Nacional'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4285,
     'country_code': 'DO',
     'name': 'San José de Ocoa Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 871, 'country_code': 'DO', 'name': 'Baoruco Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 880,
     'country_code': 'DO',
     'name': 'La Romana Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 884, 'country_code': 'DO', 'name': 'Peravia Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 876,
     'country_code': 'DO',
     'name': 'Espaillat Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 898,
     'country_code': 'DO',
     'name': 'Monte Plata Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 897,
     'country_code': 'DO',
     'name': 'Monseñor Nouel Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 896, 'country_code': 'DO', 'name': 'La Vega Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 872, 'country_code': 'DO', 'name': 'Barahona Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 888,
     'country_code': 'DO',
     'name': 'Sánchez Ramírez Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 887, 'country_code': 'DO', 'name': 'Samaná Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 891, 'country_code': 'DO', 'name': 'Santiago Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4283,
     'country_code': 'DO',
     'name': 'Hermanas Mirabal Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 882,
     'country_code': 'DO',
     'name': 'Monte Cristi Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 892,
     'country_code': 'DO',
     'name': 'Santiago Rodríguez Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 875, 'country_code': 'DO', 'name': 'Duarte Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 895,
     'country_code': 'DO',
     'name': 'Hato Mayor Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 881,
     'country_code': 'DO',
     'name': 'María Trinidad Sánchez Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 879,
     'country_code': 'DO',
     'name': 'Elías Piña Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 883,
     'country_code': 'DO',
     'name': 'Pedernales Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 870, 'country_code': 'DO', 'name': 'Azua Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 894, 'country_code': 'DO', 'name': 'El Seibo Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 873, 'country_code': 'DO', 'name': 'Dajabón Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 954, 'country_code': 'EC', 'name': 'Cotopaxi Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 963, 'country_code': 'EC', 'name': 'Pastaza Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 957, 'country_code': 'EC', 'name': 'Guayas Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 968, 'country_code': 'EC', 'name': 'Napo Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 949, 'country_code': 'EC', 'name': 'Azuay Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 969, 'country_code': 'EC', 'name': 'Orellana Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 948,
     'country_code': 'EC',
     'name': 'Galápagos Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 965,
     'country_code': 'EC',
     'name': 'Tungurahua Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 953,
     'country_code': 'EC',
     'name': 'Chimborazo Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 952, 'country_code': 'EC', 'name': 'Carchi Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 960, 'country_code': 'EC', 'name': 'Los Ríos Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 959, 'country_code': 'EC', 'name': 'Loja Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 961, 'country_code': 'EC', 'name': 'Manabí Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 955, 'country_code': 'EC', 'name': 'El Oro Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 964,
     'country_code': 'EC',
     'name': 'Pichincha Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4203,
     'country_code': 'EC',
     'name': 'Santa Elena Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 966,
     'country_code': 'EC',
     'name': 'Zamora-Chinchipe Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4204,
     'country_code': 'EC',
     'name': 'Santo Domingo de los Tsáchilas Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 950, 'country_code': 'EC', 'name': 'Bolívar Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 958, 'country_code': 'EC', 'name': 'Imbabura Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 951, 'country_code': 'EC', 'name': 'Cañar Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 962,
     'country_code': 'EC',
     'name': 'Morona-Santiago Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 967,
     'country_code': 'EC',
     'name': 'Sucumbíos Province'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1882,
     'country_code': 'JO',
     'name': 'Amman Governorate'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1877,
     'country_code': 'JO',
     'name': 'Karak Governorate'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1875,
     'country_code': 'JO',
     'name': 'Balqa Governorate'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1880,
     'country_code': 'JO',
     'name': 'Zarqa Governorate'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1878,
     'country_code': 'JO',
     'name': 'Mafraq Governorate'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4338,
     'country_code': 'JO',
     'name': 'Aqaba Governorate'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4336,
     'country_code': 'JO',
     'name': 'Jerash Governorate'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4335,
     'country_code': 'JO',
     'name': 'Ajloun Governorate'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4337,
     'country_code': 'JO',
     'name': 'Madaba Governorate'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1879,
     'country_code': 'JO',
     'name': 'Tafilah Governorate'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1881,
     'country_code': 'JO',
     'name': 'Irbid Governorate'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 1876,
     'country_code': 'JO',
     'name': "Ma'an Governorate"}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3040,
     'country_code': 'PY',
     'name': 'Ñeembucú Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4291, 'country_code': 'PY', 'name': 'Chaco'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3041,
     'country_code': 'PY',
     'name': 'Paraguarí Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3029,
     'country_code': 'PY',
     'name': 'Alto Paraná Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3047,
     'country_code': 'PY',
     'name': 'Alto Paraguay Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3034,
     'country_code': 'PY',
     'name': 'Central Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3037,
     'country_code': 'PY',
     'name': 'Guairá Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3042,
     'country_code': 'PY',
     'name': 'Presidente Hayes Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4289,
     'country_code': 'PY',
     'name': 'Boquerón department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3030,
     'country_code': 'PY',
     'name': 'Amambay Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3044,
     'country_code': 'PY',
     'name': 'Canindeyú Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3043,
     'country_code': 'PY',
     'name': 'San Pedro Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3036,
     'country_code': 'PY',
     'name': 'Cordillera Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 4286, 'country_code': 'PY', 'name': 'Asunción'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 3039,
     'country_code': 'PY',
     'name': 'Misiones Department'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2758, 'country_code': 'PE', 'name': 'Ancash Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2778,
     'country_code': 'PE',
     'name': 'San Martín Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2765,
     'country_code': 'PE',
     'name': 'Huancavelica Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2757, 'country_code': 'PE', 'name': 'Amazonas Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2760, 'country_code': 'PE', 'name': 'Arequipa Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2761, 'country_code': 'PE', 'name': 'Ayacucho Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2770,
     'country_code': 'PE',
     'name': 'Lambayeque Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2759, 'country_code': 'PE', 'name': 'Apurímac Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2779, 'country_code': 'PE', 'name': 'Tacna Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2769,
     'country_code': 'PE',
     'name': 'La Libertad Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2763, 'country_code': 'PE', 'name': 'Callao'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2764, 'country_code': 'PE', 'name': 'Cusco Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2771, 'country_code': 'PE', 'name': 'Lima Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2773,
     'country_code': 'PE',
     'name': 'Madre de Dios Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2762, 'country_code': 'PE', 'name': 'Cajamarca Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2766, 'country_code': 'PE', 'name': 'Huánuco Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2780, 'country_code': 'PE', 'name': 'Tumbes Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2776, 'country_code': 'PE', 'name': 'Piura Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2772, 'country_code': 'PE', 'name': 'Loreto Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2767, 'country_code': 'PE', 'name': 'Ica Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2775, 'country_code': 'PE', 'name': 'Pasco Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2777, 'country_code': 'PE', 'name': 'Puno Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2781, 'country_code': 'PE', 'name': 'Ucayali Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'regions',
   'values': [{'key': 2774, 'country_code': 'PE', 'name': 'Moquegua Region'}],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['GH'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['ZA'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['NG'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['KE'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['MU'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['IN'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['PH'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['BJ'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['BF'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['CI'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['GM'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['GW'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['LR'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['ML'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['NE'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['SN'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['SL'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['TG'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['CM'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['KG'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['MR'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['MM'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['NI'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['DZ'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['BY'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['CO'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['DO'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['EC'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['JO'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['PY'],
   'location_types': ['home', 'recent']},
  {'name': 'countries',
   'values': ['PE'],
   'location_types': ['home', 'recent']}],
 'ages_ranges': [{'min': 13},
  {'min': 18},
  {'min': 18, 'max': 24},
  {'min': 25, 'max': 34},
  {'min': 35, 'max': 54},
  {'min': 55}],
 'genders': [0, 1, 2],
 'behavior': {'access_device': [{'name': '2G', 'or': [6017253486583]},
   {'name': '3G', 'or': [6017253511583]},
   {'name': '4G', 'or': [6017253531383]},
   {'name': 'Wifi', 'or': [6015235495383]},
   None,
   {'name': 'iOS', 'or': [6004384041172]},
   {'name': 'Android', 'or': [6004386044572]},
   {'name': 'Other', 'not': [6004384041172, 6004386044572]}]},
 'scholarities': [{'name': 'No Degree', 'or': [1, 12, 13]},
  {'name': 'High School', 'or': [2, 4, 5, 6, 10]},
  {'name': 'Graduated', 'or': [3, 7, 8, 9, 11]},
  None]}

10.2. Collecting Data

This is a very large data collection with thousands of API calls. There are several ways to speed it up:

  1. Increasing the number of users linked to an APP

  2. Getting a business token

  3. Or simply by using multiple users/tokens at the same time: for this you just need to have multiple rows in the credentials.csv file

# This cell performs the collection. It might take several days.
watcher = watcherAPI(api_version="9.0", sleep_time=7, outputname="ghana_collection_psw.csv.gz")
df = watcher.run_data_collection("ghana_collection.json", remove_tmp_files=True)
# Omitted for brevity

10.3. Postprocessing step: from pySocialWatcher to something we can understand!

filename = "ghana_collection_psw.csv.gz"

df_in = pd.read_csv(filename)
df_fb = post_process_df_collection(df_in)

location_mapping = df_fb[["Key", "Name", "Region", "FullLocation", "LocationType"]].drop_duplicates()

We then combine the columns to obtain a dataframe in which every single line is the data for a location

cols_to_combine = ["Gender", "Ages"]

if "Device" in df_fb:
    cols_to_combine.append("Device")

if "Education" in df_fb:
    cols_to_combine.append("Education")

    
df_fb = combine_cols(df_fb, cols_to_combine)
df_fb = df_fb.drop_duplicates(subset=["Key", "combo"]) 

df_fb = df_fb.pivot(index="Key", columns="combo", values="mau_audience").reset_index()
df_fb = pd.merge(location_mapping, df_fb)

# Added a prefix ("fb_") to all keys 
key_mapping = dict([(k, "fb_" + k) for k in df_fb.keys() if k not in ["Name", "Region", "FullLocation", "LocationType", "Key"]])
df_fb = df_fb.rename(columns=key_mapping)
df_fb.head()
Key Name Region FullLocation LocationType fb_both_13-_2G_AllDegrees fb_both_13-_2G_Graduated fb_both_13-_2G_High School fb_both_13-_2G_No Degree fb_both_13-_3G_AllDegrees ... fb_male_55-_Other_High School fb_male_55-_Other_No Degree fb_male_55-_Wifi_AllDegrees fb_male_55-_Wifi_Graduated fb_male_55-_Wifi_High School fb_male_55-_Wifi_No Degree fb_male_55-_iOS_AllDegrees fb_male_55-_iOS_Graduated fb_male_55-_iOS_High School fb_male_55-_iOS_No Degree
0 832102 Bolgatanga Upper East Region Bolgatanga, Upper East Region, GH city 2200 1000 1000 1400 47000 ... 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
1 831609 Bawku Upper East Region Bawku, Upper East Region, GH city 1000 1000 1000 1000 16000 ... 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
2 838366 Navrongo Upper East Region Navrongo, Upper East Region, GH city 1900 1000 1000 1300 41000 ... 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
3 839764 Paga Upper East Region Paga, Upper East Region, GH city 1800 1000 1000 1200 38000 ... 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
4 832157 Bongo, Upper East Upper East Region Bongo, Upper East, Upper East Region, GH city 1900 1000 1000 1200 45000 ... 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000

5 rows × 581 columns

df_fb.to_csv("ghana_collection_16Dec2020.csv.gz")