编辑: You—灰機 | 2015-02-04 |
2018 Title Connector to 'CouchDB' Description Provides an interface to the 'NoSQL' database 'CouchDB' ().
Methods are provided for managing databases within 'CouchDB', including creating/deleting/updating/transferring, and managing documents within databases. One can connect with a local 'CouchDB' instance, or a remote 'CouchDB' databases such as 'Cloudant' (). Documents can be inserted directly from vectors, lists, data.frames, and 'JSON'. Targeted at 'CouchDB' v2 or greater. Version 0.3.0 License MIT + ?le LICENSE URL https://github.com/ropensci/sofa BugReports https://github.com/ropensci/sofa/issues Imports crul (>= 0.4.0), jsonlite (>= 1.5), R6 (>= 2.2.2), mime Suggests testthat, knitr, rmarkdown VignetteBuilder knitr RoxygenNote 6.0.1 NeedsCompilation no Author Scott Chamberlain [aut, cre] Maintainer Scott Chamberlain Repository CRAN Date/Publication 2018-01-03 20:24:59 UTC R topics documented: sofa-package
2 active_tasks
3 attachments
4 attach_get
6 Cushion
7 1
2 sofa-package databases
9 db_alldocs
9 db_bulk_create
10 db_bulk_update
12 db_changes
14 db_compact
15 db_create
16 db_delete
17 db_explain
18 db_index
19 db_info
21 db_list
22 db_query
22 db_replicate
25 db_revisions
26 design
27 design_search
29 documents
32 doc_create
33 doc_delete
35 doc_get
36 doc_head
37 doc_update
38 membership
39 parse_df
40 ping
41 restart
41 session
42 uuids
43 Index
44 sofa-package R client for CouchDB. Description Relax. About sofa sofa provides an interface to the NoSQL database CouchDB (http://couchdb.apache.org). Meth- ods are provided for managing databases within CouchDB, including creating/deleting/updating/transferring, and managing documents within databases. One can connect with a local CouchDB instance, or a remote CouchDB databases such as Cloudant (https://cloudant.com). Documents can be in- serted directly from vectors, lists, data.frames, and JSON. active_tasks
3 Client connections All functions take as their ?rst parameter a client connection object, or a cushion. Create the object with Cushion. You can have multiple connection objects in an R session. CouchDB versions sofa was built assuming CouchDB version
2 or greater. Some functionality of this package will work with versions < 2, while some may not (mango queries, see db_query()). I don't plan to support older CouchDB versions per se. Author(s) Scott Chamberlain active_tasks active tasks Description active tasks Usage active_tasks(cushion, as = "list", ...) Arguments cushion A Cushion object. Required. as (character) One of list (default) or json ... Curl args passed on to HttpClient Value JSON as a character string or a list (determined by the as parameter) Examples ## Not run: # Create a CouchDB connection client (x