@pgdataviz.bsky.social
Statistical Programmer (Epidemiologist by training) using #Rstats and #Python mostly. #DataScience #Dataviz https://pgdatavizandstats.netlify.app/
#tidytuesday
05.08.2025 20:49 β π 1 π 0 π¬ 0 π 0A graph showing income inequality between first would countries
I've been cursing out my Propensity Score Matching project all week at work so a very brief #TldyTuesday and #PyDyTuesday. If I have time I'll try and do a better job.
Code here: pgdatavizandstats.netlify.app/data_visuali...
#python | #dataviz | #rstats
Anyone got any useful guides on Network Meta-Analysis in R?
Context I have done 1 in my life and despised it and swore I would never do one again. Alas that was not to be.
If I could avoid WINBUGS entirely that would be great
#rstats #episky
A screenshot of New York mapping out the Artworks displayed on MTA services
Created an Interactive map with Folium of all the New York MTA artworks for #TIdyTuesday and #PyDyTuesday
#python | #dataviz | #gis
Code here: pgdatavizandstats.netlify.app/data_visuali...
It's not perfect and I can't switch back and forth from landscape to portrait but it does mean a much nicer report
18.07.2025 13:02 β π 1 π 0 π¬ 0 π 0One of things that's stopped me using Quarto full time as opposed to officeR and an R script is the need to use loops to repeat image and table production.
I've now worked out how to run a loop within an R code chunk and images, tables as the loop runs so I get a nice doc
#Quarto #rstats #python
A visualisation of the Proportion of British Library Funding
Back to ggplot2 because I was in a rush. British Library Funding
Significant downturn in funding post 2010. As prospective employers may see this one day, I don't speculate on the reason.
code here: pgdatavizandstats.netlify.app/data_visuali...
#RStats | #TidyTuesday | #DataViz
So if I build the quarto doc in studio it will render fine.
If I do it in positron I will get issues like "can't find quarto version on your pc".
Mate it's there it works on RStudio. Fiddly stuff like that that I could probably solve but I just find it easier to fire up RStudio
I do use it and would like to use it more, but I use Quarto/RMarkdown a lot and RStudio runs better with those two. I tend to get errors that I wouldn't rendering the same doc in RStudio.
08.07.2025 15:38 β π 1 π 0 π¬ 1 π 0Tidy Tuesday Graph
Anyway, tried something a bit more advanced this week, building a Model in Python to predict petrol (Americans it's a liquid - your name is stupid) prices.
Borrowed heavily from here shorturl.at/3q1BR
code here: pgdatavizandstats.netlify.app/data_visuali...
#Python | #TidyTuesday | #PyDayTuesday
So I've split out the "Data Science/R Programmer/Python" part of my "main" profile because I found the fact people may be following me for Data content and just seeing relentless posts about Welsh rugby.
01.07.2025 17:22 β π 2 π 0 π¬ 1 π 0