
Rui Barros
Data journalist at PÚBLICO. I build the scrapers, models and interactives behind the stories, and teach data journalism and web development at Universidade Lusófona.
Recent work
All projects →- (opens in a new tab)
Kingmakers: Who Gains Power When Nobody Wins?
PÚBLICO · 2025 · R, Politics, Data Visualization
Analysis of "kingmaker" parties in Portuguese municipal elections where no party achieved absolute majority. Uses game theory concepts to identify which parties gain decisive power in coalition scenarios across 308 municipalities, revealing who truly holds the keys to local governance.
- (opens in a new tab)
Which Course is Right for You?
PÚBLICO · 2025 · Machine Learning, Education, AI
Interactive vocational guidance quiz using the RIASEC psychological model and machine learning to help students identify suitable university courses. Analyzes 60 questions against personality types and recommends Portuguese degree programs with compatibility scores.
- (opens in a new tab)
Electoral Dating
PÚBLICO · 2025 · Svelte, AI, Politics
Swipe right for tax cuts? Left for climate action? This interactive tool gamifies political engagement by transforming 6,000+ policy measures into a dating app experience for Portuguese voters. Using AI and data analysis, we created a 56-dimensional matching algorithm that makes discovering your political match fun and accessible.