๐ก 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
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
๐ก 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๐
๐ป
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 ๐
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...
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...
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๐ฐ๐บ
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
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
๐ข 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๐จ๐
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
Hoje tem 300 dias praticando Portuguรชs๐ง๐ท no Duolingo.
Voรงe quer falar comigo?
#WorldLanguages๐๐ฌ
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๐
๐ก 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๐
๐ป
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...
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 ๐ 03๏ธโฃ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
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
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 ๐ 0I 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
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...
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 ๐ 0The 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 ๐ 0Now, 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 ๐ 0Timing 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...
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.
๐ 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...
๐จโ๐ซ 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.
๐ 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
๐ 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.
๐จ 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 โฌ๏ธ
๐ก 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๐
๐ป