mproject-methods: Add a $project stage to a MongoPipeline.

Description Usage Arguments Value

Description

Add a $project stage to a MongoPipeline.

Usage

1
2
3
4
mproject(p, ...)

## S4 method for signature 'MongoPipeline'
mproject(p, ...)

Arguments

p

A MongoPipeline instance.

...

Named arguments for mproject fields, indicating whether to include (1) or exclude (0), or functions of fields

Value

A copy of the previous pipeline, with the new stage added.


Ka2wei/mongoplyr documentation built on May 23, 2019, 6:02 p.m.