Recently Published
R Project 2
Problem
Your client needs you to create a list object
using the json file located at https://tinyurl.com/dersgithub (under Week 3), assign to a variable called myquiz. Your R code must directly download the json file from Github. No manual downloading.
Write the following automated tests in R using stopifnot():
● The variable myquiz exists
● The variable myquiz is a list object
● There is only ONE first sub-level element in myquiz
● The name of the only first sub-level element is “quiz”
● All the sub elements "myquiz[[1]]$maths$q1$options"
should be successfully converted to numeric