I'm trying to read "arxiv-metadata-oai-snapshot.json" in R from this website: https://www.kaggle.com/Cornell-University/arxiv?select=arxiv-metadata-oai-snapshot.json I have already downloaded the data and renamed the file "arxiv.json".
With the help of the "jsonlite" package in R, I'm trying to read "arxiv.json" but it is just not possible:
library(jsonlite)
arxiv <- fromJSON(file = "C:/Users/caproki/Downloads/arXiv Dataset/arxiv.json")
I get the following error:
Error in parse_con(txt, bigint_as_char) : parse error: trailing garbage
",""],["Yuan","C. -P.",""]]} {"id":"0704.0002","submitter":"
(right here) ------^
What could I do? Thanks in advance!