How to convert your R code into an API | Hacker News Reader