We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A collection in mongo containing special char as a value, such as \r\n ..., results in breaking the returned data frame.
e.g.
db.test.find() --- in mongo
{ "_id" : ObjectId("a_value"), "item" : "nospecial", "qty" : "15" }
{ "_id" : ObjectId("a_value"), "item" : "spec\r\r\nial", "qty" : "15" }
dataframe -- in R
X_id item qty
1 a_value nospecial 15
2 a_valuer spec NA
3 ial 15 NA
The text was updated successfully, but these errors were encountered:
Thanks @StefanoSpada i added a failing unit test to https://github.com/tc/RMongo/tree/bug-fix/newline
Happy to accept any patch requests to pass the tests (R CMD check) :)
Sorry, something went wrong.
No branches or pull requests
A collection in mongo containing special char as a value, such as \r\n ..., results in breaking the returned data frame.
e.g.
{ "_id" : ObjectId("a_value"), "item" : "nospecial", "qty" : "15" }
{ "_id" : ObjectId("a_value"), "item" : "spec\r\r\nial", "qty" : "15" }
1 a_value nospecial 15
2 a_valuer spec NA
3 ial 15 NA
The text was updated successfully, but these errors were encountered: