inst/testRecommend2.R

source("R/getRecommendations.R")
load("data/recommender.rda")

jsondata <- '[{"rating1": [126,5]}, {"rating1": [156,3]}, {"rating1": [566,2]}]'

getRecommendations(jsondata)
paulij/recommendMovies documentation built on May 24, 2017, 1:40 a.m.