's Avatar

@pgdataviz.bsky.social

Statistical Programmer (Epidemiologist by training) using #Rstats and #Python mostly. #DataScience #Dataviz https://pgdatavizandstats.netlify.app/

18 Followers  |  18 Following  |  12 Posts  |  Joined: 28.06.2025  |  1.5792

Latest posts by pgdataviz.bsky.social on Bluesky

07.08.2025 08:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

#tidytuesday

05.08.2025 20:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A graph showing income inequality between first would countries

A 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

05.08.2025 16:52 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

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

29.07.2025 15:33 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
A screenshot of New York mapping out the Artworks displayed on MTA services

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

23.07.2025 08:34 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1

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    πŸ“Œ 0

One 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

18.07.2025 13:02 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
A visualisation of the Proportion of British Library Funding

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

15.07.2025 18:08 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

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

09.07.2025 08:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

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    πŸ“Œ 0
Tidy Tuesday Graph

Tidy 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

01.07.2025 17:22 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

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

@pgdataviz is following 18 prominent accounts