Last data update: 2014.03.03

R: Receive view results from CouchDB
cdbGetViewR Documentation

Receive view results from CouchDB

Description

The function provides accesses to CouchDB views.

Usage

cdbGetView(cdb)

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

Results