[DRIVERS-259] Inserting array type data using R driver for mongo. Created: 24/Aug/15  Updated: 17/Mar/20  Resolved: 26/Aug/15

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Alok Tripathi Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 14.04
R version 3.0
Local developer machine


Issue Links:
Duplicate

 Description   

Hi Team,

I am trying to Insert a data frame where one of the field is suppose to be Array type. Now, as data frame can not have a "list/vector" as internal field type. I am facing difficulty to insert array in my collection.

I have similar issue to convert "date" field of string type as ISOdate.

sample schema -

date : dd-mm-yy //String type
brand : [ "americanairlines", "lufthansha"] // String type
rating : integer
text : string

above schema is within data frame and want to insert date as ISODate and brand as an Array while inserting using "rmongodb" package.

Thanks
Alok


Generated at Thu Feb 08 08:21:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.