“Building an R API for Randomization: Challenges and Insights from ‘Unbiased’
Building an R API for Randomization: Challenges and Insights from ‘Unbiased’
Speaker: Kamil Sijko, Transition Technologies Science
Description:
How far can you push R when building a production-grade API? In this talk, I’ll share the journey of creating Unbiased, an API designed for patient randomization in clinical trials. While it’s built in R using Plumber, making it robust, validated, and developer-friendly posed several challenges.
I’ll cover key technical aspects, including:
- Validating a randomization algorithm in R – when multiple agents are involved, standard testing approaches fall short.
- Scaling an R-based API – tuning performance, Dockerizing, and making it production-ready.
- Developer-first approach – why we designed Unbiased for external developers, not just R users.
- Open source in a commercial setting – lessons learned from making a company-backed tool open to the community.
- Feedback from real-world use – what we learned and what’s next.
Whether you’re an R developer, data scientist, or someone interested in API development, this session will offer practical insights and challenges from taking R beyond data analysis and into production.
Join us for a discussion on what works, what doesn’t, and where R shines (or struggles) in real-world API development!