Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create method to construct data.frame or data.table from NoSQL structure #23

Open
schmidb opened this issue Dec 4, 2013 · 3 comments
Open
Assignees
Milestone

Comments

@schmidb
Copy link

schmidb commented Dec 4, 2013

rbind.fill looks like a solution.

@ghost ghost assigned schmidb Jan 29, 2014
@dselivanov dselivanov added this to the 1.8.0 milestone Oct 9, 2014
@dselivanov dselivanov assigned dselivanov and unassigned schmidb Oct 9, 2014
@dselivanov
Copy link
Owner

We should use data.table::rbindlist. But do it carefully because of arrays. rmongodb should generate error if any object from cursor contains array. Also we can ask to unwind or exclude array.

@dselivanov dselivanov changed the title fix rbind merging problems with nosql data structures Create method to construct data.frame or data.table from NoSQL structure Oct 12, 2014
@dselivanov dselivanov modified the milestones: 1.8.1, 1.8.0 Nov 1, 2014
@stanstrup
Copy link

This might be as simple as replacing rbind with rbind.fill in mongo.find.all in the "if (data.frame)"?

@dselivanov
Copy link
Owner

rbind.fill() is quite slow function. I will try to provide much better solution shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants