I am trying to use the $in
command from the mongolite package in R:
list1 = ["430885","903587","565811","966761","963697","682921","565810","287862","951363"]
I am trying to put the following list into the find query.
sample3 <- data.frame(list(my_collection2$find('{"MatchId" : {"$in" : list1}}')))
So far i am always getting this error.
Error: Invalid JSON object: {"MatchId" : {"$in" : list1}}