Questions tagged [rmongo]

RMongo is a R package which lets you query MongoDB databases.

37 questions
0
votes
1 answer

Rmongo query function giving error

I am trying to connect mongodb in R using Rmongo library.But query function giving me error. > chn = mongoDbConnect("marketing_db", host = 'localhost', port = 27017) > print(dbShowCollections(chn)) character(0) > results = dbGetQuery(chn,…
Mohit Sharma
  • 590
  • 3
  • 10
0
votes
2 answers

R: Convert Rmongo output to dataframe

I have been using the package Rmongo to pull data from a MongoDB. library(Rmongo) mongo <- mongoDbConnect("cmdbData", host="XX-MONGODB-02", port=27017) data_users <- dbGetQuery(mongo, 'computers', '{}') The pulled data looks like this: …
Esben Eickhardt
  • 3,183
  • 2
  • 35
  • 56
0
votes
1 answer

Convert MongoDB character as R Date

I tried to convert MongoDB date to R date Object. I use library(RMongo) library(data.table) mongo<-mongoDbConnect("test", host = "127.0.0.1", port = "27017") event<-dbGetQuery(mongo, "event", "", 0,…
FRieux
  • 1
  • 1
0
votes
0 answers

Error while installing RMongo 0.1.0 (Error: Command failed (1))

I have followed the following procedure to install RMongo from GitHub library(devtools) library(httr) set_config(use_proxy(url="", port=9090, username="xxxx",password="xxx")) install_github("tc/RMongo") But i am getting the following…
user3138864
  • 63
  • 1
  • 10
0
votes
1 answer

Number of documents in a collection in MongoDB using RMongo

How can I find the number of documents in a collection using the RMongo package?
avidlearner
  • 243
  • 3
  • 16
0
votes
1 answer

'limit' argument unknown for dbGetQuery in RMongo

I want to use the below query to access all the records in a collection in MongoDB using the RMongo package in R. dbGetQuery(mongo, "", "{}") The collection has a large number of documents and more and more documents get added to it everyday and…
avidlearner
  • 243
  • 3
  • 16
0
votes
1 answer

How to Use RCurl or RMongo via HTTP with Authentication and Self Signed SSL to Read in JSON Data

I am using R to write a program and perform some analyses. The data is being captured by an outside vendor with MongoDB in JSON format. They are providing it to me via a URI on port 443, which they want me to query using cURL. They have…
Jason
  • 259
  • 3
  • 14
1 2
3