~/ctoruno

A Gallo Pinto Blog

21 posts

Rice and beans — a mix of different and sometimes opposite things. Random walk in action.

Series2 parts · 2025 · ongoing

Clustering public opinion

Finding groups of like-minded regions in the EUROVOICES survey data — from framing the problem to imputing missing answers with MICE.

Series6 parts · 2023—2024

Building a classification system

From gathering and labelling data to using LLMs as classifiers, ending with the EU Rule of Law Tracker.

Series2 parts · 2023—2024

Apps with Streamlit

Building small data apps in pure Python — from first widgets to wiring up Dropbox as remote storage.

Data Science · 10 min

Ok, but what do you mean by workflow?

I use the word workflow a lot when talking to people from other teams. And they are used to it by now, but they always aks me... what is the workflow?

GIS · 10 min

Simplification Algorithms in R

Geometry Simplification is a very helpful way to optimize the storage, processing, and visualization of your geographic data.

Data Science · 11 min

Character encodings and why you need to know about them

Working with text data can be fun, but also tricky. Always be careful of which encoding system you are using, specially if you are dealing with characters or graphemes unknown to the English alphabet.

GIS · 7 min

Exploding geometries with GeoPandas

Some geographical data sources include Taiwan as part of China. In this post, I show you how to split these territories without having to use other data source.

Series1 part · 2023 · ongoing

Data viz tutorials

Step-by-step builds of individual charts, one visualization at a time.

GIS · 9 min

Geocoding and visualizing address information with R

When dealing with online data, we frequently encounter information about locations. In this post, I will be showing you how to transform this information into geographical coordinates using R programming language.

Series3 parts · 2022

Webscrapping 101

Collecting data from the web with Python: how websites are structured, harvesting with requests, and automating browsers with Selenium.

Data Viz · 7 min

The Data Viz process

Coming up with the almost perfect visualization for your data is not easy task. In this post, I go through my Data Visualization process as part of my daily routine.