knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE)
The goal of keenr
is to provide a set of tools to easily retrieve data from the keen.io rest API. Keen.io already has a Python API binding, so depending on your needs it may be worth looking into reticulate
.
You can install keenr
directly from GitHub
devtools::install_github("plduffy/keenr")
Once you have keenr
installed you'll need to set both your Read Key and Project ID from Keen.io as env vars.
Sys.setenv(keen_project_id = "your_project_id") Sys.setenv(keen_read_key = "your_read_key")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.