R4CouchDB

Collection of functions 4 R and CouchDB interaction

https://github.com/wactbprot/r4couchdb

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: springer.com
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.5%) to scientific vocabulary

Keywords

couchdb database r rstats
Last synced: 6 months ago · JSON representation

Repository

Collection of functions 4 R and CouchDB interaction

Basic Info
Statistics
  • Stars: 31
  • Watchers: 5
  • Forks: 6
  • Open Issues: 0
  • Releases: 0
Topics
couchdb database r rstats
Created over 16 years ago · Last pushed almost 9 years ago
Metadata Files
Readme

README.md

__ _ _ ___ _ ___ ___ /__\ || | / __\___ _ _ ___| |__ / \/ __\ / \// || |_ / / / _ \| | | |/ __| '_ \ / /\ /__\// / _ \__ _/ /__| (_) | |_| | (__| | | |/ /_// \/ \ \/ \_/ |_| \____/\___/ \__,_|\___|_| |_/___,'\_____/

A Collection of R functions for CouchDB access

The R4CouchDB package provides a collection of functions for basic database and document management operations such as add, get and delete.

Note: Check out sofa, from @recology_ another R package to interact with CouchDB.

Note: I added a example of R4CouchDB usage to the (new) CouchDB wiki

Literature

The R4CouchDB package is reviewed in the book XML and Web Technologies for Data Sciences with R by Deborah Nolan and Duncan Temple Lang published in 2014 on Springer.

Credits

  • Thanks to @parisni for the contribution of cdbAddDocS()

Overview

Every cdbFunction() gets and returns a list() containing the complete connection setup and the data. With the command

R> conn <- cdbIni()

such a list() can be generated. It contains some default values e.g. the R> conn$serverName R> [1] "localhost" or R> conn$digits R> [1] 7 With a database running at http://localhost:5984 the R-command: R> cdbListDB( cdbIni() )

lists the databases available at localhost.

Getting started

R> install.packages("R4CouchDB") R> library(R4CouchDB) * generate a connection object (a simple list()) with: R> conn <- cdbIni() * play around with conn R> conn$queryParam <- "count=10" R> cdbGetUuidS(conn)$res

  • see test session in the example folder
  • write a issue

Tests

The functions in the tests folder assume a writable CouchDB instance running on http://localhost:5984:

$> cd R4CouchDB/tests $> R -f run.r

Owner

  • Name: Wact B. Prot
  • Login: wactbprot
  • Kind: user
  • Location: Berlin

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 191
  • Total Committers: 6
  • Avg Commits per committer: 31.833
  • Development Distribution Score (DDS): 0.058
Top Committers
Name Email Commits
wactbprot t****k@w****e 180
Thomas Bock b****4@e****e 3
Th Bo tg@a****) 3
Nicolas PARIS n****s@n****s@r****t 2
th tg@l****e 2
root r****t@e****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 51
  • Total pull requests: 1
  • Average time to close issues: 7 months
  • Average time to close pull requests: about 17 hours
  • Total issue authors: 5
  • Total pull request authors: 1
  • Average comments per issue: 2.0
  • Average comments per pull request: 9.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • wactbprot (45)
  • daroczig (2)
  • parisni (2)
  • sckott (1)
  • shingav (1)
Pull Request Authors
  • parisni (1)
Top Labels
Issue Labels
must (5) think about (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 566 last-month
  • Total docker downloads: 42,767
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
cran.r-project.org: R4CouchDB

A R Convenience Layer for CouchDB 2.0

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 566 Last month
  • Docker Downloads: 42,767
Rankings
Stargazers count: 9.4%
Forks count: 10.1%
Average: 24.7%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Downloads: 38.9%
Maintainers (1)
Last synced: 7 months ago

Dependencies

R4CouchDB/DESCRIPTION cran
  • R >= 2.7.0 depends
  • RCurl >= 1.95 depends
  • RJSONIO >= 1.3 depends
  • bitops * depends
  • roxygen2 >= 4.0 suggests
  • testthat >= 0.8 suggests