Skip to content

Commit

Permalink
Added new data and calculations for July 2020 update of the index.
Browse files Browse the repository at this point in the history
  • Loading branch information
futuraprime committed Jul 16, 2020
1 parent 4411460 commit 939084a
Show file tree
Hide file tree
Showing 6 changed files with 603 additions and 324 deletions.
494 changes: 276 additions & 218 deletions Big Mac data generator.ipynb

Large diffs are not rendered by default.

Binary file added output-data/big-mac-2020-07-01.xls
Binary file not shown.
143 changes: 90 additions & 53 deletions output-data/big-mac-adjusted-index.csv

Large diffs are not rendered by default.

162 changes: 109 additions & 53 deletions output-data/big-mac-full-index.csv

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions output-data/big-mac-raw-index.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1329,3 +1329,59 @@ date,iso_a3,currency_code,name,local_price,dollar_ex,dollar_price,USD,EUR,GBP,JP
2020-01-14,USA,USD,United States,5.67,1,5.67,0,0.23744,0.28565,0.59981,0.81572
2020-01-14,URY,UYU,Uruguay,179,37.435,4.78162147722719,-0.15668,0.04355,0.08421,0.34915,0.53123
2020-01-14,VNM,VND,Vietnam,66000,23176,2.84777355885399,-0.49775,-0.37849,-0.35428,-0.19649,-0.08805
2020-07-01,ARG,ARS,Argentina,250,71.24065,3.50923243962541,-0.38542,-0.26679,-0.17957,-0.03474,0.13258
2020-07-01,AUS,AUD,Australia,6.55,1.43061516452074,4.57845000000001,-0.19817,-0.04339,0.0704,0.25937,0.47766
2020-07-01,AZE,AZN,Azerbaijan,3.95,1.699,2.32489699823426,-0.59284,-0.51424,-0.45646,-0.3605,-0.24966
2020-07-01,BHR,BHD,Bahrain,1.4,0.37705,3.71303540644477,-0.34973,-0.22421,-0.13193,0.02132,0.19835
2020-07-01,BRA,BRL,Brazil,20.9,5.34045,3.91352788622682,-0.31462,-0.18232,-0.08505,0.07647,0.26306
2020-07-01,GBR,GBP,Britain,3.39,0.792550029720626,4.2773325,-0.2509,-0.10631,0,0.17654,0.38047
2020-07-01,CAN,CAD,Canada,6.88,1.3552,5.0767414403778,-0.1109,0.06072,0.18689,0.39643,0.63848
2020-07-01,CHL,CLP,Chile,2740,787.7,3.47848165545258,-0.39081,-0.27322,-0.18676,-0.04319,0.12265
2020-07-01,CHN,CNY,China,21.7,7.0035,3.09845077461269,-0.45736,-0.35262,-0.27561,-0.14773,0
2020-07-01,COL,COP,Colombia,11900,3617.01,3.2900102570908,-0.42382,-0.3126,-0.23083,-0.09504,0.06182
2020-07-01,CRI,CRC,Costa Rica,2350,581.825,4.039015167791,-0.29264,-0.1561,-0.05572,0.11099,0.30356
2020-07-01,HRV,HRK,Croatia,22,6.6272,3.31965234186383,-0.41862,-0.3064,-0.2239,-0.08688,0.07139
2020-07-01,CZE,CZK,Czech Republic,89,23.4134,3.80124202379834,-0.33428,-0.20578,-0.11131,0.04559,0.22682
2020-07-01,DNK,DKK,Denmark,30,6.54935,4.58060723583256,-0.19779,-0.04294,0.0709,0.25996,0.47835
2020-07-01,EGY,EGP,Egypt,42,15.95,2.63322884012539,-0.53884,-0.44982,-0.38438,-0.27569,-0.15015
2020-07-01,EUZ,EUR,Euro area,4.21,0.879623521132955,4.7861385,-0.1618,0,0.11895,0.31649,0.54469
2020-07-01,GTM,GTQ,Guatemala,25,7.693,3.24970752632263,-0.43087,-0.32102,-0.24025,-0.10612,0.04882
2020-07-01,HND,HNL,Honduras,87,24.6907,3.52359390377754,-0.38291,-0.26379,-0.17622,-0.03079,0.13721
2020-07-01,HKG,HKD,Hong Kong,20.5,7.75095,2.64483708448642,-0.53681,-0.4474,-0.38166,-0.2725,-0.1464
2020-07-01,HUN,HUF,Hungary,900,311.37795,2.89037807590422,-0.4938,-0.39609,-0.32426,-0.20496,-0.06715
2020-07-01,IND,INR,India,190,75.1975,2.52667974334253,-0.5575,-0.47208,-0.40929,-0.305,-0.18453
2020-07-01,IDN,IDR,Indonesia,34000,14435,2.35538621406304,-0.5875,-0.50787,-0.44933,-0.35212,-0.23982
2020-07-01,ISR,ILS,Israel,17,3.4367,4.94660575552129,-0.13369,0.03353,0.15647,0.36063,0.59648
2020-07-01,JPN,JPY,Japan,390,107.275,3.63551619669075,-0.36331,-0.24041,-0.15005,0,0.17333
2020-07-01,JOR,JOD,Jordan,2.3,0.709,3.24400564174894,-0.43187,-0.32221,-0.24158,-0.10769,0.04698
2020-07-01,KWT,KWD,Kuwait,1.15,0.3078,3.73619233268356,-0.34568,-0.21937,-0.12651,0.02769,0.20583
2020-07-01,LBN,LBP,Lebanon,9000,1512,5.95238095238095,0.04245,0.24367,0.39161,0.63729,0.92108
2020-07-01,MYS,MYR,Malaysia,9.99,4.2655,2.34204665338178,-0.58983,-0.51066,-0.45245,-0.35579,-0.24412
2020-07-01,MEX,MXN,Mexico,50,22.436,2.2285612408629,-0.60971,-0.53437,-0.47898,-0.387,-0.28075
2020-07-01,MDA,MDL,Moldova,47,17.075,2.75256222547584,-0.51794,-0.42489,-0.35648,-0.24287,-0.11163
2020-07-01,NZL,NZD,New Zealand,6.6,1.51779615997572,4.34840999999999,-0.23846,-0.09146,0.01662,0.19609,0.40341
2020-07-01,NIC,NIO,Nicaragua,120,34.3752,3.49088878028346,-0.38864,-0.27063,-0.18386,-0.03978,0.12666
2020-07-01,NOR,NOK,Norway,52,9.37105,5.54900464729139,-0.0282,0.15939,0.2973,0.52633,0.7909
2020-07-01,OMN,OMR,Oman,1.1,0.385,2.85714285714286,-0.49962,-0.40304,-0.33203,-0.2141,-0.07788
2020-07-01,PAK,PKR,Pakistan,550,166.5,3.3033033033033,-0.42149,-0.30982,-0.22772,-0.09138,0.06611
2020-07-01,PER,PEN,Peru,11.9,3.4973,3.40262488205187,-0.40409,-0.28907,-0.2045,-0.06406,0.09817
2020-07-01,PHL,PHP,Philippines,142,49.426,2.87298183142476,-0.49685,-0.39973,-0.32832,-0.20975,-0.07277
2020-07-01,POL,PLN,Poland,11,3.94345,2.78943564645171,-0.51148,-0.41718,-0.34786,-0.23273,-0.09973
2020-07-01,QAT,QAR,Qatar,13,3.641,3.57044767920901,-0.3747,-0.254,-0.16526,-0.0179,0.15233
2020-07-01,ROU,RON,Romania,9.9,4.26005,2.32391638595791,-0.59301,-0.51445,-0.45669,-0.36077,-0.24997
2020-07-01,RUS,RUB,Russia,135,70.585,1.91258766026776,-0.66505,-0.60039,-0.55286,-0.47392,-0.38273
2020-07-01,SAU,SAR,Saudi Arabia,14,3.75105,3.7322882926114,-0.34636,-0.22019,-0.12743,0.02662,0.20457
2020-07-01,SGP,SGD,Singapore,5.9,1.3876,4.2519458057077,-0.25535,-0.11161,-0.00594,0.16956,0.37228
2020-07-01,ZAF,ZAR,South Africa,31,16.6725,1.85934922777028,-0.67437,-0.61151,-0.5653,-0.48856,-0.39991
2020-07-01,KOR,KRW,South Korea,4500,1200.95,3.74703359840127,-0.34378,-0.21711,-0.12398,0.03067,0.20932
2020-07-01,LKA,LKR,Sri Lanka,680,185.85,3.65886467581383,-0.35922,-0.23553,-0.14459,0.00642,0.18087
2020-07-01,SWE,SEK,Sweden,52.6,9.1384,5.75593101637048,0.00804,0.20263,0.34568,0.58325,0.85768
2020-07-01,CHE,CHF,Switzerland,6.5,0.94125,6.90571049136786,0.20941,0.44286,0.61449,0.89951,1.22876
2020-07-01,TWN,TWD,Taiwan,72,29.4565,2.44428224670277,-0.57193,-0.4893,-0.42855,-0.32767,-0.21113
2020-07-01,THA,THB,Thailand,128,31.385,4.0783813923849,-0.28575,-0.14788,-0.04651,0.12182,0.31626
2020-07-01,TUR,TRY,Turkey,13.99,6.8595,2.03950725271521,-0.64282,-0.57387,-0.52318,-0.439,-0.34177
2020-07-01,UKR,UAH,Ukraine,59,27.13,2.17471433837081,-0.61914,-0.54562,-0.49157,-0.40181,-0.29813
2020-07-01,ARE,AED,United Arab Emirates,14.75,3.67295,4.0158455737214,-0.2967,-0.16094,-0.06113,0.10461,0.29608
2020-07-01,USA,USD,United States,5.71,1,5.71,0,0.19303,0.33494,0.57062,0.84286
2020-07-01,URY,UYU,Uruguay,189,43.675,4.32741843159702,-0.24213,-0.09584,0.01171,0.19032,0.39664
2020-07-01,VNM,VND,Vietnam,66000,23180,2.84728213977567,-0.50135,-0.4051,-0.33433,-0.21681,-0.08106
72 changes: 72 additions & 0 deletions source-data/big-mac-source-data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1585,3 +1585,75 @@ Uruguay,URY,UYU,179,37.435,17014.132,2020-01-14
United States,USA,USD,5.67,1,62868.917,2020-01-14
Vietnam,VNM,VND,66000,23176,2551.123,2020-01-14
South Africa,ZAF,ZAR,31,14.391,6353.846,2020-01-14
United Arab Emirates,ARE,AED,14.75,3.67295,39709.006,2020-07-01
Argentina,ARG,ARS,250,71.24065,11658.22,2020-07-01
Australia,AUS,AUD,6.55,1.43061516452074,56420.201,2020-07-01
Austria,AUT,EUR,3.86,0.879623521132955,51343.509,2020-07-01
Azerbaijan,AZE,AZN,3.95,1.699,4722.325,2020-07-01
Belgium,BEL,EUR,4.35,0.879623521132955,46695.986,2020-07-01
Bahrain,BHR,BHD,1.4,0.37705,25482.741,2020-07-01
Brazil,BRA,BRL,20.9,5.34045,8958.576,2020-07-01
Canada,CAN,CAD,6.88,1.3552,46290.217,2020-07-01
Switzerland,CHE,CHF,6.5,0.94125,83161.895,2020-07-01
Chile,CHL,CLP,2740,787.7,15901.725,2020-07-01
China,CHN,CNY,21.7,7.0035,9580.239,2020-07-01
Colombia,COL,COP,11900,3617.01,6641.507,2020-07-01
Costa Rica,CRI,CRC,2350,581.825,12039.107,2020-07-01
Czech Republic,CZE,CZK,89,23.4134,23112.593,2020-07-01
Germany,DEU,EUR,4.45,0.879623521132955,47662.493,2020-07-01
Denmark,DNK,DKK,30,6.54935,60897.231,2020-07-01
Egypt,EGY,EGP,42,15.95,2573.288,2020-07-01
Spain,ESP,EUR,4.1,0.879623521132955,30733.168,2020-07-01
Estonia,EST,EUR,3.2,0.879623521132955,23330.275,2020-07-01
Euro area,EUZ,EUR,4.21,0.879623521132955,40247.3234068038,2020-07-01
Finland,FIN,EUR,4.88,0.879623521132955,49737.554,2020-07-01
France,FRA,EUR,4.2,0.879623521132955,42953.266,2020-07-01
Britain,GBR,GBP,3.39,0.792550029720626,42579.817,2020-07-01
Greece,GRC,EUR,3.3,0.879623521132955,20317.18,2020-07-01
Guatemala,GTM,GTQ,25,7.693,4545.085,2020-07-01
Hong Kong,HKG,HKD,20.5,7.75095,48450.607,2020-07-01
Honduras,HND,HNL,87,24.6907,2523.8,2020-07-01
Croatia,HRV,HRK,22,6.6272,14870.418,2020-07-01
Hungary,HUN,HUF,900,311.37795,16484.19,2020-07-01
Indonesia,IDN,IDR,34000,14435,3870.562,2020-07-01
India,IND,INR,190,75.1975,2037.692,2020-07-01
Ireland,IRL,EUR,4.3,0.879623521132955,78334.865,2020-07-01
Israel,ISR,ILS,17,3.4367,41728.191,2020-07-01
Italy,ITA,EUR,4.3,0.879623521132955,34320.754,2020-07-01
Jordan,JOR,JOD,2.3,0.709,4270.172,2020-07-01
Japan,JPN,JPY,390,107.275,39303.958,2020-07-01
South Korea,KOR,KRW,4500,1200.95,33319.988,2020-07-01
Kuwait,KWT,KWD,1.15,0.3078,30969.438,2020-07-01
Lebanon,LBN,LBP,9000,1512,9251.207,2020-07-01
Sri Lanka,LKA,LKR,680,185.85,4099.118,2020-07-01
Lithuania,LTU,EUR,2.85,0.879623521132955,18994.384,2020-07-01
Latvia,LVA,EUR,2.85,0.879623521132955,18032.617,2020-07-01
Moldova,MDA,MDL,47,17.075,3190.832,2020-07-01
Mexico,MEX,MXN,50,22.436,9796.976,2020-07-01
Malaysia,MYS,MYR,9.99,4.2655,11072.387,2020-07-01
Nicaragua,NIC,NIO,120,34.3752,2030.5,2020-07-01
Netherlands,NLD,EUR,4.09,0.879623521132955,53228.27,2020-07-01
Norway,NOR,NOK,52,9.37105,81549.977,2020-07-01
New Zealand,NZL,NZD,6.6,1.51779615997572,41204.706,2020-07-01
Oman,OMN,OMR,1.1,0.385,18969.993,2020-07-01
Pakistan,PAK,PKR,550,166.5,1565.427,2020-07-01
Peru,PER,PEN,11.9,3.4973,7007.171,2020-07-01
Philippines,PHL,PHP,142,49.426,3104.223,2020-07-01
Poland,POL,PLN,11,3.94345,15425.681,2020-07-01
Portugal,PRT,EUR,3.45,0.879623521132955,23437.39,2020-07-01
Qatar,QAT,QAR,13,3.641,70379.492,2020-07-01
Romania,ROU,RON,9.9,4.26005,12269.843,2020-07-01
Russia,RUS,RUB,135,70.585,11289.439,2020-07-01
Saudi Arabia,SAU,SAR,14,3.75105,23538.94,2020-07-01
Singapore,SGP,SGD,5.9,1.3876,64578.772,2020-07-01
Slovakia,SVK,EUR,3.6,0.879623521132955,19579.309,2020-07-01
Slovenia,SVN,EUR,2.5,0.879623521132955,26145.653,2020-07-01
Sweden,SWE,SEK,52.6,9.1384,54356.073,2020-07-01
Thailand,THA,THB,128,31.385,7448.119,2020-07-01
Turkey,TUR,TRY,13.99,6.8595,9405.321,2020-07-01
Taiwan,TWN,TWD,72,29.4565,25007.747,2020-07-01
Ukraine,UKR,UAH,59,27.13,3112.883,2020-07-01
Uruguay,URY,UYU,189,43.675,17014.132,2020-07-01
United States,USA,USD,5.71,1,62868.917,2020-07-01
Vietnam,VNM,VND,66000,23180,2551.123,2020-07-01
South Africa,ZAF,ZAR,31,16.6725,6353.846,2020-07-01

0 comments on commit 939084a

Please sign in to comment.