This is a proof of concept for running R-based web APIs from plumber. There are two main components to the project:
- R package: Containing package code and separate api endpoints (in inst directory).
Dockerfile
: An image, based on the plumber image that installs the package and starts the plumber process.
An example of a website using the API is at: dougashton.net/holidaycalc. For now the API isn't well documented.
There's a simple GET endpoint that I use to test it's working at https://api.dougashton.net/pb/hols/now