In [1]:
import pandas as pd, json, numpy as np
import matplotlib.pyplot as plt
%matplotlib inline

In [2]:
cluster=json.loads(file('../json/cluster.json','r').read())
citysave=json.loads(file('../json/citysave.json','r').read())
N=json.loads(file('../json/N.json','r').read())

Tourists


In [23]:
#http://data.un.org/DocumentData.aspx?q=tourism&id=375
df=pd.read_excel('../db/Arrivals of non resident tourists_visitors, depart.xls')

City tourists


In [ ]:
#http://blog.euromonitor.com/2015/01/top-100-city-destinations-ranking.html
#UNWTO researcher data request

Immigrants


In [24]:
#http://www.oecd.org/els/mig/DIOC-E-2010-11-methodology.pdf
#http://www.oecd.org/els/mig/Files-1-2-DIOC-E-2010-11.zip
ef=pd.read_csv('../db/File-1-DIOC-E-2010-11-Age.csv')