Pablo Hernรกndez Borges's Avatar

Pablo Hernรกndez Borges

@pablohernandezb.bsky.social

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

39 Followers  |  34 Following  |  69 Posts  |  Joined: 26.10.2023  |  2.2202

Latest posts by pablohernandezb.bsky.social on Bluesky

๐Ÿ’ก 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๐Ÿ“…๐Ÿ’ป

09.10.2025 16:57 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Mapping Worlds with R: Your Journey from Beginner to Data Cartographer Whether youโ€™re a total newcomer to coding or an experienced analyst whoโ€™s never made a map, Mapping the World with R turns โ€œI-wish-I-could-do-thatโ€ into โ€œI-just-did-that.โ€ In crisp and straightforward...

I am also looking forward to read Dr. Milos Popovic's e-book "Mapping Worlds with R: Your Journey from Beginner to Data Cartographer".

I believe it will be very useful for my research and communicate findings.

๐Ÿ“˜ payhip.com/b/MH9Ot

You can get it here ๐Ÿ‘‡

09.10.2025 16:57 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
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.

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...

09.10.2025 16:57 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Why 3D Elevation Maps Are a Game Changer for Geography
YouTube video by Milos Makes Maps Why 3D Elevation Maps Are a Game Changer for Geography

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...

09.10.2025 16:57 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

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๐Ÿ›ฐ๐Ÿ—บ

09.10.2025 16:57 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

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

09.10.2025 16:57 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

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

09.10.2025 16:57 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

๐Ÿ“ข 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๐ŸŽจ๐Ÿ“Š

09.10.2025 16:57 โ€” ๐Ÿ‘ 16    ๐Ÿ” 3    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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

24.09.2025 15:36 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Hoje tem 300 dias praticando Portuguรชs๐Ÿ‡ง๐Ÿ‡ท no Duolingo.

Voรงe quer falar comigo?

#WorldLanguages๐ŸŒŽ๐Ÿ’ฌ

21.09.2025 00:41 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
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 .

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๐Ÿ›

21.09.2025 00:41 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

๐Ÿ’ก 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๐Ÿ“…๐Ÿ’ป

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
GitHub - pablohernandezb/gender-parity-eanrm2025: A data-driven project analyzing gender parity in Venezuelaโ€™s 2025 National Assembly, regional, and municipal elections. Includes code, datasets, and t... A data-driven project analyzing gender parity in Venezuelaโ€™s 2025 National Assembly, regional, and municipal elections. Includes code, datasets, and tools for transparency and research. - pablohern...

You can find the GitHub repository here, please feel free to provide comments, this is just a preliminary analysis and more is to come in the coming weeks.

๐Ÿ“ฆโฌ‡๏ธ: github.com/pablohernand...

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

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.

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image Post image

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.

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image Post image

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

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

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...

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image Post image Post image

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.

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image Post image

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.

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

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.

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

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...

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image Post image

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.

01.09.2025 16:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Pablo Hernandez Borges Pablo Hernandez Borges's personal website. Data Scientist | AI & ML Modeler.

๐Ÿ”Ž 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!

๐Ÿ“ง pablo.hernandez.borges@gmail.com
๐ŸŒ pablohernandezb.dev
๐Ÿ‘” www.linkedin.com/in/pablohern...

25.08.2025 19:05 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

๐Ÿ‘จโ€๐Ÿซ Teaching is central to my career.

I have taught:

- Comparative Politics
- Political Analysis (with R and Stata workshops)
- Latin American Politics
- Political Science & Video Games

Both in-person and online, across the U.S. and Venezuela.

25.08.2025 19:05 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

๐Ÿ“ Recent work includes:

- A chapter in Routledgeโ€™s Authoritarian Consolidation in Times of Crisis: Venezuela under Maduro (2025).
- Projects on authoritarian electoral engineering using a dataset of 142 million observations.
- The Republic of Sartenejas, a political simulation project

25.08.2025 19:05 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

๐Ÿ“Š My research explores comparative politics, authoritarianism, and democratic backsliding, with a strong focus on Latin America.

I combine computational methods (NLP, LLMs, network analysis) and traditional approaches to study elections, discourse, and representation.

25.08.2025 19:05 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

๐Ÿšจ 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 โฌ‡๏ธ

25.08.2025 19:05 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

๐Ÿ’ก Have any other ideas or projects where you need coding or improvement?

๐Ÿ“ข Do not hesitate to reach out, let's collaborate!

๐Ÿ“ท Thanks to the British Library and Nick Monica for their pictures, published on @unsplash.com, which I used to make this thread.

#1Week1Project๐Ÿ“…๐Ÿ’ป

24.08.2025 18:01 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@pablohernandezb is following 19 prominent accounts