dar4datascience
Menu

Open source & side work

Projects

Equal Earth Poipoi

R Shiny dashboard that compares the area of any two countries under Mercator (EPSG:3395) and Equal Earth (EPSG:8857) projections, overlays each country's Mercator outline on its true shape to quantify distortion (e.g. Greenland ~16×), and compares Latin America as a block against the United States. Projections are re-centred on each country's meridian to avoid antimeridian splits.

  • R
  • Shiny
  • sf
  • Geospatial
  • Posit Connect Cloud

Demo SNIIM Mexico

End-to-end retrieval example for Mexico's SNIIM market-price system (Secretaría de Economía): discovers available markets, builds date-range queries, downloads the HTML results and parses them into a clean pandas DataFrame with optional CSV export. Documented as a Quarto site.

  • Python
  • Web scraping
  • BeautifulSoup
  • pandas
  • Quarto

Catálogo Películas Biblioteca Vasconcelos

Data pipeline that turns the Biblioteca Vasconcelos film collection, published only as PDFs, into a searchable catalog: compares regex, Camelot and hybrid PDF table-extraction methods, enriches titles with TMDB/OMDb metadata and director filmographies, routes hard matches to fuzzy review, and publishes an interactive Quarto + ObservableJS site via GitHub Actions.

  • Python
  • PDF extraction
  • TMDB API
  • Quarto
  • ObservableJS
  • GitHub Actions

DuckDB Eurostat MCP Server

Model Context Protocol server that answers natural-language questions over Eurostat data by translating them to SQL and executing them with the DuckDB Eurostat extension (filter pushdown). Supports Anthropic, OpenAI, Azure OpenAI or local Ollama models, plus dataset discovery and schema inspection.

  • Python
  • MCP
  • DuckDB
  • LLM
  • Text-to-SQL

DuckDB INEGI Extension

Native DuckDB extension written in C++ that fetches statistical indicators from INEGI (Mexico's national statistics institute) APIs directly in SQL, with token-based authentication and JSON-Stat parsing.

  • C++
  • DuckDB
  • CMake
  • vcpkg
  • REST API

Catálogo VideoClub

Migration of a video-club catalog from an R/targets/Google Sheets pipeline to Python + Parquet: incremental Parquet lookup cache, title matching through an MCP server and OMDb/TMDB APIs, an interactive Quarto + ObservableJS site, and Playwright tests on the rendered output.

  • Python
  • Parquet
  • MCP
  • Quarto
  • ObservableJS
  • Playwright

Movie List Maker

Python app that processes videos of movie covers with spoken titles: OpenCV + Tesseract OCR and OpenAI Whisper extract titles, string-similarity validation reconciles them, and a numbered, timestamped list is published as a Quarto website on GitHub Pages.

  • Python
  • OpenCV
  • Tesseract OCR
  • Whisper
  • Quarto

Random YMList Worker

Cloudflare Worker that serves random YouTube Music playlist URLs by genre from a bundled markdown source, exposing a JSON API.

  • JavaScript
  • Cloudflare Workers
  • Serverless
  • REST API

Epoxy Shiny Demo

Movie explorer built with R Shiny, epoxy templating and bslib, compiled with shinylive so it runs entirely in the browser on GitHub Pages with no server.

  • R
  • Shiny
  • shinylive
  • WebAssembly
  • bslib

iCalendar Maker

Python utility that converts a JSON schedule of workshops into an .ics calendar with reminders, a Todoist import CSV, and a QR code for sharing.

  • Python
  • iCalendar
  • Automation

Datos Transporte CDMX

Open data pipelines for Mexico City public transport (Metrobús, then Metro).

  • Python
  • Open data
  • ETL

AWS SAM Cultura CDMX

Serverless data pipeline for Mexico City cultural events built with AWS SAM.

  • AWS SAM
  • Lambda
  • Serverless

Dynamic QR Code on a Shoestring

Low-cost dynamic QR code redirect service.

  • Serverless
  • Cost optimization

Demo Shiny Gemini

R Shiny application integrated with the Gemini API.

  • R
  • Shiny
  • Gemini

Observable Movie Showcase

Interactive movie data visualization with Observable.

  • JavaScript
  • Observable
  • Data viz

Measuring Inequality with Satellite Images

Research using NASA Black Marble (VNP46) night-light imagery to estimate inequality.

  • Remote sensing
  • Economics
  • Python