Closed m-santh closed 4 years ago
The difference between find()
and iterate()
is that the former tries to convert the result in a big data frame, whereas the latter gives you lists.
You example code is not clear enough to understand for me what is going on. I don't see any NA's in your example output. If you want me to help, you need to provide example code that creates a demo collection with dummy data so that I can reproduce the problem.
I am not able to covert the output of iterator to the similar dataframe as find. I want to use similar to output of find with correct values
Why not? You can use the from the iterate output to build up the data frame?
MongoDB have a multiple nested arrary. When i use find to get the record, of of the arrary gives the below output
When i use iterator and get one of the record, i get the correct values as shown below
$
fd1ba3ab-ad57-45fe-816d-6d5f77fdbda1
[1] "https://assistfilestorage.blob.core.windows.net/e8f065ce-6b4f-40e1-9ccd-b65048f52e28-file-storage/fd1ba3ab-ad57-45fe-816d-6d5f77fdbda1"I am not able to covert the output of iterator to the similar dataframe as find. I want to use similar to output of find with correct values
Would really appreciate any suggestions