{
  "_id": "6ac65257f511ae58c09aa146",
  "Package": "nhsbsa",
  "Title": "Client for the NHS Business Services Authority Open Data Portal",
  "Version": "0.1.0",
  "Authors@R": "person(\"Alasdair\", \"Warwick\", , \"alasdair.warwick.19@ucl.ac.uk\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-0800-2890\"))",
  "Description": "A low-level client for the National Health Service\nBusiness Services Authority (NHSBSA) Open Data Portal\n<https://opendata.nhsbsa.net>, a 'CKAN' data catalogue.\nProvides thin wrappers around the portal's API actions for\nlisting datasets, retrieving metadata, querying the datastore\nand downloading resource files. Results are returned as plain\ndata (tibbles and lists) for the caller to interpret.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/rmgpanw/nhsbsa,\nhttps://rmgpanw.github.io/nhsbsa/",
  "BugReports": "https://github.com/rmgpanw/nhsbsa/issues",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev libssl-dev",
  "Repository": "https://rmgpanw.r-universe.dev",
  "Date/Publication": "2026-07-30 17:12:39 UTC",
  "RemoteUrl": "https://github.com/rmgpanw/nhsbsa",
  "RemoteRef": "HEAD",
  "RemoteSha": "eba21be983ffe5e7e76236e80286d12428adbc36",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-07 11:47:30 UTC",
    "User": "root"
  },
  "Author": "Alasdair Warwick [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-0800-2890>)",
  "Maintainer": "Alasdair Warwick <alasdair.warwick.19@ucl.ac.uk>",
  "_user": "rmgpanw",
  "_type": "src",
  "_file": "nhsbsa_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c1c82b1f81ce9e73ad0996c5d1d7976e5db19a0040896e22560959aed7824e36",
  "_filesize": 258641,
  "_sha256": "c1c82b1f81ce9e73ad0996c5d1d7976e5db19a0040896e22560959aed7824e36",
  "_expires": "2027-01-15T14:08:21.000Z",
  "_created": "2026-10-07T11:47:30.000Z",
  "_published": "2026-10-07T14:08:23.231Z",
  "_buildurl": "https://github.com/r-universe/rmgpanw/actions/runs/37616123111",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112776042803,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11480506282"
    },
    {
      "job": 112776042647,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11479821520"
    },
    {
      "job": 112776042579,
      "time": 169,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11487088779"
    },
    {
      "job": 112776042673,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11486649199"
    },
    {
      "job": 112774914981,
      "time": 172,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11480350923"
    },
    {
      "job": 112776042586,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11479861538"
    },
    {
      "job": 112776042795,
      "time": 79,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11480866002"
    },
    {
      "job": 112776042655,
      "time": 72,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11480536179"
    },
    {
      "job": 112776042788,
      "time": 87,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11479856472"
    }
  ],
  "_upstream": "https://github.com/rmgpanw/nhsbsa",
  "_commit": {
    "id": "eba21be983ffe5e7e76236e80286d12428adbc36",
    "author": "rmgpanw <alasdair.warwick06@gmail.com>",
    "committer": "rmgpanw <alasdair.warwick06@gmail.com>",
    "message": "docs: drop example from internal condition helpers for CRAN\n\nCRAN does not permit examples on unexported functions. Remove the\nexample from the internal conditions doc entirely (rather than exporting\nthe helpers or wrapping in \\dontrun/\\donttest, which would require the\nbanned ::: to run), and tidy the dangling \"see examples\" reference.\n\nCo-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>\n",
    "time": 1785431559
  },
  "_maintainer": {
    "name": "Alasdair Warwick",
    "email": "alasdair.warwick.19@ucl.ac.uk",
    "login": "rmgpanw",
    "orcid": "0000-0002-0800-2890",
    "description": "Ophthalmologist and data scientist enthusiast",
    "uuid": 54263156
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "httptest2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "rmgpanw",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 2
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-29",
      "n": 2
    },
    {
      "week": "2026-31",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rmgpanw",
      "count": 37,
      "uuid": 54263156
    }
  ],
  "_userbio": {
    "uuid": 54263156,
    "type": "user",
    "name": "Alasdair Warwick",
    "followers": 11,
    "description": "Ophthalmologist and data scientist enthusiast"
  },
  "_downloads": {
    "count": 287,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nhsbsa"
  },
  "_devurl": "https://github.com/rmgpanw/nhsbsa",
  "_pkgdown": "https://rmgpanw.github.io/nhsbsa/",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/nhsbsa.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/rmgpanw/nhsbsa",
  "_realowner": "rmgpanw",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-08-07"
    }
  ],
  "_exports": [
    "nhsbsa_datastore_search",
    "nhsbsa_datastore_search_sql",
    "nhsbsa_download_resource",
    "nhsbsa_group_list",
    "nhsbsa_list_resources",
    "nhsbsa_organization_list",
    "nhsbsa_package_list",
    "nhsbsa_package_search",
    "nhsbsa_package_show",
    "nhsbsa_resource_show",
    "nhsbsa_tag_list"
  ],
  "_help": [
    {
      "page": "nhsbsa_datastore_search",
      "title": "Search a resource's rows",
      "topics": [
        "nhsbsa_datastore_search"
      ]
    },
    {
      "page": "nhsbsa_datastore_search_sql",
      "title": "Query a resource with SQL",
      "topics": [
        "nhsbsa_datastore_search_sql"
      ]
    },
    {
      "page": "nhsbsa_download_resource",
      "title": "Download a resource file",
      "topics": [
        "nhsbsa_download_resource"
      ]
    },
    {
      "page": "nhsbsa_group_list",
      "title": "List dataset groups",
      "topics": [
        "nhsbsa_group_list"
      ]
    },
    {
      "page": "nhsbsa_list_resources",
      "title": "List a dataset's resources as a tibble",
      "topics": [
        "nhsbsa_list_resources"
      ]
    },
    {
      "page": "nhsbsa_organization_list",
      "title": "List publishing organisations",
      "topics": [
        "nhsbsa_organization_list"
      ]
    },
    {
      "page": "nhsbsa_package_list",
      "title": "List available datasets",
      "topics": [
        "nhsbsa_package_list"
      ]
    },
    {
      "page": "nhsbsa_package_search",
      "title": "Search datasets",
      "topics": [
        "nhsbsa_package_search"
      ]
    },
    {
      "page": "nhsbsa_package_show",
      "title": "Show a dataset's metadata",
      "topics": [
        "nhsbsa_package_show"
      ]
    },
    {
      "page": "nhsbsa_resource_show",
      "title": "Show a resource's metadata",
      "topics": [
        "nhsbsa_resource_show"
      ]
    },
    {
      "page": "nhsbsa_tag_list",
      "title": "List tags",
      "topics": [
        "nhsbsa_tag_list"
      ]
    },
    {
      "page": "nhsbsa-methods",
      "title": "Methods for nhsbsa objects",
      "topics": [
        "as_tibble.nhsbsa_package",
        "as_tibble.nhsbsa_package_search",
        "nhsbsa-methods",
        "print.nhsbsa_package",
        "print.nhsbsa_package_search",
        "print.nhsbsa_resource"
      ]
    }
  ],
  "_pkglogo": "https://github.com/rmgpanw/nhsbsa/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/rmgpanw/nhsbsa/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "developer-guide.Rmd",
      "filename": "developer-guide.html",
      "title": "Developer guide",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Design goals",
        "Architecture",
        "The core request layer (R/core.R)",
        "Conditions (R/conditions.R)",
        "Return-type conventions",
        "Which actions are wrapped",
        "Adding a new endpoint",
        "Testing",
        "Offline tests with recorded fixtures",
        "Offline tests with mocked responses",
        "Live tests",
        "Checks before a pull request"
      ],
      "created": "2026-06-27 23:17:39",
      "modified": "2026-06-27 23:17:39",
      "commits": 1
    },
    {
      "source": "nhsbsa.Rmd",
      "filename": "nhsbsa.html",
      "title": "Getting started with nhsbsa",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The NHSBSA Open Data Portal",
        "The API and the response envelope",
        "What the package wraps",
        "Working with the returned objects",
        "From the portal website to the API",
        "A worked example",
        "Find a dataset",
        "Inspect a dataset's resources",
        "Download a resource file",
        "Query rows without downloading the whole file",
        "Ways to query datastore data",
        "Reading rows with nhsbsa_datastore_search()",
        "Filtering and aggregating with SQL"
      ],
      "created": "2026-06-27 23:17:39",
      "modified": "2026-07-18 20:05:17",
      "commits": 3
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "nhsbsa",
  "_universes": [
    "rmgpanw"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-07T11:49:34.000Z",
      "distro": "resolute",
      "commit": "eba21be983ffe5e7e76236e80286d12428adbc36",
      "fileid": "https://r2.ropensci.org/fe5e9254dae5c5044bb00f4ea04400829a0b21b0d51092f289b033455e229971",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmgpanw/actions/runs/37616123111"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-07T11:49:32.000Z",
      "distro": "resolute",
      "commit": "eba21be983ffe5e7e76236e80286d12428adbc36",
      "fileid": "https://r2.ropensci.org/ccc911596a2f1ceafc3f96d0f64e5919508e07cade56b0f1e2f37f1d980e58ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmgpanw/actions/runs/37616123111"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-07T14:04:11.000Z",
      "commit": "eba21be983ffe5e7e76236e80286d12428adbc36",
      "fileid": "https://r2.ropensci.org/cdaee86445a87529485952fc4ed814658b98a8fa5d469665697535960753cc49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmgpanw/actions/runs/37616123111"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-07T14:07:26.000Z",
      "commit": "eba21be983ffe5e7e76236e80286d12428adbc36",
      "fileid": "https://r2.ropensci.org/29d95cef5c93f0414e17adf8fe0a844daeb4298d6fcebe4d32aacba0dbf709dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmgpanw/actions/runs/37616123111"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-07T11:49:23.000Z",
      "commit": "eba21be983ffe5e7e76236e80286d12428adbc36",
      "fileid": "https://r2.ropensci.org/b695fc25aeea9214088b01f2554487a04d9580efefc5b9b1cee88e238143bec9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rmgpanw/actions/runs/37616123111"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-07T11:48:43.000Z",
      "commit": "eba21be983ffe5e7e76236e80286d12428adbc36",
      "fileid": "https://r2.ropensci.org/5cb28fb521c04fedf5f0ca80e58de4298e6b44223cbbc5977b03f4f89183a436",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmgpanw/actions/runs/37616123111"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-07T11:48:32.000Z",
      "commit": "eba21be983ffe5e7e76236e80286d12428adbc36",
      "fileid": "https://r2.ropensci.org/e1b8a85fe431d1c1d8d42bc2d65c70ed3def7c6fdadf41087926c758dd80d8bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmgpanw/actions/runs/37616123111"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-07T11:48:47.000Z",
      "commit": "eba21be983ffe5e7e76236e80286d12428adbc36",
      "fileid": "https://r2.ropensci.org/fb3a268be35c625b930c8a493952e47774feda40cdf904665caeeb4861ae5a74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmgpanw/actions/runs/37616123111"
    }
  ]
}