match {mongopipe}R Documentation

Pipeline Stages

Description

These functions translate R code to json readably by Mongodb.

Usage

match(x, ...)

## S3 method for class 'mongopipe'
match(x, ...)

field(x, ...)

## S3 method for class 'mongopipe'
field(x, ...)

lookup(x, ...)

## S3 method for class 'mongopipe'
lookup(x, from, local_field = from, foreign_field = "_id", as = from, ...)

unwind(x, ...)

## S3 method for class 'mongopipe'
unwind(x, field, ...)

limit(x, ...)

## S3 method for class 'mongopipe'
limit(x, limit, ...)

project(x, ...)

## S3 method for class 'mongopipe'
project(x, ...)

Arguments

x

Object of class mongopipe

...

list object

from

Collection to join

local_field

Field from the input documents

foreign_field

Field from the documents of the "from" collection

as

Name of output array field (Default: from)

field

Field to unwind.

limit

Integer to limit the number of documents.

Value

Object of type mongopipe.


[Package mongopipe version 0.1.1 Index]