solutions2/danube.scala
changeset 325 ca9c1cf929fa
parent 284 9a04eb6a2291
equal deleted inserted replaced
324:2969ee4a6cee 325:ca9c1cf929fa
     1 // Core Part about Movie Recommendations 
     1 // Core Part about Movie Recommendations 
     2 // at Danube.co.uk
     2 // at Danube.co.uk
     3 //========================================
     3 //========================================
     4 
     4 
       
     5 
       
     6 object CW7b { // for purposes of generating a jar
       
     7 
     5 import io.Source
     8 import io.Source
     6 import scala.util._
     9 import scala.util._
     7 
    10 
     8 object CW7b { // for purposes of generating a jar
       
     9 
    11 
    10 // (1) Implement the function get_csv_url which takes an url-string
    12 // (1) Implement the function get_csv_url which takes an url-string
    11 //     as argument and requests the corresponding file. The two urls
    13 //     as argument and requests the corresponding file. The two urls
    12 //     of interest are ratings_url and movies_url, which correspond 
    14 //     of interest are ratings_url and movies_url, which correspond 
    13 //     to CSV-files.
    15 //     to CSV-files.