Making APIs with R Plumber: Examples and Tips

R is my go to language for statistical analysis. However, I do not enjoy working with R shiny to develop web applications. I find that the code becomes convoluted very quickly and I have never been able to complete large projects using it.

Gladly, we have R Plumber - a package that makes ridiculously simple to create APIs with simple R code. In this small post I will go through some examples on how to build R plumber APIs.

  1. GET and POST requests
  2. Serialization