To deploy to openCPU
Downloaded from openCPU. Copy of t4openCPUapp essentially.
Github repository. https://github.com/paulij/tvAppR.git
Webhook API https://www.opencpu.org/api.html#api-ci
https://developer.github.com/webhooks/
https://public.opencpu.org/ocpu/github/paulij/tvAppR/
https://public.opencpu.org/ocpu/webhook
curl https://demo.ocpu.io/tvscore/R/tv/json \ -H "Content-Type: application/json" \ -d '{"input" : [ {"age":26, "marital" : "MARRIED"}, {"age":41, "marital":"DIVORCED"}, {"age":53, "marital":"NEVER MARRIED"} ]}'
https://demo.ocpu.io/tvscore/R/tv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.