Tim's Avatar

Tim

@talbtree

healthcare data analyst. Enjoy Twenty20 cricket (esp Women’s!), nfl and college football #rstats

209
Followers
173
Following
65
Posts
25.08.2023
Joined
Posts Following

Latest posts by Tim @talbtree

Check now - should be good! I accidentally had the GitHub actions finishing in December, oops. Let me know if any issues!
Send me whatever you make or analyse too!

17.01.2026 00:54 👍 1 🔁 0 💬 1 📌 0

Oh weird. I’ll have a look tonight. I get an error email when it doesn’t scrape correctly and haven’t received any. I’ll check it out!

17.01.2026 00:16 👍 0 🔁 0 💬 1 📌 0

Don’t need to see my model to see Curran’s very high impact! 4-10 from his 4 overs

13.01.2026 09:03 👍 0 🔁 0 💬 1 📌 0
Post image

Wonder if my T20 win probability models work live at the game?
#BBL15

13.01.2026 08:16 👍 0 🔁 0 💬 1 📌 0

Will miss Alyssa Healy! A genuine superstar of the game.
Will be very glad to hear her insights in the commentary box!

13.01.2026 03:02 👍 2 🔁 0 💬 0 📌 0
GitHub - albtree/cricreadR: A package of functions to read in Women's and Men's T20 and The Hundred cricket ball by ball data, and player statistics or scrape ball by ball data from ESPN CricInfo A package of functions to read in Women's and Men's T20 and The Hundred cricket ball by ball data, and player statistics or scrape ball by ball data from ESPN CricInfo - albtree/cricreadR

You bet! Developed & maintained by myself :)
There's also the cricketdata package which reads in data from cricsheet.org, but cricsheet.org only seems to update once a week or so as opposed to daily, which is why I developed cricreadR.
github.com/albtree/cric...

github.com/robjhyndman/...

21.11.2025 02:04 👍 1 🔁 0 💬 1 📌 0
Scatter plot Batting statistics. Non Boundary Strike Rate X axis with higher to the right. Boundary % on Y axis with higher up. Meg Lanning middle top. Wareham and Wyatt-Hodge middle top right

Scatter plot Batting statistics. Non Boundary Strike Rate X axis with higher to the right. Boundary % on Y axis with higher up. Meg Lanning middle top. Wareham and Wyatt-Hodge middle top right

Batting Statistics - Non Boundary Strike Rate x Boundary %
Our 3 impact leaders in Lanning/Wareham/Wyatt-Hodge all featuring prominently top right again.
Also Georgia Wareham sighting number 3 - truly making a mark on both sides of the game

3/3

#WBBL

20.11.2025 23:59 👍 3 🔁 0 💬 0 📌 0
Scatter plot. X axis dots bowled with higher amount to the right. Y Axis boundary % against with lower amount up. Sophie Ecclestone, AJ Wellington, and Darcie Brown top right.

Scatter plot. X axis dots bowled with higher amount to the right. Y Axis boundary % against with lower amount up. Sophie Ecclestone, AJ Wellington, and Darcie Brown top right.

Bowling Statistics - Dots Bowled % x Boundary % against
The Strikers trio of Wellington, Brown, and Ecclestone is so damn efficient. Good luck scoring runs for those 12 overs a match!
Georgia Wareham sighting number 2

2/3

#WBBL

20.11.2025 23:59 👍 2 🔁 0 💬 1 📌 0
Total impact per game chart. X axis = balls faced or bowled per game. Y axis = total impact per game. Meg Lanning top right, following by Georgia Wareham and Danni Wyatt-Hodge

Total impact per game chart. X axis = balls faced or bowled per game. Y axis = total impact per game. Meg Lanning top right, following by Georgia Wareham and Danni Wyatt-Hodge

Almost halfway through the regular season for the Women's Big Bash League #WBBL - time for some charts from the #cricreadR package.
Very much love following this league!

Total impact per game by total balls faced or bowled - Meg Lanning is such a beast
Georgia Wareham sighting number 1
1/3

20.11.2025 23:59 👍 3 🔁 0 💬 2 📌 0
Preview
Changelog

#nflverse news: we've just published nflreadr v1.5.0 to CRAN in time for the new season 🎉

It comes with a few 🚨breaking changes🚨 to core functions, of note:

- load_players()
- load_player/team_stats()
- load_depth_charts()
- load_participation()

Full changelog here, details in thread 🧵

02.09.2025 17:19 👍 34 🔁 8 💬 4 📌 3

Keep in mind that the sample for these are a lot lower than for MLB where teams play 162 games per season, so there is a bit of a team component here given teams have home grounds i.e. if a team is good year on year then their home ground will likely rate higher

20.08.2025 00:34 👍 0 🔁 0 💬 1 📌 0
Post image Post image

Wanted to compare how different cricket grounds produce different scores. Utilised a similar methodology as Baseball - see link - however used strike rate.

Give the Hundred is on currently, makes most sense to present the Women's and Men's 100 Park Factors
www.mlb.com/glossary/adv...

20.08.2025 00:34 👍 3 🔁 1 💬 1 📌 0
Preview
White Ball Analytics A website that uses statistics to explore cricket and other sport; one day matches, T20, IPL. Uses analytical tools such as Runs Added and Wins Added to understand the impact of individual players on ...

Nothing really forward facing for WP models either. My pkg cricreadr has one but has similar issues as others - eg the unpredictability in the last few overs (and first few). All similar - balls/wickets remaining + target. There are some good articles on this website - www.whiteballanalytics.com

18.08.2025 22:25 👍 0 🔁 0 💬 1 📌 0
Preview
batting This app was built in Streamlit! Check it out and visit https://streamlit.io for more awesome community apps. 🎈

@danny.page nothing like PFF exists where with a (affordable) subscription you can scroll advanced stats. Cricinfo is pretty much the only place that exists.

t20bat.streamlit.app by Himanish probably comes closest to PFF - can breakdown player stats - it’s all just cricinfo manipulated data 1/2

18.08.2025 22:22 👍 0 🔁 0 💬 1 📌 0
Screenshot of a successful GitHub action being pushed to cricreadR

Screenshot of a successful GitHub action being pushed to cricreadR

Due to Cricinfo API changes cricreadr previously hadn’t ingested any new matches since October 2024. I’ve now fixed this! 🎉🥳

Data is now being updated again on a daily basis for the *main* T20 competitions being played:

github.com/albtree/cric...

15.08.2025 00:52 👍 5 🔁 0 💬 0 📌 0

Thanks, I was wondering!

21.07.2025 11:22 👍 1 🔁 0 💬 0 📌 0
Variable name comparison of v1 and v2 nflverse players data.

Variable name comparison of v1 and v2 nflverse players data.

Rare breaking change in the #nflverse!

`nflreadr::load_players()` now loads v2 players data.

During the process of the rewrite I decided to rename some variables for consistency and removed some irrelevant variables. Please see the below table for a detailed comparison of old and new data.

17.07.2025 19:33 👍 19 🔁 6 💬 2 📌 1

That function naming is gold

17.07.2025 07:35 👍 1 🔁 0 💬 0 📌 0
Post image

My first post on my new site is now available!

02.07.2025 16:15 👍 5 🔁 2 💬 1 📌 0

Suppose every baguette molecule is a data point, the whole loaf obviously has a negative correlation and each slice obviously has a positive correlation. Should think of simpson's paradox as a kind of selection bias. Every time you cut a data set you cut along some sort of shape.

01.07.2025 22:15 👍 46 🔁 7 💬 3 📌 2

Wild

01.07.2025 05:24 👍 2 🔁 1 💬 0 📌 0

Wow this looks horrendous

01.07.2025 00:18 👍 0 🔁 0 💬 0 📌 0
Post image

Was taking a look at the college RTMs done by @talbtree.bsky.social

There are 3 players drafted in the top 10 of the NFL draft with a 99+ Overall Score...

16.05.2025 01:34 👍 5 🔁 1 💬 0 📌 0
Science abstract: POLICING
High-frequency location data show that race affects citations and fines for speeding
Pradhi Aggarwal1, Alec Brandon2*, Ariel Goldszmidt3, Justin Holz4, John A. List3, Ian Muir5, Gregory Sun6, Thomas Yu7
Prior research on racial profiling has found that in encounters with law enforcement, minorities are punished more severely than white civilians. Less is known about the causes of these encounters and their implications for our understanding of racial profiling. Using high-frequency location data of rideshare drivers in Florida (N = 222,838 individuals), we estimate the effect of driver race on citations and fines for speeding using 19.3 million location pings. Compared with a white driver traveling the same speed, we find that racial or ethnic minority drivers are 24 to 33% more likely to be cited for speeding and pay 23 to 34% more money in fines. We find no evidence that accident and reoffense rates explain these estimates, which suggests that an animus against minorities underlies our results.

Science abstract: POLICING High-frequency location data show that race affects citations and fines for speeding Pradhi Aggarwal1, Alec Brandon2*, Ariel Goldszmidt3, Justin Holz4, John A. List3, Ian Muir5, Gregory Sun6, Thomas Yu7 Prior research on racial profiling has found that in encounters with law enforcement, minorities are punished more severely than white civilians. Less is known about the causes of these encounters and their implications for our understanding of racial profiling. Using high-frequency location data of rideshare drivers in Florida (N = 222,838 individuals), we estimate the effect of driver race on citations and fines for speeding using 19.3 million location pings. Compared with a white driver traveling the same speed, we find that racial or ethnic minority drivers are 24 to 33% more likely to be cited for speeding and pay 23 to 34% more money in fines. We find no evidence that accident and reoffense rates explain these estimates, which suggests that an animus against minorities underlies our results.

missed this last month: data science informing psych, sociology, polisci

in Lyft data (222K drivers), Black or minority drivers get speeding tickets 1/3 more often **when they are known to be going the same speed**

beautiful work, it's racial profiling, case closed

www.science.org/doi/10.1126/...

09.05.2025 04:42 👍 111 🔁 46 💬 2 📌 5

I used my monthly bluesky open for good then 😂

05.05.2025 21:35 👍 1 🔁 0 💬 0 📌 0

The music is very soothing!

05.05.2025 21:28 👍 1 🔁 0 💬 1 📌 0

These look great! Will follow along tomorrow

24.04.2025 06:48 👍 1 🔁 0 💬 0 📌 0

“Analyzing Baseball Data with R” book club ⚾️

Dive into baseball analytics with us! Perfect for beginner (to advanced) R coders who want to explore sabermetrics. #rstats

Join us by sharing your availability here: dslc.io/bookclubber?... (If it asks for a URL for the slack it’s dsclio.slack.com)

31.03.2025 15:01 👍 15 🔁 3 💬 4 📌 2
Post image

😭

25.03.2025 23:33 👍 0 🔁 0 💬 0 📌 0
Scatter plot for top 20 bowlers by balls bowled in the 2025 Women's Indian Premier League cricket competition. X axis is dot balls bowled %. Y axis is boundary % against. Both axes are reversed so best remains top right. Shabnim Ismail and Shikha Pandey are the top 2 bowlers in the top right.

Scatter plot for top 20 bowlers by balls bowled in the 2025 Women's Indian Premier League cricket competition. X axis is dot balls bowled %. Y axis is boundary % against. Both axes are reversed so best remains top right. Shabnim Ismail and Shikha Pandey are the top 2 bowlers in the top right.

Scatter plot for top 20 batters by balls facedin the 2025 Women's Indian Premier League cricket competition. X axis is non boundary strike rate. Y axis is boundary %. Annabel Sutherland and Sarah Bryce are middle right leading the way in non boundary strike rate over 5. Richa Ghosh is top middle leading the way in boundary % at about 40%

Scatter plot for top 20 batters by balls facedin the 2025 Women's Indian Premier League cricket competition. X axis is non boundary strike rate. Y axis is boundary %. Annabel Sutherland and Sarah Bryce are middle right leading the way in non boundary strike rate over 5. Richa Ghosh is top middle leading the way in boundary % at about 40%

My cricket R package (github.com/albtree/cric...) has been out of action since October after an API change. Have finally started working on it again. Popped out some Women's Premier League charts from some old code.

18.02.2025 21:50 👍 2 🔁 2 💬 0 📌 0