In [1]:
import quandl

In [2]:
with open('quandl_key.txt','r') as f:
    key = f.read()

In [4]:
data_trade = quandl.get('RFSS/EXEXPIMP',authtoken=key)
data_trade.head()


Out[4]:
Exports (Bln USD) Imports (Bln USD) :With CIS countries: Exports (Bln USD) :With CIS countries: Imports (Bln USD) ::Of which EurAsEC: Exports (Bln USD) ::Of which EurAsEC: Imports (Bln USD) ::Including states - members of the Customs Union: Exports (Bln USD) ::Including states - members of the Customs Union: Imports (Bln USD) :With other countries: Exports (Bln USD) :With other countries: Imports (Bln USD) Exports (Percentage to Previous Year) Imports (Percentage to Previous Year) With CIS countries: Exports (Percentage to Previous Year) With CIS countries: Imports (Percentage to Previous Year) ::Of which EurAsEC: Exports (Percentage to Previous Year) ::Of which EurAsEC: Imports (Percentage to Previous Year) ::Including states - members of the Customs Union: Exports (Percentage to Previous Year) ::Including states - members of the Customs Union: Imports (Percentage to Previous Year) :With other countries: Exports (Percentage to Previous Year) :With other countries: Imports (Percentage to Previous Year)
Date
2000-12-31 103.1 33.9 13.8 11.6 8.0 6.2 NaN NaN 89.3 22.3 141.4 111.9 129.1 139.1 155.1 129.2 NaN NaN 143.6 101.5
2005-12-31 241.5 98.7 32.6 19.0 17.3 9.2 NaN NaN 208.8 79.7 133.0 130.6 110.7 107.2 105.7 90.5 NaN NaN 137.3 137.8
2009-12-31 301.7 167.3 46.8 21.8 27.4 11.0 NaN NaN 254.9 145.5 64.5 62.7 67.2 59.6 70.3 62.4 NaN NaN 64.0 63.1
2010-12-31 397.1 228.9 59.6 31.7 30.4 15.0 NaN NaN 337.5 197.2 131.6 136.8 127.3 145.4 111.2 136.5 NaN NaN 132.4 135.5
2011-12-31 516.7 305.8 79.4 44.8 40.9 21.5 39.0 21.1 437.3 260.9 130.1 133.6 133.3 141.3 134.4 143.0 135.7 146.4 129.6 132.3

In [6]:
data_trade_structure = quandl.get(['RFSS/EXCOMIMP','RFSS/EXCOMEXP'],authtoken=key)
data_trade_structure.head()


Out[6]:
RFSS/EXCOMIMP - Exports Total (Bln USD) RFSS/EXCOMIMP - :Foodstuffs and agricultural raw materials (excluding textile) RFSS/EXCOMIMP - :Mineral products RFSS/EXCOMIMP - :Chemical products, rubber RFSS/EXCOMIMP - :Leather raw materials, fur and articles thereof RFSS/EXCOMIMP - :Wood, pulp-and-paper products RFSS/EXCOMIMP - :Textiles, textile articles and footwear RFSS/EXCOMIMP - :Metals, precious stones and articles thereof RFSS/EXCOMIMP - :Machinery, equipment and transport means RFSS/EXCOMIMP - :Others ... RFSS/EXCOMEXP - Exports Total (Percentage of Total) RFSS/EXCOMEXP - :Foodstuffs and agricultural raw materials (excluding textile).1 RFSS/EXCOMEXP - :Mineral products.1 RFSS/EXCOMEXP - :Chemical products, rubber.1 RFSS/EXCOMEXP - :Leather raw materials, fur and articles thereof.1 RFSS/EXCOMEXP - :Wood, pulp-and-paper products.1 RFSS/EXCOMEXP - :Textiles, textile articles and footwear.1 RFSS/EXCOMEXP - :Metals, precious stones and articles thereof.1 RFSS/EXCOMEXP - :Machinery, equipment and transport means.1 RFSS/EXCOMEXP - :Others.1
Date
1995-12-31 46.7 13.2 3.0 5.1 0.2 1.1 2.6 3.9 15.7 1.9 ... 100.0 1.8 42.5 10.0 0.4 5.6 1.5 26.7 10.2 1.3
2000-12-31 33.9 7.4 2.1 6.1 0.1 1.3 2.0 2.8 10.7 1.4 ... 100.0 1.6 53.8 7.2 0.3 4.3 0.8 21.7 8.8 1.5
2005-12-31 98.7 17.4 3.0 16.3 0.3 3.3 3.6 7.7 43.4 3.7 ... 100.0 1.9 64.8 6.0 0.1 3.4 0.4 16.8 5.6 1.0
2007-12-31 200.0 27.6 4.7 27.5 0.7 5.3 8.6 16.4 102.0 7.2 ... 100.0 2.6 64.9 5.9 0.1 3.5 0.3 15.9 5.6 1.2
2008-12-31 267.0 35.2 8.3 35.2 1.0 6.5 11.7 19.3 141.0 9.1 ... 100.0 2.0 69.8 6.4 0.1 2.5 0.2 13.2 4.9 0.9

5 rows × 40 columns