source("R/getRecommendations.R")
load("data/recommender.rda")
jsondata <- '[{"rating1": [126,5]}, {"rating1": [156,3]}, {"rating1": [566,2]}]'
getRecommendations(jsondata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.