SlideShare a Scribd company logo
DATA-DRIVEN DASHBOARDS
FOR ECONOMIC/POLICY ANALYSIS
Aditya Gupta
2011009
1
OVERVIEW
Overview of the BTP 

(and Recap)
IESS 2047 and Susanne
wo(R)ldata
Demo (Questions)
Architecture
2
Life of a bug
Key Challenges / Solutions
Snippets / Pain Points
Updates on Report
Roadmap / Ideas / Todo
OVERVIEW OFTHE BTP
Started in Dec 2013, Niti Aayog
IESS 2047
Susanne
wo(R)ldata
3
IESS 2047
http://www.indiaenergy.gov.in/, Energy Department Project
Dashboard for policy makers focussing on long term energy
sustainability.
Offers demand vs. supply (renewable and non-renewable) policy
handles (with 4 levels from status-quo to aggressive policy)
See real-time 5-year graphical projections (upto 2047)
Projections available for Environmental Impact, Import Dependency,
Supply-Demand Maps, Land-use (and requirement), etc.
4
CONTRIBUTIONTO IESS 2047
Was given a UK code version and an Indian Model (Excel)
Was responsible for successful deployment of v1 for India in a 2-
person engineering team
Evaluated
5
SUSANNE
World Recession SUSceptibility ANalysis

project taken under Statistical Computation with Dr. Ashwin
Decided to study:
Can we predict recession susceptibility (based on World Bank data)?
What is recession susceptibility?
Effect of econ. variables on Recession Susceptibility?
Built a discretised SVM model with more than 90% accuracy
Presented all results on susanne.bitballoon.com (no backend)
6
WO(R)LDATA

https://github.com/ca9/world-stats/
Concept: Be able establish statistical relationships between economic
variables of choice within seconds.
Why: Aids policy-making, preliminary analysis.
Value Add: Easy and intuitive. No need to code, wrestle with
data, or R (policy makers quite likely wont).
Under the Hood: Powerful R models invoked. Graphing, Charts,
Basic Analysis - all done for the user.
7
QUESTION (DEMO)
http://uakk127b233d.aditya11009.koding.io:5000/
Lets see how much Corruption and Education affect Income?
3. CC.PER.RNK
2. SE.XPD.TOTL.GD.ZS
16. NY.GNP.PCAP.CD
8
(SHORT, PLACEHOLDER, QUICK AND DIRTY)
ANSWERS
Corruption percentile rank seems to be very highly associated with high Income.
[High Percentile means low corruption].
It accounts for 55% of the variation in Income.
LDA predicts Income Quintile with 61% accuracy based on just Corruption
percentile.
9
(AND MORE)
ANSWERS
In contrast, education expenditure shows no great linkage to Income.
It accounts for roughly 1.4% variation in Income.
Unsurprisingly, US and EU have the highest income levels.
However, education expenditure level is more evenly distributed (Ex. Namibia)











10
OTHER QUESTIONS
Does Income predict corruption!?
How do these vary over the years?
Takes a moment to find out…
11
ANSWERS
A lot more data is instantly unlocked.
South African countries have very low
corruption too.
Income strongly related to low
corruption too.
Both values appear relatively 

stable over the years.
Income shows a slight upward trend.
12
ARCHITECTURE
13
LIFE OF A BUG
Result Indicator was not the chosen one (tried multiple indicators after a while)
Did the angular code collect data correctly?
Was the right request sent to the server?
Did the flask server unpack correctly?
Did it siphon data to R correctly?
Am I reading R results correctly?
Am I resending R data correctly?
Am I unpacking back on the client correctly?
Is this merely a library/directive bug?
14
KEY CHALLENGES
Flask-Angular Compatibility
Theft and repeated loss of work
Absence of a unix-only dev. machine (with 2GB+ RAM). 

VM issues.
Unforeseen Engineering/Design Challenges:

ManagingYears, Countries, Asynchronisity (Dynamic Models), Data Formatting, Size of
Data, Multi-software/library Dependencies, Manual Merges (From caching), Cookie Size,
Continuous Classification, Default Behaviour, Redesigns



Example: Dataframe Caching, NA removal support, Session/Caching redo.
15
KEY SOLUTIONS
Server Side sqlite Sessions
koding.com, Flask, rpy2, pandas, wbdata

flask-triangle
Cached Result for Frontend
Firebug (Scope), Flask Context,

Angular-Debugger, Pycharm-debugger
SOME OTHER PAIN POINTS
17
SVM CRASHES
18
EXPLANATIONS
Possible causes of above error:
Unicode issue. R. An R library (‘kvsm’,‘MASS’). Python (or Flask). 

A Python library (like Pandas). Pycharm (or the Debugger).



wbdata? rpy2?
A bad int/float/str? Bad NA values? Data specific?
Quintile variables? Exponentials?
System[Socket Broken] - Out of Memory?
19
UPDATES SINCE REPORT
Added LDA.
Added a world map, for visual effect.
Cleaned up UI significantly, including

selector for the map.
Added PCA support (Unused)
Tested SVM (currently not supported by
backend).
Set up aVM: 

http://uakk127b233d.aditya11009.koding.io:5000/
Added a timeline average bar-graph
20
TODO, ROADMAP, IDEAS
Spreadsheets Plugin - export, and edit
IndependentTools (Collector / Editing / R-Console)
R Graphics (Non-interactive Bitmaps)
Country/Subregion Selector. DissimilarYears. NA support.
More Result windows. Greater granularity on results.
Better variable accumulation and UI.
21
– Aditya Gupta, 2011009
Thank you
22

More Related Content

Similar to Data Driven Dashboards For Economic and Policy Analysis

Role of Generative AI in Utilities
Role of Generative AI in UtilitiesRole of Generative AI in Utilities
Role of Generative AI in Utilities
Sayonsom Chanda
 
IRJET- A Review on K-Means++ Clustering Algorithm and Cloud Computing wit...
IRJET-  	  A Review on K-Means++ Clustering Algorithm and Cloud Computing wit...IRJET-  	  A Review on K-Means++ Clustering Algorithm and Cloud Computing wit...
IRJET- A Review on K-Means++ Clustering Algorithm and Cloud Computing wit...
IRJET Journal
 
Software Sustainability: The Challenges and Opportunities for Enterprises and...
Software Sustainability: The Challenges and Opportunities for Enterprises and...Software Sustainability: The Challenges and Opportunities for Enterprises and...
Software Sustainability: The Challenges and Opportunities for Enterprises and...
Patricia Lago
 
MAZZ -Bob Towards BIG DATA-RA-AlloyCloud-NIST_BD.pdf
MAZZ -Bob Towards BIG DATA-RA-AlloyCloud-NIST_BD.pdfMAZZ -Bob Towards BIG DATA-RA-AlloyCloud-NIST_BD.pdf
MAZZ -Bob Towards BIG DATA-RA-AlloyCloud-NIST_BD.pdf
Gary Mazzaferro
 
The future of scaling forrester research - GigaSpaces Road Show 2011
The future of scaling forrester research - GigaSpaces Road Show 2011The future of scaling forrester research - GigaSpaces Road Show 2011
The future of scaling forrester research - GigaSpaces Road Show 2011
Nati Shalom
 
Is There a Return on Investment from Model-Based Systems Engineering?
Is There a Return on Investment from Model-Based Systems Engineering?Is There a Return on Investment from Model-Based Systems Engineering?
Is There a Return on Investment from Model-Based Systems Engineering?
Elizabeth Steiner
 
Big Data Airline Project at UAEU
Big Data Airline Project at UAEUBig Data Airline Project at UAEU
Big Data Airline Project at UAEU
Ziyad Saleh
 
DWBI Testing Profile
DWBI Testing ProfileDWBI Testing Profile
DWBI Testing Profile
Sreeramulu Bethe
 
Deep learning and applications in non-cognitive domains II
Deep learning and applications in non-cognitive domains IIDeep learning and applications in non-cognitive domains II
Deep learning and applications in non-cognitive domains II
Deakin University
 
IRJET - Multi-Label Road Scene Prediction for Autonomous Vehicles using Deep ...
IRJET - Multi-Label Road Scene Prediction for Autonomous Vehicles using Deep ...IRJET - Multi-Label Road Scene Prediction for Autonomous Vehicles using Deep ...
IRJET - Multi-Label Road Scene Prediction for Autonomous Vehicles using Deep ...
IRJET Journal
 
Initial Presentation Design Template (1).pptx
Initial Presentation Design Template (1).pptxInitial Presentation Design Template (1).pptx
Initial Presentation Design Template (1).pptx
zuzz1
 
Open source telecom software project survey results 2019
Open source telecom software project survey results 2019Open source telecom software project survey results 2019
Open source telecom software project survey results 2019
Alan Quayle
 
50120140507013
5012014050701350120140507013
50120140507013
IAEME Publication
 
50120140507013
5012014050701350120140507013
50120140507013
IAEME Publication
 
2951085 dzone-2016guidetobigdata
2951085 dzone-2016guidetobigdata2951085 dzone-2016guidetobigdata
2951085 dzone-2016guidetobigdata
balu kvm
 
Business Value of Agile Testing: Using TDD, CI, CD, & DevOps
Business Value of Agile Testing: Using TDD, CI, CD, & DevOpsBusiness Value of Agile Testing: Using TDD, CI, CD, & DevOps
Business Value of Agile Testing: Using TDD, CI, CD, & DevOps
David Rico
 
Resume - Abhishek Ray-Mar-2016 - Ind
Resume - Abhishek Ray-Mar-2016 - IndResume - Abhishek Ray-Mar-2016 - Ind
Resume - Abhishek Ray-Mar-2016 - Ind
Abhishek Ray
 
Model-Driven Spreadsheet Development
Model-Driven Spreadsheet DevelopmentModel-Driven Spreadsheet Development
Model-Driven Spreadsheet Development
Jácome Cunha
 
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame Work
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame WorkA Big-Data Process Consigned Geographically by Employing Mapreduce Frame Work
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame Work
IRJET Journal
 
Abinaya-Resume
Abinaya-ResumeAbinaya-Resume
Abinaya-Resume
Abinaya Devarasu
 

Similar to Data Driven Dashboards For Economic and Policy Analysis (20)

Role of Generative AI in Utilities
Role of Generative AI in UtilitiesRole of Generative AI in Utilities
Role of Generative AI in Utilities
 
IRJET- A Review on K-Means++ Clustering Algorithm and Cloud Computing wit...
IRJET-  	  A Review on K-Means++ Clustering Algorithm and Cloud Computing wit...IRJET-  	  A Review on K-Means++ Clustering Algorithm and Cloud Computing wit...
IRJET- A Review on K-Means++ Clustering Algorithm and Cloud Computing wit...
 
Software Sustainability: The Challenges and Opportunities for Enterprises and...
Software Sustainability: The Challenges and Opportunities for Enterprises and...Software Sustainability: The Challenges and Opportunities for Enterprises and...
Software Sustainability: The Challenges and Opportunities for Enterprises and...
 
MAZZ -Bob Towards BIG DATA-RA-AlloyCloud-NIST_BD.pdf
MAZZ -Bob Towards BIG DATA-RA-AlloyCloud-NIST_BD.pdfMAZZ -Bob Towards BIG DATA-RA-AlloyCloud-NIST_BD.pdf
MAZZ -Bob Towards BIG DATA-RA-AlloyCloud-NIST_BD.pdf
 
The future of scaling forrester research - GigaSpaces Road Show 2011
The future of scaling forrester research - GigaSpaces Road Show 2011The future of scaling forrester research - GigaSpaces Road Show 2011
The future of scaling forrester research - GigaSpaces Road Show 2011
 
Is There a Return on Investment from Model-Based Systems Engineering?
Is There a Return on Investment from Model-Based Systems Engineering?Is There a Return on Investment from Model-Based Systems Engineering?
Is There a Return on Investment from Model-Based Systems Engineering?
 
Big Data Airline Project at UAEU
Big Data Airline Project at UAEUBig Data Airline Project at UAEU
Big Data Airline Project at UAEU
 
DWBI Testing Profile
DWBI Testing ProfileDWBI Testing Profile
DWBI Testing Profile
 
Deep learning and applications in non-cognitive domains II
Deep learning and applications in non-cognitive domains IIDeep learning and applications in non-cognitive domains II
Deep learning and applications in non-cognitive domains II
 
IRJET - Multi-Label Road Scene Prediction for Autonomous Vehicles using Deep ...
IRJET - Multi-Label Road Scene Prediction for Autonomous Vehicles using Deep ...IRJET - Multi-Label Road Scene Prediction for Autonomous Vehicles using Deep ...
IRJET - Multi-Label Road Scene Prediction for Autonomous Vehicles using Deep ...
 
Initial Presentation Design Template (1).pptx
Initial Presentation Design Template (1).pptxInitial Presentation Design Template (1).pptx
Initial Presentation Design Template (1).pptx
 
Open source telecom software project survey results 2019
Open source telecom software project survey results 2019Open source telecom software project survey results 2019
Open source telecom software project survey results 2019
 
50120140507013
5012014050701350120140507013
50120140507013
 
50120140507013
5012014050701350120140507013
50120140507013
 
2951085 dzone-2016guidetobigdata
2951085 dzone-2016guidetobigdata2951085 dzone-2016guidetobigdata
2951085 dzone-2016guidetobigdata
 
Business Value of Agile Testing: Using TDD, CI, CD, & DevOps
Business Value of Agile Testing: Using TDD, CI, CD, & DevOpsBusiness Value of Agile Testing: Using TDD, CI, CD, & DevOps
Business Value of Agile Testing: Using TDD, CI, CD, & DevOps
 
Resume - Abhishek Ray-Mar-2016 - Ind
Resume - Abhishek Ray-Mar-2016 - IndResume - Abhishek Ray-Mar-2016 - Ind
Resume - Abhishek Ray-Mar-2016 - Ind
 
Model-Driven Spreadsheet Development
Model-Driven Spreadsheet DevelopmentModel-Driven Spreadsheet Development
Model-Driven Spreadsheet Development
 
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame Work
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame WorkA Big-Data Process Consigned Geographically by Employing Mapreduce Frame Work
A Big-Data Process Consigned Geographically by Employing Mapreduce Frame Work
 
Abinaya-Resume
Abinaya-ResumeAbinaya-Resume
Abinaya-Resume
 

More from Aditya Gupta

Career Advice for Engineering Students in India
Career Advice for Engineering Students in IndiaCareer Advice for Engineering Students in India
Career Advice for Engineering Students in India
Aditya Gupta
 
Meetups - A realtime distributed monitoring application (Android)
Meetups - A realtime distributed monitoring application (Android) Meetups - A realtime distributed monitoring application (Android)
Meetups - A realtime distributed monitoring application (Android)
Aditya Gupta
 
Cognitive dissonance is a Good thing
Cognitive dissonance is a Good thingCognitive dissonance is a Good thing
Cognitive dissonance is a Good thing
Aditya Gupta
 
Multi Agent Systems presentation
Multi Agent Systems presentationMulti Agent Systems presentation
Multi Agent Systems presentation
Aditya Gupta
 
Equity research project, 2014 (banking)
Equity research project, 2014 (banking)Equity research project, 2014 (banking)
Equity research project, 2014 (banking)
Aditya Gupta
 
Food Corporation of India - HR Policy Translation
Food Corporation of India - HR Policy TranslationFood Corporation of India - HR Policy Translation
Food Corporation of India - HR Policy Translation
Aditya Gupta
 
India Energy Security Scenarios Calculator - BTech Project
India Energy Security Scenarios Calculator - BTech ProjectIndia Energy Security Scenarios Calculator - BTech Project
India Energy Security Scenarios Calculator - BTech Project
Aditya Gupta
 
Responses
ResponsesResponses
Responses
Aditya Gupta
 
Making susanne
Making susanneMaking susanne
Making susanne
Aditya Gupta
 

More from Aditya Gupta (9)

Career Advice for Engineering Students in India
Career Advice for Engineering Students in IndiaCareer Advice for Engineering Students in India
Career Advice for Engineering Students in India
 
Meetups - A realtime distributed monitoring application (Android)
Meetups - A realtime distributed monitoring application (Android) Meetups - A realtime distributed monitoring application (Android)
Meetups - A realtime distributed monitoring application (Android)
 
Cognitive dissonance is a Good thing
Cognitive dissonance is a Good thingCognitive dissonance is a Good thing
Cognitive dissonance is a Good thing
 
Multi Agent Systems presentation
Multi Agent Systems presentationMulti Agent Systems presentation
Multi Agent Systems presentation
 
Equity research project, 2014 (banking)
Equity research project, 2014 (banking)Equity research project, 2014 (banking)
Equity research project, 2014 (banking)
 
Food Corporation of India - HR Policy Translation
Food Corporation of India - HR Policy TranslationFood Corporation of India - HR Policy Translation
Food Corporation of India - HR Policy Translation
 
India Energy Security Scenarios Calculator - BTech Project
India Energy Security Scenarios Calculator - BTech ProjectIndia Energy Security Scenarios Calculator - BTech Project
India Energy Security Scenarios Calculator - BTech Project
 
Responses
ResponsesResponses
Responses
 
Making susanne
Making susanneMaking susanne
Making susanne
 

Recently uploaded

Governor Olli Rehn: Inflation down and recovery supported by interest rate cu...
Governor Olli Rehn: Inflation down and recovery supported by interest rate cu...Governor Olli Rehn: Inflation down and recovery supported by interest rate cu...
Governor Olli Rehn: Inflation down and recovery supported by interest rate cu...
Suomen Pankki
 
falcon-invoice-discounting-a-premier-investment-platform-for-superior-returns...
falcon-invoice-discounting-a-premier-investment-platform-for-superior-returns...falcon-invoice-discounting-a-premier-investment-platform-for-superior-returns...
falcon-invoice-discounting-a-premier-investment-platform-for-superior-returns...
Falcon Invoice Discounting
 
Bridging the gap: Online job postings, survey data and the assessment of job ...
Bridging the gap: Online job postings, survey data and the assessment of job ...Bridging the gap: Online job postings, survey data and the assessment of job ...
Bridging the gap: Online job postings, survey data and the assessment of job ...
Labour Market Information Council | Conseil de l’information sur le marché du travail
 
What's a worker’s market? Job quality and labour market tightness
What's a worker’s market? Job quality and labour market tightnessWhat's a worker’s market? Job quality and labour market tightness
What's a worker’s market? Job quality and labour market tightness
Labour Market Information Council | Conseil de l’information sur le marché du travail
 
Eco-Innovations and Firm Heterogeneity. Evidence from Italian Family and Nonf...
Eco-Innovations and Firm Heterogeneity.Evidence from Italian Family and Nonf...Eco-Innovations and Firm Heterogeneity.Evidence from Italian Family and Nonf...
Eco-Innovations and Firm Heterogeneity. Evidence from Italian Family and Nonf...
University of Calabria
 
FCCS Basic Accounts Outline and Hierarchy.pptx
FCCS Basic Accounts Outline and Hierarchy.pptxFCCS Basic Accounts Outline and Hierarchy.pptx
FCCS Basic Accounts Outline and Hierarchy.pptx
nalamynandan
 
一比一原版(GWU,GW毕业证)加利福尼亚大学|尔湾分校毕业证如何办理
一比一原版(GWU,GW毕业证)加利福尼亚大学|尔湾分校毕业证如何办理一比一原版(GWU,GW毕业证)加利福尼亚大学|尔湾分校毕业证如何办理
一比一原版(GWU,GW毕业证)加利福尼亚大学|尔湾分校毕业证如何办理
obyzuk
 
Using Online job postings and survey data to understand labour market trends
Using Online job postings and survey data to understand labour market trendsUsing Online job postings and survey data to understand labour market trends
Using Online job postings and survey data to understand labour market trends
Labour Market Information Council | Conseil de l’information sur le marché du travail
 
Tumelo-deep-dive-into-pass-through-voting-Feb23 (1).pdf
Tumelo-deep-dive-into-pass-through-voting-Feb23 (1).pdfTumelo-deep-dive-into-pass-through-voting-Feb23 (1).pdf
Tumelo-deep-dive-into-pass-through-voting-Feb23 (1).pdf
Henry Tapper
 
Who Is Abhay Bhutada, MD of Poonawalla Fincorp
Who Is Abhay Bhutada, MD of Poonawalla FincorpWho Is Abhay Bhutada, MD of Poonawalla Fincorp
Who Is Abhay Bhutada, MD of Poonawalla Fincorp
beulahfernandes8
 
falcon-invoice-discounting-a-strategic-approach-to-optimize-investments
falcon-invoice-discounting-a-strategic-approach-to-optimize-investmentsfalcon-invoice-discounting-a-strategic-approach-to-optimize-investments
falcon-invoice-discounting-a-strategic-approach-to-optimize-investments
Falcon Invoice Discounting
 
Earn a passive income with prosocial investing
Earn a passive income with prosocial investingEarn a passive income with prosocial investing
Earn a passive income with prosocial investing
Colin R. Turner
 
Does teamwork really matter? Looking beyond the job posting to understand lab...
Does teamwork really matter? Looking beyond the job posting to understand lab...Does teamwork really matter? Looking beyond the job posting to understand lab...
Does teamwork really matter? Looking beyond the job posting to understand lab...
Labour Market Information Council | Conseil de l’information sur le marché du travail
 
^%$Zone1:+971)581248768’][* Legit & Safe #Abortion #Pills #For #Sale In #Duba...
^%$Zone1:+971)581248768’][* Legit & Safe #Abortion #Pills #For #Sale In #Duba...^%$Zone1:+971)581248768’][* Legit & Safe #Abortion #Pills #For #Sale In #Duba...
^%$Zone1:+971)581248768’][* Legit & Safe #Abortion #Pills #For #Sale In #Duba...
mayaclinic18
 
Instant Issue Debit Cards
Instant Issue Debit CardsInstant Issue Debit Cards
Instant Issue Debit Cards
egoetzinger
 
一比一原版(UCSB毕业证)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB毕业证)圣芭芭拉分校毕业证如何办理一比一原版(UCSB毕业证)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB毕业证)圣芭芭拉分校毕业证如何办理
bbeucd
 
Instant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School SpiritInstant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School Spirit
egoetzinger
 
How Non-Banking Financial Companies Empower Startups With Venture Debt Financing
How Non-Banking Financial Companies Empower Startups With Venture Debt FinancingHow Non-Banking Financial Companies Empower Startups With Venture Debt Financing
How Non-Banking Financial Companies Empower Startups With Venture Debt Financing
Vighnesh Shashtri
 
一比一原版(UCL毕业证)伦敦大学|学院毕业证如何办理
一比一原版(UCL毕业证)伦敦大学|学院毕业证如何办理一比一原版(UCL毕业证)伦敦大学|学院毕业证如何办理
一比一原版(UCL毕业证)伦敦大学|学院毕业证如何办理
otogas
 
Independent Study - College of Wooster Research (2023-2024) FDI, Culture, Glo...
Independent Study - College of Wooster Research (2023-2024) FDI, Culture, Glo...Independent Study - College of Wooster Research (2023-2024) FDI, Culture, Glo...
Independent Study - College of Wooster Research (2023-2024) FDI, Culture, Glo...
AntoniaOwensDetwiler
 

Recently uploaded (20)

Governor Olli Rehn: Inflation down and recovery supported by interest rate cu...
Governor Olli Rehn: Inflation down and recovery supported by interest rate cu...Governor Olli Rehn: Inflation down and recovery supported by interest rate cu...
Governor Olli Rehn: Inflation down and recovery supported by interest rate cu...
 
falcon-invoice-discounting-a-premier-investment-platform-for-superior-returns...
falcon-invoice-discounting-a-premier-investment-platform-for-superior-returns...falcon-invoice-discounting-a-premier-investment-platform-for-superior-returns...
falcon-invoice-discounting-a-premier-investment-platform-for-superior-returns...
 
Bridging the gap: Online job postings, survey data and the assessment of job ...
Bridging the gap: Online job postings, survey data and the assessment of job ...Bridging the gap: Online job postings, survey data and the assessment of job ...
Bridging the gap: Online job postings, survey data and the assessment of job ...
 
What's a worker’s market? Job quality and labour market tightness
What's a worker’s market? Job quality and labour market tightnessWhat's a worker’s market? Job quality and labour market tightness
What's a worker’s market? Job quality and labour market tightness
 
Eco-Innovations and Firm Heterogeneity. Evidence from Italian Family and Nonf...
Eco-Innovations and Firm Heterogeneity.Evidence from Italian Family and Nonf...Eco-Innovations and Firm Heterogeneity.Evidence from Italian Family and Nonf...
Eco-Innovations and Firm Heterogeneity. Evidence from Italian Family and Nonf...
 
FCCS Basic Accounts Outline and Hierarchy.pptx
FCCS Basic Accounts Outline and Hierarchy.pptxFCCS Basic Accounts Outline and Hierarchy.pptx
FCCS Basic Accounts Outline and Hierarchy.pptx
 
一比一原版(GWU,GW毕业证)加利福尼亚大学|尔湾分校毕业证如何办理
一比一原版(GWU,GW毕业证)加利福尼亚大学|尔湾分校毕业证如何办理一比一原版(GWU,GW毕业证)加利福尼亚大学|尔湾分校毕业证如何办理
一比一原版(GWU,GW毕业证)加利福尼亚大学|尔湾分校毕业证如何办理
 
Using Online job postings and survey data to understand labour market trends
Using Online job postings and survey data to understand labour market trendsUsing Online job postings and survey data to understand labour market trends
Using Online job postings and survey data to understand labour market trends
 
Tumelo-deep-dive-into-pass-through-voting-Feb23 (1).pdf
Tumelo-deep-dive-into-pass-through-voting-Feb23 (1).pdfTumelo-deep-dive-into-pass-through-voting-Feb23 (1).pdf
Tumelo-deep-dive-into-pass-through-voting-Feb23 (1).pdf
 
Who Is Abhay Bhutada, MD of Poonawalla Fincorp
Who Is Abhay Bhutada, MD of Poonawalla FincorpWho Is Abhay Bhutada, MD of Poonawalla Fincorp
Who Is Abhay Bhutada, MD of Poonawalla Fincorp
 
falcon-invoice-discounting-a-strategic-approach-to-optimize-investments
falcon-invoice-discounting-a-strategic-approach-to-optimize-investmentsfalcon-invoice-discounting-a-strategic-approach-to-optimize-investments
falcon-invoice-discounting-a-strategic-approach-to-optimize-investments
 
Earn a passive income with prosocial investing
Earn a passive income with prosocial investingEarn a passive income with prosocial investing
Earn a passive income with prosocial investing
 
Does teamwork really matter? Looking beyond the job posting to understand lab...
Does teamwork really matter? Looking beyond the job posting to understand lab...Does teamwork really matter? Looking beyond the job posting to understand lab...
Does teamwork really matter? Looking beyond the job posting to understand lab...
 
^%$Zone1:+971)581248768’][* Legit & Safe #Abortion #Pills #For #Sale In #Duba...
^%$Zone1:+971)581248768’][* Legit & Safe #Abortion #Pills #For #Sale In #Duba...^%$Zone1:+971)581248768’][* Legit & Safe #Abortion #Pills #For #Sale In #Duba...
^%$Zone1:+971)581248768’][* Legit & Safe #Abortion #Pills #For #Sale In #Duba...
 
Instant Issue Debit Cards
Instant Issue Debit CardsInstant Issue Debit Cards
Instant Issue Debit Cards
 
一比一原版(UCSB毕业证)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB毕业证)圣芭芭拉分校毕业证如何办理一比一原版(UCSB毕业证)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB毕业证)圣芭芭拉分校毕业证如何办理
 
Instant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School SpiritInstant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School Spirit
 
How Non-Banking Financial Companies Empower Startups With Venture Debt Financing
How Non-Banking Financial Companies Empower Startups With Venture Debt FinancingHow Non-Banking Financial Companies Empower Startups With Venture Debt Financing
How Non-Banking Financial Companies Empower Startups With Venture Debt Financing
 
一比一原版(UCL毕业证)伦敦大学|学院毕业证如何办理
一比一原版(UCL毕业证)伦敦大学|学院毕业证如何办理一比一原版(UCL毕业证)伦敦大学|学院毕业证如何办理
一比一原版(UCL毕业证)伦敦大学|学院毕业证如何办理
 
Independent Study - College of Wooster Research (2023-2024) FDI, Culture, Glo...
Independent Study - College of Wooster Research (2023-2024) FDI, Culture, Glo...Independent Study - College of Wooster Research (2023-2024) FDI, Culture, Glo...
Independent Study - College of Wooster Research (2023-2024) FDI, Culture, Glo...
 

Data Driven Dashboards For Economic and Policy Analysis

  • 1. DATA-DRIVEN DASHBOARDS FOR ECONOMIC/POLICY ANALYSIS Aditya Gupta 2011009 1
  • 2. OVERVIEW Overview of the BTP 
 (and Recap) IESS 2047 and Susanne wo(R)ldata Demo (Questions) Architecture 2 Life of a bug Key Challenges / Solutions Snippets / Pain Points Updates on Report Roadmap / Ideas / Todo
  • 3. OVERVIEW OFTHE BTP Started in Dec 2013, Niti Aayog IESS 2047 Susanne wo(R)ldata 3
  • 4. IESS 2047 http://www.indiaenergy.gov.in/, Energy Department Project Dashboard for policy makers focussing on long term energy sustainability. Offers demand vs. supply (renewable and non-renewable) policy handles (with 4 levels from status-quo to aggressive policy) See real-time 5-year graphical projections (upto 2047) Projections available for Environmental Impact, Import Dependency, Supply-Demand Maps, Land-use (and requirement), etc. 4
  • 5. CONTRIBUTIONTO IESS 2047 Was given a UK code version and an Indian Model (Excel) Was responsible for successful deployment of v1 for India in a 2- person engineering team Evaluated 5
  • 6. SUSANNE World Recession SUSceptibility ANalysis
 project taken under Statistical Computation with Dr. Ashwin Decided to study: Can we predict recession susceptibility (based on World Bank data)? What is recession susceptibility? Effect of econ. variables on Recession Susceptibility? Built a discretised SVM model with more than 90% accuracy Presented all results on susanne.bitballoon.com (no backend) 6
  • 7. WO(R)LDATA
 https://github.com/ca9/world-stats/ Concept: Be able establish statistical relationships between economic variables of choice within seconds. Why: Aids policy-making, preliminary analysis. Value Add: Easy and intuitive. No need to code, wrestle with data, or R (policy makers quite likely wont). Under the Hood: Powerful R models invoked. Graphing, Charts, Basic Analysis - all done for the user. 7
  • 8. QUESTION (DEMO) http://uakk127b233d.aditya11009.koding.io:5000/ Lets see how much Corruption and Education affect Income? 3. CC.PER.RNK 2. SE.XPD.TOTL.GD.ZS 16. NY.GNP.PCAP.CD 8
  • 9. (SHORT, PLACEHOLDER, QUICK AND DIRTY) ANSWERS Corruption percentile rank seems to be very highly associated with high Income. [High Percentile means low corruption]. It accounts for 55% of the variation in Income. LDA predicts Income Quintile with 61% accuracy based on just Corruption percentile. 9
  • 10. (AND MORE) ANSWERS In contrast, education expenditure shows no great linkage to Income. It accounts for roughly 1.4% variation in Income. Unsurprisingly, US and EU have the highest income levels. However, education expenditure level is more evenly distributed (Ex. Namibia)
 
 
 
 
 
 10
  • 11. OTHER QUESTIONS Does Income predict corruption!? How do these vary over the years? Takes a moment to find out… 11
  • 12. ANSWERS A lot more data is instantly unlocked. South African countries have very low corruption too. Income strongly related to low corruption too. Both values appear relatively 
 stable over the years. Income shows a slight upward trend. 12
  • 14. LIFE OF A BUG Result Indicator was not the chosen one (tried multiple indicators after a while) Did the angular code collect data correctly? Was the right request sent to the server? Did the flask server unpack correctly? Did it siphon data to R correctly? Am I reading R results correctly? Am I resending R data correctly? Am I unpacking back on the client correctly? Is this merely a library/directive bug? 14
  • 15. KEY CHALLENGES Flask-Angular Compatibility Theft and repeated loss of work Absence of a unix-only dev. machine (with 2GB+ RAM). 
 VM issues. Unforeseen Engineering/Design Challenges:
 ManagingYears, Countries, Asynchronisity (Dynamic Models), Data Formatting, Size of Data, Multi-software/library Dependencies, Manual Merges (From caching), Cookie Size, Continuous Classification, Default Behaviour, Redesigns
 
 Example: Dataframe Caching, NA removal support, Session/Caching redo. 15
  • 16. KEY SOLUTIONS Server Side sqlite Sessions koding.com, Flask, rpy2, pandas, wbdata
 flask-triangle Cached Result for Frontend Firebug (Scope), Flask Context,
 Angular-Debugger, Pycharm-debugger
  • 17. SOME OTHER PAIN POINTS 17
  • 19. EXPLANATIONS Possible causes of above error: Unicode issue. R. An R library (‘kvsm’,‘MASS’). Python (or Flask). 
 A Python library (like Pandas). Pycharm (or the Debugger).
 
 wbdata? rpy2? A bad int/float/str? Bad NA values? Data specific? Quintile variables? Exponentials? System[Socket Broken] - Out of Memory? 19
  • 20. UPDATES SINCE REPORT Added LDA. Added a world map, for visual effect. Cleaned up UI significantly, including
 selector for the map. Added PCA support (Unused) Tested SVM (currently not supported by backend). Set up aVM: 
 http://uakk127b233d.aditya11009.koding.io:5000/ Added a timeline average bar-graph 20
  • 21. TODO, ROADMAP, IDEAS Spreadsheets Plugin - export, and edit IndependentTools (Collector / Editing / R-Console) R Graphics (Non-interactive Bitmaps) Country/Subregion Selector. DissimilarYears. NA support. More Result windows. Greater granularity on results. Better variable accumulation and UI. 21
  • 22. – Aditya Gupta, 2011009 Thank you 22