inst/testRecommend.R

jsonString <- "[[126,5], [156,3], [566,2], [1333,4], [1660,5],
 [2126,3], [3126,2], [4126,5], [5126,3], [6126,1], [7126,5], [8000,2], [8007,3],
 [8100,3], [8200,4], [8300,5], [8310,4], [8320,5], [8330,1]]"

source("R/getRecommendations.R")
load("data/recommender.rda")
getRecommendations(jsonString)
paulij/recommendMovies documentation built on May 24, 2019, 8:44 p.m.