import2mongo: Importing a filterstream file to mongoDB.

Description Usage Arguments Value Examples

Description

Used to import fiterstream files to mongo in a seperate R process. Can be used to import tweets manually for times of MongoDB downtime. The file to import must be located in the directory set in sys.setenv("wd" =)

Usage

1
import2mongo(fileid, connection = "filterstream", createLog = TRUE)

Arguments

fileid

Nnumber of the file to import

connection

A mongo db connection

createLog

If set to FALSE output is send to the console instead of the logfile (logfile_import.txt)

Value

none

Examples

1
#import2mongo(2)

ProjectTw/TwitteR2Mongo documentation built on May 8, 2019, 3:44 a.m.