cdbGetView: Receive view results from CouchDB

Description Usage Arguments Details Value Note Author(s)

View source: R/cdbGetView.R

Description

The function provides accesses to CouchDB views.

Usage

1

Arguments

cdb

Beside the connection details (cdb$port,cdb$DAName ...) the cdb$design and cdb$view is needed.

Details

Query params e.g. "reduce=false" or "group_level=1" can be provided in cdb$queryParam

Value

cdb

The result of the request is stored in cdb$res after converting the json answer into a list using fromJSON(). If a needed cdb list entry was not provided cdb$error says something about the R side

Note

For the moment only one cdb$queryParam is possible. In the future maybe Duncans RJavaScript package can be used to generate views without leaving R.

Author(s)

wactbprot


R4CouchDB documentation built on May 29, 2017, 7:10 p.m.