If you try to run the course data scraper (Rscript scrape-course-data.r) without first creating the folder course-info-jsonfiles/, the script will encounter the following error:
Error in writeLines(prettify(toJSON(full.course.strings)), file.connection) :
cannot open the connection
In addition: Warning message:
In writeLines(prettify(toJSON(full.course.strings)), file.connection) :
cannot open file 'course-info-jsonfiles/ENCS_full-course-info.json': No such file or directory
Execution halted
Suggested fix: the script should create the folder before trying to put files into it.
If you try to run the course data scraper (
Rscript scrape-course-data.r
) without first creating the foldercourse-info-jsonfiles/
, the script will encounter the following error:Suggested fix: the script should create the folder before trying to put files into it.