SlideShare a Scribd company logo
1 of 22
Download to read offline
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

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.pdfGary 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 2011Nati 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 UAEUZiyad Saleh
 
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 IIDeakin 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).pptxzuzz1
 
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 2019Alan Quayle
 
2951085 dzone-2016guidetobigdata
2951085 dzone-2016guidetobigdata2951085 dzone-2016guidetobigdata
2951085 dzone-2016guidetobigdatabalu 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, & DevOpsDavid Rico
 
Resume - Abhishek Ray-Mar-2016 - Ind
Resume - Abhishek Ray-Mar-2016 - IndResume - Abhishek Ray-Mar-2016 - Ind
Resume - Abhishek Ray-Mar-2016 - IndAbhishek Ray
 
Model-Driven Spreadsheet Development
Model-Driven Spreadsheet DevelopmentModel-Driven Spreadsheet Development
Model-Driven Spreadsheet DevelopmentJá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 WorkIRJET Journal
 

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

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
 
Inspector Gadget 2023 - CalCPA.pdf
Inspector Gadget 2023 - CalCPA.pdfInspector Gadget 2023 - CalCPA.pdf
Inspector Gadget 2023 - CalCPA.pdf
 

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 IndiaAditya 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 thingAditya Gupta
 
Multi Agent Systems presentation
Multi Agent Systems presentationMulti Agent Systems presentation
Multi Agent Systems presentationAditya 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 TranslationAditya 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 ProjectAditya 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

Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...ssifa0344
 
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service AizawlVip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawlmakika9823
 
Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex
 
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130Suhani Kapoor
 
Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]Commonwealth
 
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptxFinTech Belgium
 
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptxFinTech Belgium
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...makika9823
 
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
How Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingHow Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingAggregage
 
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779Best VIP Call Girls Noida Sector 18 Call Me: 8448380779
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779Delhi Call girls
 
Dividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptxDividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptxanshikagoel52
 
20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdfAdnet Communications
 
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130 Available With Room
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130  Available With RoomVIP Kolkata Call Girl Jodhpur Park 👉 8250192130  Available With Room
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130 Available With Roomdivyansh0kumar0
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignHenry Tapper
 
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...ssifa0344
 
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsHigh Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Q3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast SlidesQ3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast SlidesMarketing847413
 
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...shivangimorya083
 
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...Pooja Nehwal
 

Recently uploaded (20)

Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
 
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service AizawlVip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
 
Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024
 
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
 
Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]
 
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
 
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
 
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
 
How Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingHow Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of Reporting
 
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779Best VIP Call Girls Noida Sector 18 Call Me: 8448380779
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779
 
Dividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptxDividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptx
 
20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf
 
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130 Available With Room
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130  Available With RoomVIP Kolkata Call Girl Jodhpur Park 👉 8250192130  Available With Room
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130 Available With Room
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaign
 
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
 
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsHigh Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
Q3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast SlidesQ3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast Slides
 
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
 
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...
 

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