{
  "_id": "6a44cdbb6ff6f2357551b959",
  "Package": "sofa",
  "Title": "Connector to 'CouchDB'",
  "Description": "Provides an interface to the 'NoSQL' database 'CouchDB'\n(<https://couchdb.apache.org/>). Methods are provided for\nmanaging databases within 'CouchDB', including\ncreating/deleting/updating/transferring, and managing documents\nwithin databases. One can connect with a local 'CouchDB'\ninstance, or a remote 'CouchDB' database such as 'IBM\nCloudant'. Documents can be inserted directly from vectors,\nlists, data.frames, and 'JSON'. Targeted at 'CouchDB' v2 or\ngreater.",
  "Version": "0.4.1",
  "Authors@R": "c(\nperson(\"Yaoxiang\", \"Li\", role = c(\"aut\", \"cre\"),\nemail = \"liyaoxiang@outlook.com\",\ncomment = c(ORCID=\"0000-0001-9200-1016\")),\nperson(\"Eduard\", \"Szöcs\", role = \"aut\",\nemail = \"eduardszoecs@gmail.com\",\ncomment = c(ORCID=\"0000-0003-1444-9135\")),\nperson(\"Scott\", \"Chamberlain\", role = \"aut\",\nemail = \"myrmecocystus@gmail.com\",\ncomment = c(ORCID=\"0000-0003-1444-9135\")),\nperson(given = \"rOpenSci\",\nrole = \"fnd\",\ncomment = c(ROR = \"019jywm96\"))\n)",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/ropensci/sofa, https://docs.ropensci.org/sofa/",
  "BugReports": "https://github.com/ropensci/sofa/issues",
  "Roxygen": "list(markdown = TRUE)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2026-05-21 05:42:15 UTC",
  "RemoteUrl": "https://github.com/ropensci/sofa",
  "RemoteRef": "master",
  "RemoteSha": "df360007287022c0760c77bf115e53d2ab17e8e1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-01 08:15:27 UTC",
    "User": "root"
  },
  "Author": "Yaoxiang Li [aut, cre] (ORCID: <https://orcid.org/0000-0001-9200-1016>),\nEduard Szöcs [aut] (ORCID: <https://orcid.org/0000-0003-1444-9135>),\nScott Chamberlain [aut] (ORCID:\n<https://orcid.org/0000-0003-1444-9135>),\nrOpenSci [fnd] (ROR: <https://ror.org/019jywm96>)",
  "Maintainer": "Yaoxiang Li <liyaoxiang@outlook.com>",
  "_user": "ropensci",
  "_type": "src",
  "_file": "sofa_0.4.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/e587fc9e338775eacb9be07cd755d2efa2fa96e6da950f28000fa6c598b8eb15",
  "_filesize": 348690,
  "_sha256": "e587fc9e338775eacb9be07cd755d2efa2fa96e6da950f28000fa6c598b8eb15",
  "_expires": "2026-10-09T08:20:09.000Z",
  "_created": "2026-07-01T08:15:27.000Z",
  "_published": "2026-07-01T08:20:11.254Z",
  "_jobs": [
    {
      "job": 84486274184,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8004065976"
    },
    {
      "job": 84486274214,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004057378"
    },
    {
      "job": 84486274256,
      "time": 91,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8004069733"
    },
    {
      "job": 84486274176,
      "time": 72,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004059406"
    },
    {
      "job": 84485706223,
      "time": 171,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8004005369"
    },
    {
      "job": 84485706171,
      "time": 187,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004011335"
    },
    {
      "job": 84486274174,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8004062871"
    },
    {
      "job": 84486274208,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8004047700"
    },
    {
      "job": 84486274168,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8004039226"
    },
    {
      "job": 84486274194,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004039575"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503341737",
  "_status": "success",
  "_upstream": "https://github.com/ropensci/sofa",
  "_commit": {
    "id": "df360007287022c0760c77bf115e53d2ab17e8e1",
    "author": "Yaoxiang Li <liyaoxiang@outlook.com>",
    "committer": "Yaoxiang Li <liyaoxiang@outlook.com>",
    "message": "Ignore source package tarballs\n",
    "time": 1779342135
  },
  "_maintainer": {
    "name": "Yaoxiang Li",
    "email": "liyaoxiang@outlook.com",
    "login": "yaoxiangli",
    "description": "The most beautiful thing we can experience is the mysterious. It is the source of all true art and science.",
    "uuid": 18198096,
    "orcid": "0000-0001-9200-1016"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "crul",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "version": ">= 1.5",
      "role": "Imports"
    },
    {
      "package": "R6",
      "version": ">= 2.2.2",
      "role": "Imports"
    },
    {
      "package": "mime",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "cli",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 6
    },
    {
      "week": "2026-21",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.4.1",
      "date": "2026-05-13"
    }
  ],
  "_topics": [
    "couchdb",
    "database",
    "nosql",
    "documents",
    "cloudant",
    "couchdb-client"
  ],
  "_stars": 33,
  "_contributors": [
    {
      "user": "sckott",
      "count": 287,
      "uuid": 577668
    },
    {
      "user": "yaoxiangli",
      "count": 30,
      "uuid": 18198096
    },
    {
      "user": "maelle",
      "count": 3,
      "uuid": 8360597
    },
    {
      "user": "patperu",
      "count": 3,
      "uuid": 82020
    },
    {
      "user": "eduardszoecs",
      "count": 2,
      "uuid": 849616
    },
    {
      "user": "jeroen",
      "count": 1,
      "uuid": 216319
    },
    {
      "user": "michellymenezes",
      "count": 1,
      "uuid": 5838244
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "followers": 1106,
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 578,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sofa"
  },
  "_devurl": "https://github.com/ropensci/sofa",
  "_pkgdown": "https://docs.ropensci.org/sofa",
  "_searchresults": 59,
  "_metadata": {
    "ropensci_category": "databases"
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sofa.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/sofa",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2016-10-13"
    },
    {
      "version": "0.3.0",
      "date": "2018-01-03"
    },
    {
      "version": "0.4.0",
      "date": "2020-06-26"
    }
  ],
  "_exports": [
    "active_tasks",
    "attach_get",
    "Cushion",
    "db_alldocs",
    "db_bulk_create",
    "db_bulk_get",
    "db_bulk_update",
    "db_changes",
    "db_compact",
    "db_create",
    "db_delete",
    "db_explain",
    "db_index",
    "db_index_create",
    "db_index_delete",
    "db_info",
    "db_list",
    "db_query",
    "db_replicate",
    "db_revisions",
    "design_create",
    "design_create_",
    "design_delete",
    "design_get",
    "design_head",
    "design_info",
    "design_search",
    "design_search_many",
    "doc_attach_create",
    "doc_attach_delete",
    "doc_attach_get",
    "doc_attach_info",
    "doc_create",
    "doc_delete",
    "doc_get",
    "doc_head",
    "doc_update",
    "doc_upsert",
    "membership",
    "parse_df",
    "ping",
    "restart",
    "session",
    "uuids"
  ],
  "_help": [
    {
      "page": "sofa-package",
      "title": "R client for CouchDB.",
      "topics": [
        "sofa-package",
        "sofa"
      ]
    },
    {
      "page": "active_tasks",
      "title": "active tasks",
      "topics": [
        "active_tasks"
      ]
    },
    {
      "page": "attachments",
      "title": "Work with attachments",
      "topics": [
        "attachments",
        "doc_attach_create",
        "doc_attach_delete",
        "doc_attach_get",
        "doc_attach_info"
      ]
    },
    {
      "page": "Cushion",
      "title": "sofa connection client",
      "topics": [
        "Cushion"
      ]
    },
    {
      "page": "databases",
      "title": "Work with databases in CouchDB.",
      "topics": [
        "databases"
      ]
    },
    {
      "page": "db_alldocs",
      "title": "List all docs in a given database.",
      "topics": [
        "db_alldocs"
      ]
    },
    {
      "page": "db_bulk_create",
      "title": "Create documents via the bulk API",
      "topics": [
        "db_bulk_create"
      ]
    },
    {
      "page": "db_bulk_get",
      "title": "Query many documents at once",
      "topics": [
        "db_bulk_get"
      ]
    },
    {
      "page": "db_bulk_update",
      "title": "Create documents via the bulk API",
      "topics": [
        "db_bulk_update"
      ]
    },
    {
      "page": "db_changes",
      "title": "List changes to a database.",
      "topics": [
        "db_changes"
      ]
    },
    {
      "page": "db_compact",
      "title": "Request compaction of the specified database",
      "topics": [
        "db_compact"
      ]
    },
    {
      "page": "db_create",
      "title": "Create a database.",
      "topics": [
        "db_create"
      ]
    },
    {
      "page": "db_delete",
      "title": "Delete a database.",
      "topics": [
        "db_delete"
      ]
    },
    {
      "page": "db_explain",
      "title": "Explain API",
      "topics": [
        "db_explain"
      ]
    },
    {
      "page": "db_index",
      "title": "Create and get database indexes",
      "topics": [
        "db_index",
        "db_index_create",
        "db_index_delete"
      ]
    },
    {
      "page": "db_info",
      "title": "List database info.",
      "topics": [
        "db_info"
      ]
    },
    {
      "page": "db_list",
      "title": "List all databases.",
      "topics": [
        "db_list"
      ]
    },
    {
      "page": "db_query",
      "title": "Query a database.",
      "topics": [
        "db_query"
      ]
    },
    {
      "page": "db_replicate",
      "title": "Upload (replicate) a local database to a remote CouchDB-compatible server",
      "topics": [
        "db_replicate"
      ]
    },
    {
      "page": "db_revisions",
      "title": "Get document revisions.",
      "topics": [
        "db_revisions"
      ]
    },
    {
      "page": "design",
      "title": "Work with design documents",
      "topics": [
        "design",
        "design_create",
        "design_create_",
        "design_delete",
        "design_get",
        "design_head",
        "design_info"
      ]
    },
    {
      "page": "design_search",
      "title": "Search design documents",
      "topics": [
        "design_search",
        "design_search_many"
      ]
    },
    {
      "page": "doc_create",
      "title": "Create documents to a database.",
      "topics": [
        "doc_create"
      ]
    },
    {
      "page": "doc_delete",
      "title": "Delete a document in a database.",
      "topics": [
        "doc_delete"
      ]
    },
    {
      "page": "doc_get",
      "title": "Get a document from a database.",
      "topics": [
        "doc_get"
      ]
    },
    {
      "page": "doc_head",
      "title": "Get header info for a document",
      "topics": [
        "doc_head"
      ]
    },
    {
      "page": "doc_update",
      "title": "Update a document.",
      "topics": [
        "doc_update"
      ]
    },
    {
      "page": "doc_upsert",
      "title": "Create a new document or update an existing one",
      "topics": [
        "doc_upsert"
      ]
    },
    {
      "page": "documents",
      "title": "Work with documents in CouchDB.",
      "topics": [
        "documents"
      ]
    },
    {
      "page": "membership",
      "title": "membership",
      "topics": [
        "membership"
      ]
    },
    {
      "page": "parse_df",
      "title": "Parse data.frame to json or list by row or column",
      "topics": [
        "parse_df"
      ]
    },
    {
      "page": "ping",
      "title": "Ping a CouchDB server",
      "topics": [
        "ping"
      ]
    },
    {
      "page": "restart",
      "title": "Restart your CouchDB instance",
      "topics": [
        "restart"
      ]
    },
    {
      "page": "session",
      "title": "session",
      "topics": [
        "session"
      ]
    },
    {
      "page": "uuids",
      "title": "Get uuids.",
      "topics": [
        "uuids"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ropensci/sofa/raw/master/man/figures/logo.png",
  "_readme": "https://github.com/ropensci/sofa/raw/master/README.md",
  "_rundeps": [
    "cli",
    "crul",
    "curl",
    "httpcode",
    "jsonlite",
    "lifecycle",
    "mime",
    "R6",
    "Rcpp",
    "rlang",
    "triebeard",
    "urltools"
  ],
  "_vignettes": [
    {
      "source": "query_tutorial.Rmd",
      "filename": "query_tutorial.html",
      "title": "CouchDB Queries",
      "author": "Scott Chamberlain",
      "engine": "knitr::rmarkdown",
      "headings": [
        "CouchDB query table"
      ],
      "created": "2016-09-30 20:46:04",
      "modified": "2016-09-30 20:46:04",
      "commits": 1
    },
    {
      "source": "sofa.Rmd",
      "filename": "sofa.html",
      "title": "sofa introduction",
      "author": "Scott Chamberlain",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Install sofa",
        "sofa package API",
        "Create a connection client",
        "Ping your server",
        "Create a new database",
        "List databases",
        "Create a document",
        "Changes feed",
        "Search"
      ],
      "created": "2020-01-31 18:00:26",
      "modified": "2020-06-25 15:32:01",
      "commits": 2
    }
  ],
  "_score": 7.669577193231638,
  "_indexed": true,
  "_nocasepkg": "sofa",
  "_universes": [
    "ropensci",
    "yaoxiangli"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-07-01T08:18:00.000Z",
      "distro": "resolute",
      "commit": "df360007287022c0760c77bf115e53d2ab17e8e1",
      "fileid": "https://r2.ropensci.org/e2e23f9785782172724dc391a0ea3525d6d02bd082e0b758afd434d2abef8bcf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503341737"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-07-01T08:17:36.000Z",
      "distro": "resolute",
      "commit": "df360007287022c0760c77bf115e53d2ab17e8e1",
      "fileid": "https://r2.ropensci.org/91c5cdd67a43ac711c72bfe6a7ff2d7ed6289ab676bbe520ad80f172f07932a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503341737"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-07-01T08:18:13.000Z",
      "commit": "df360007287022c0760c77bf115e53d2ab17e8e1",
      "fileid": "https://r2.ropensci.org/21f4bbab0ec4081b99733a2197c55b4c130e23ec7b9b72555795d57839f487a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503341737"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-07-01T08:17:46.000Z",
      "commit": "df360007287022c0760c77bf115e53d2ab17e8e1",
      "fileid": "https://r2.ropensci.org/005aca2a8289e2beb94267b56e988bcf816e7b323bf24d332d061900a807e06e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503341737"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-07-01T08:18:10.000Z",
      "commit": "df360007287022c0760c77bf115e53d2ab17e8e1",
      "fileid": "https://r2.ropensci.org/9ee68ec9c14c24b98410c5dcc982fd1c2bb18cc40703da5974fc2762518d3a75",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503341737"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-07-01T08:16:56.000Z",
      "commit": "df360007287022c0760c77bf115e53d2ab17e8e1",
      "fileid": "https://r2.ropensci.org/7aec5a03c18be427dff2ab3ad630d255c3a01925ca785f026033f460be323361",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503341737"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-07-01T08:16:38.000Z",
      "commit": "df360007287022c0760c77bf115e53d2ab17e8e1",
      "fileid": "https://r2.ropensci.org/0c439c048f50b2f1ab505ea5973ad93ff99ae128478cd84c9897e1cb4ab99f35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503341737"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-07-01T08:16:39.000Z",
      "commit": "df360007287022c0760c77bf115e53d2ab17e8e1",
      "fileid": "https://r2.ropensci.org/fe6367d699a587c1f76b01ec6d63bbba31e5b7032284410648eb0e0ed55a2832",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503341737"
    }
  ]
}