Rex Parsons's Avatar

Rex Parsons

@rexwp.bsky.social

R development and heath data things (data scientist in digital health). rwparsons.github.io

319 Followers  |  838 Following  |  9 Posts  |  Joined: 28.10.2024  |  1.8448

Latest posts by rexwp.bsky.social on Bluesky

πŸ˜‚πŸ˜‚ love this engagement

08.05.2025 05:57 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I reckon this would be particularly helpful for teams that want to work on projects and have a defined structure to reduce cognitive overhead when switching between projects or reviewing code. Hopefully you do too!

08.05.2025 05:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The result is that I can run a few lines of code to get a new project started and on github with all my usual adjustments from the standard project setup that targets::init() gives you.

08.05.2025 05:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - adha-rex/targets-template Contribute to adha-rex/targets-template development by creating an account on GitHub.

There are a few at the moment that I frequently use: one for a basic targets template, and a couple specific to forecasting. The forecasting template is on a private repo but the basic targets pipeline isn't (github.com/adha-rex/tar...).

08.05.2025 05:34 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Leaning a bit on how I would do the same thing with internal R packages, I now have released versions on GitHub for project templates for a given purpose and this allows me to pull the latest version and track that within projects.

08.05.2025 05:34 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

At my work, we are often delivering on many projects with pretty short timelines. I still like to code in R and have a nice structure to my project, no matter it's size, so I've spent a bit of time streamlining how to get these projects started quickly. Here's my trick...

08.05.2025 05:33 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 1
Preview
predictNMB/R/utils.R at master Β· ropensci/predictNMB Contribute to ropensci/predictNMB development by creating an account on GitHub.

I had this (very surprising) issue before and my solution was to use all.equal() instead.

github.com/ropensci/pre...

03.04.2025 21:05 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Has to beat your interest rate plus your interest rate * your marginal tax rate (if your investment is income producing or if there aren't some other tax breaks associated with it).

02.12.2024 07:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Liking the positive vibes of BlueSky so far but finding it tricky to find my πŸ‡¦πŸ‡Ί stats peeps.

Thought I'd try a starter pack to help us find each other. Here's who I've found so far.

Let me know if you'd like to be added #StatsSky

go.bsky.app/QGgfiQV

26.11.2024 08:44 β€” πŸ‘ 48    πŸ” 12    πŸ’¬ 11    πŸ“Œ 1

New paper on falls risk prediction led by @rexwp.bsky.social. Predicting falls risk in hospital tends to be time-intensive for clinicians, so we wanted to see whether we could achieve similar predictive performance with routine EMR data. Using Cox models actually led to BETTER discrimination (1/2)

19.11.2024 04:08 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Read Hospital Data From the Australian Institute Of Health And Welfare Using The MyHospitals API Uses the MyHospitals API so that hospital data from the AIHW can be accessed from R.

Since absolutely nobody asked for it, I went ahead and made a package for the MyHospitals API: rwparsons.github.io/readaihw/
Very keen to be responsive to feedback and build out features which users will find helpful so please give it a go and let me know what you would like to see!

14.11.2024 07:33 β€” πŸ‘ 9    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

@rexwp is following 20 prominent accounts