Pablo Hernández Borges
@pablohernandezb.bsky.social
40 followers 34 following 69 posts
Navigating the Imperium as a Political Scientist and a Computer Engineer, I decode the universe as a Data Scientist because "He who controls the data, controls the future." 🌐 http://pablohernandezb.dev
Posts Media Videos Starter Packs
Pinned
pablohernandezb.bsky.social
🚨 Job Market Announcement 🚨

I’m excited to share that I am officially on the academic job market (2025–2026)! 🎓

I recently earned my PhD in Political Science (Texas Tech University) and am currently teaching as Professor Ad Honorem at Universidad Simón Bolívar (VE).

🧵 A bit about my work ⬇️
pablohernandezb.bsky.social
💡 Have any other ideas or projects where you need to display data on a map?

📢 Do not hesitate to reach out, let's collaborate!

🧠 Let's keep learning and having fun with data, see you on a next #1Week1Project📅💻
pablohernandezb.bsky.social
I'm proud to share my Venezuelan culture. If you love maps, geography, or water science, please RT and let me know your favorite part of this map!

You can find the R code and other stuff for crafting this map on my GitHub repository:

📦 github.com/pablohernand...
GitHub - pablohernandezb/3D-painting-geo: Tutorial to create hydrologic maps in R
Tutorial to create hydrologic maps in R. Contribute to pablohernandezb/3D-painting-geo development by creating an account on GitHub.
github.com
pablohernandezb.bsky.social
I followed @milos-makes-maps.bsky.social 's tutorial on YouTube to craft this gorgeous map, a million thanks for sharing your knowledge!

The steps for creating the Switzerland map in the tutorial worked perfectly for Venezuela.

🔗 www.youtube.com/watch?v=pisw...
Why 3D Elevation Maps Are a Game Changer for Geography
YouTube video by Milos Makes Maps
www.youtube.com
pablohernandezb.bsky.social
Building the Venezuela hydrologic map was an R & RStudio masterpiece! 💻✨

I used the terra, elevatr, sf, geodata, rayshader, packages to process the river data, create the elevation model, and render the final 3D view.

What's your favorite R package for maps? 👇

#GIS🛰🗺
pablohernandezb.bsky.social
This map relies on a Coordinate Reference System (CRS) to be accurate! 📐🌐

If you're ever drowning in map projections , epsg.io is your lifesaver. It’s the essential, open-source database to look up any EPSG code.

#GIS #Mapping #GeoSpatial #EPSG #DataScience
pablohernandezb.bsky.social
The detail comes from HydroSHEDS data, mapped onto a 3D elevation model. This blend of science and art shows how elevation dictates every path water takes.

The Andes mountains⛰🏔 are clearly the source!

#Mapping #GIS #SciArt
pablohernandezb.bsky.social
📢 New Map Alert! Just finished this detailed 3D hydrologic map of Venezuela🇻🇪. See the country's rivers like never before!

It's time for another #1Week1Project📅💻, find out how you can make your own gorgeous map too!

Let's open a 🧵👇🏽

#HydrologicMap💧🗺
#DataArt🎨📊
pablohernandezb.bsky.social
Reflecting on the last year, I realized I haven't been to a restaurant in the last 7 months; that's right, I have eaten homemade food only. Last time I went to the movies was 11 months ago. My life turned upside down and I wonder if all this sacrifice is worth it.

#MyJourney
pablohernandezb.bsky.social
Hoje tem 300 dias praticando Português🇧🇷 no Duolingo.

Voçe quer falar comigo?

#WorldLanguages🌎💬
pablohernandezb.bsky.social
I have a Google Keep note where I write down all my research ideas and it keeps growing and growing, I wonder if I ever going to even complete at least half of them.

#Research🥼
#PoliticalScience🏛
a person is standing in a dark room with a blue light coming out of a circular object .
ALT: a person is standing in a dark room with a blue light coming out of a circular object .
media.tenor.com
pablohernandezb.bsky.social
💡 Which questions could be answered with this dataset?

📢 Do not hesitate to reach out, let's collaborate on a research project!

🗺️ Next week I think I'll explore some geographic data, there are interesting collections out there at the sub-national level

#1Week1Project📅💻
pablohernandezb.bsky.social
Before I leave, I want to thank Jesús Ojeda for his help at the beginning of this project, with his guidance I manage to understand how to scrape the data. It's good to have an amazing community of people to turn to for this kind of thing.
pablohernandezb.bsky.social
3️⃣json_to_csv.py: convert .json files to .csv to prepare them for data analysis on R
4️⃣generate_csv_by_election.py: produce .csv by election type
5️⃣collapse_data.py: collapse data by candidates
6️⃣append_csv.py: combine all .csv files obtained from the scraping process
pablohernandezb.bsky.social
Roughly speaking, these are the steps (and the scripts) I followed to obtain this dataset:

1️⃣circumscriptions_by_state.py: obtain the national and sub-national districts
2️⃣statescrape_election_type_X.py: scrape the data from the CNE
pablohernandezb.bsky.social
The two datasets include: (i) National Assembly, and regional with 6667 candidates (3066 females and 3601 males); and (ii) municipal with 15789 candidates, which include 7199 females and 8590 males. And there are 11 types of elections in this cycle.
pablohernandezb.bsky.social
I used Python with the AIOHTTP and AsyncIO libraries to communicate with the web server and iterate through all states, municipalities and districts to create JSON files for each type of election at the candidate-level.

#WebScraping
#DataCollection
pablohernandezb.bsky.social
Thank to Giuseppe Gangi and his video, I got the idea to collect this data using web scraping techniques. And I asked a colleague who helped me kickstart this project that could spark potential research of women ballot placement on authoritarian settings.

🔗 www.youtube.com/watch?v=_jfP...
pablohernandezb.bsky.social
Again, they didn't bring back up their official webpage and instead they used doe.postulaciones.org.ve/eanr2025 and doe.postulaciones.org.ve/em2025 to publish the list of candidates, of course these sites were temporal so I had to act quickly to collect the data.
pablohernandezb.bsky.social
The CNE, lacking transparency and autonomy, programmed this year the regional and parliamentary elections for May 25th and later the municipal elections for July 27th. The time for the campaign was cut short and it was just a few weeks in order to favor the regime.
pablohernandezb.bsky.social
Now, the CNE webpage only exists in the archives of the Wayback Machine, thanks to the @archive.org project. Unfortunately, not all data is there but at least this shows the time when they were supposedly attacked and never came back.
pablohernandezb.bsky.social
Timing was essential for data gathering, because the National Committee Council (CNE in Spanish, the electoral management body in Venezuela) reported they were under a cyberattack during last year's election, and their webpage hasn't been up since then

🔗 latinamericareports.com/venezuelas-e...
pablohernandezb.bsky.social
t's time for another #1Week1Project📅💻, this time I'll discuss the process of creating a dataset of electoral data using web scraping techniques.

This is part of the Gender Parity Analysis in Authoritarian Elections project that takes the country-case of Venezuela.
pablohernandezb.bsky.social
🔎 I am seeking opportunities as a Postdoctoral Researcher, or Assistant Professor in Political Science.

If you know of opportunities, please reach out or share this thread!

📧 [email protected]
🌐 pablohernandezb.dev
👔 www.linkedin.com/in/pablohern...
Pablo Hernandez Borges
Pablo Hernandez Borges's personal website. Data Scientist | AI & ML Modeler.
pablohernandezb.dev