import in R json file from drive

81 views Asked by At

I have few json files on google drive and i'm trying to import them into R. the code used is:

json_file <- "name_of_the_link"
json_data <- fromJSON(paste(readLines(json_file), collapse=""))

and I receive this message: Error in file(con, "r") : cannot open the connection

0

There are 0 answers