This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
View analytic
Thursday, July 6 • 11:54am - 12:12pm
jug: Building Web APIs for R

Sign up or log in to save this to your schedule and see who's attending!

Feedback form is now closed.
Keywords: REST, API, web, http
Webpages: https://CRAN.R-project.org/package=jug, https://github.com/Bart6114/jug
jug is a web framework for R. The framework helps to easily set up API endpoints. Its main goal is to make building and configuration of web APIs as easy as possible, while still allowing in-depth control over HTTP request processing when needed.
A jug instance allows one to expose solutions developed in R to the web or and/or applications communicating over HTTP. This way, other applications can gain access to, e.g. custom R plotting functions or generate new predictions based on a trained machine learning model.
jug is build upon httpuv. This results in a stable and robust back-end. Recently, endeavors have been made to allow a jug instance to process requests in parallel. The GitHub repository includes a Dockerfile to ease productionisation and containerisation of a jug instance.
During this talk, a tangible reproducible example of creating an API based on a machine learning model will be presented and some of the challenges and experiences in exposing R based results through an API will be discussed.


Thursday July 6, 2017 11:54am - 12:12pm
4.02 Wild Gallery

Attendees (207)