{
  "_id": "6a103b1cacfb0bcc41c9b65e",
  "Package": "phsopendata",
  "Title": "Extract from the Scottish Health and Social Care Open Data\nPlatform",
  "Version": "1.1.0.9000",
  "Authors@R": "c(\nperson(\"Public Health Scotland\", , , \"phs.datascience@phs.scot\", role = \"cph\"),\nperson(\"Csilla\", \"Scharle\", , \"csilla.scharle2@phs.scot\", role = c(\"cre\", \"aut\")),\nperson(\"James\", \"Hayes\", , \"James.Hayes2@phs.scot\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-5380-2029\")),\nperson(\"David\", \"Aikman\", , \"david.aikman@phs.scot\", role = \"aut\"),\nperson(\"Ross\", \"Hull\", , \"ross.hull2@phs.scot\", role = \"aut\"),\nperson(\"Haritha\", \"Jagadeesh\", , \"haritha.jagadeesh@phs.scot\", role = \"aut\"),\nperson(\"Simon\", \"Barnes\", , \"simon.barnes@phs.scot\", role = \"ctb\")\n)",
  "Description": "Extract and interact with data from the Scottish Health\nand Social Care Open Data platform\n<https://www.opendata.nhs.scot>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/Public-Health-Scotland/phsopendata,\nhttps://public-health-scotland.github.io/phsopendata/",
  "BugReports": "https://github.com/Public-Health-Scotland/phsopendata/issues",
  "Config/roxygen2/markdown": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Config/pak/sysreqs": "libssl-dev libx11-dev",
  "Repository": "https://public-health-scotland.r-universe.dev",
  "Date/Publication": "2026-05-11 15:49:46 UTC",
  "RemoteUrl": "https://github.com/public-health-scotland/phsopendata",
  "RemoteRef": "HEAD",
  "RemoteSha": "897027068a36b045381d1cd87721cff851cdd43f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 16:33:58 UTC",
    "User": "root"
  },
  "Author": "Public Health Scotland [cph],\nCsilla Scharle [cre, aut],\nJames Hayes [aut] (ORCID: <https://orcid.org/0000-0002-5380-2029>),\nDavid Aikman [aut],\nRoss Hull [aut],\nHaritha Jagadeesh [aut],\nSimon Barnes [ctb]",
  "Maintainer": "Csilla Scharle <csilla.scharle2@phs.scot>",
  "MD5sum": "4ab05cbca6be825799228062672a51a2",
  "_user": "public-health-scotland",
  "_type": "src",
  "_file": "phsopendata_1.1.0.9000.tar.gz",
  "_fileid": "0475566612eb6078097e1d4fcaa6c7b987d2f1b8cca1d78b014e3e0b93fde97f",
  "_filesize": 136342,
  "_sha256": "0475566612eb6078097e1d4fcaa6c7b987d2f1b8cca1d78b014e3e0b93fde97f",
  "_created": "2026-05-11T16:33:58.000Z",
  "_published": "2026-05-22T11:16:44.531Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77368769126,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6924217208"
    },
    {
      "job": 77368768868,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6924219483"
    },
    {
      "job": 77368768884,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6924203629"
    },
    {
      "job": 77368768843,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6924204841"
    },
    {
      "job": 77368768010,
      "time": 169,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6924164716"
    },
    {
      "job": 77368768485,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159190227"
    },
    {
      "job": 77368769153,
      "time": 90,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6924201772"
    },
    {
      "job": 77368769264,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6924201865"
    },
    {
      "job": 77368769189,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6924203529"
    }
  ],
  "_buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/25683193629",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/public-health-scotland/phsopendata",
  "_commit": {
    "id": "897027068a36b045381d1cd87721cff851cdd43f",
    "author": "James Hayes (né McMahon) <james.hayes2@phs.scot>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Revise README (#117)\n\nQuite a few changes to the README.\n\n - Added examples for new functions.\n - Updated existing examples.\n - Updated package maintainer wording.\n- Updated package intro as now it's on CRAN it doesn't need to be so PHS\nspecific.\n",
    "time": 1778514586
  },
  "_maintainer": {
    "name": "Csilla Scharle",
    "email": "csilla.scharle2@phs.scot",
    "login": "csillasch",
    "uuid": 59616009
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "cli",
      "version": ">= 3.2.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "httr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "readr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "stringdist",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "version": ">= 1.1",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    }
  ],
  "_owner": "public-health-scotland",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 2
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 4
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 2
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2025-52",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 3
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 5
    },
    {
      "week": "2026-20",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2025-09-03"
    },
    {
      "name": "1.0.1",
      "date": "2025-11-10"
    },
    {
      "name": "1.0.3",
      "date": "2026-02-09"
    },
    {
      "name": "1.1.0",
      "date": "2026-05-06"
    }
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "moohan",
      "count": 259,
      "uuid": 5982260
    },
    {
      "user": "ross-hull",
      "count": 111,
      "uuid": 117927497
    },
    {
      "user": "csillasch",
      "count": 105,
      "uuid": 59616009
    },
    {
      "user": "haritj01",
      "count": 25,
      "uuid": 166500604
    },
    {
      "user": "daikman",
      "count": 21,
      "uuid": 57766110
    },
    {
      "user": "tina815",
      "count": 5,
      "uuid": 31853064
    },
    {
      "user": "sbarnesphs",
      "count": 3,
      "uuid": 233986195
    },
    {
      "user": "rmccreath",
      "count": 1,
      "uuid": 33964310
    }
  ],
  "_userbio": {
    "uuid": 35955342,
    "type": "organization",
    "name": "Public Health Scotland"
  },
  "_downloads": {
    "count": 249,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/phsopendata"
  },
  "_devurl": "https://github.com/public-health-scotland/phsopendata",
  "_pkgdown": "https://public-health-scotland.github.io/phsopendata/",
  "_searchresults": 31,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/phsopendata.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/public-health-scotland/phsopendata",
  "_realowner": "public-health-scotland",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-09-01"
    },
    {
      "version": "1.0.1",
      "date": "2025-11-05"
    },
    {
      "version": "1.0.2",
      "date": "2026-01-29"
    },
    {
      "version": "1.0.3",
      "date": "2026-02-05"
    },
    {
      "version": "1.1.0",
      "date": "2026-05-06"
    }
  ],
  "_exports": [
    "%>%",
    "get_dataset",
    "get_dataset_additional_info",
    "get_latest_resource",
    "get_resource",
    "get_resource_sql",
    "list_datasets",
    "list_resources"
  ],
  "_help": [
    {
      "page": "get_dataset",
      "title": "Get Open Data resources from a dataset",
      "topics": [
        "get_dataset"
      ]
    },
    {
      "page": "get_dataset_additional_info",
      "title": "get a datasets additional info",
      "topics": [
        "get_dataset_additional_info"
      ]
    },
    {
      "page": "get_latest_resource",
      "title": "Get the latest resource from a data set",
      "topics": [
        "get_latest_resource"
      ]
    },
    {
      "page": "get_resource",
      "title": "Get Open Data resource",
      "topics": [
        "get_resource"
      ]
    },
    {
      "page": "get_resource_sql",
      "title": "Get PHS Open Data using SQL",
      "topics": [
        "get_resource_sql"
      ]
    },
    {
      "page": "list_datasets",
      "title": "Lists all available datasets",
      "topics": [
        "list_datasets"
      ]
    },
    {
      "page": "list_resources",
      "title": "Provides an overview of all resources available on the Open Data platform.",
      "topics": [
        "list_resources"
      ]
    }
  ],
  "_readme": "https://github.com/public-health-scotland/phsopendata/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "rlang",
    "stringdist",
    "sys",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_score": 6.307271344721047,
  "_indexed": true,
  "_nocasepkg": "phsopendata",
  "_universes": [
    "public-health-scotland",
    "csillasch"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-05-11T16:36:07.000Z",
      "distro": "noble",
      "commit": "897027068a36b045381d1cd87721cff851cdd43f",
      "fileid": "dfcadbffe1187a8334175b27e4204bdbabb66abfcf9ad0ff755d9b2de308ccc4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/25683193629"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-05-11T16:36:11.000Z",
      "distro": "noble",
      "commit": "897027068a36b045381d1cd87721cff851cdd43f",
      "fileid": "04f43200c179403599eb409d1639d954c0c19ef4cfa242eb2838444a39364168",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/25683193629"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-05-11T16:35:31.000Z",
      "commit": "897027068a36b045381d1cd87721cff851cdd43f",
      "fileid": "8592e3a7156a473fdec2f840b0d2c54a8712525d1e91d9e8ea8ec1e0088834d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/25683193629"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-05-11T16:35:34.000Z",
      "commit": "897027068a36b045381d1cd87721cff851cdd43f",
      "fileid": "37f3c864c1c1ca1478f10bf55709e9cc58717e94b3caa6d4f429154d14541f31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/25683193629"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-05-11T16:35:23.000Z",
      "commit": "897027068a36b045381d1cd87721cff851cdd43f",
      "fileid": "6d531d84b06cc5c03220c2d6d8d55b9871259b178b93dbeac38a311278a5f756",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/25683193629"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-05-11T16:35:25.000Z",
      "commit": "897027068a36b045381d1cd87721cff851cdd43f",
      "fileid": "eec43c70d4e12fda69d9018cc3a31dc20c313470cfe124794929e8aff05ef7a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/25683193629"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-05-11T16:35:26.000Z",
      "commit": "897027068a36b045381d1cd87721cff851cdd43f",
      "fileid": "058a0bf204af051b0c46697a4445a58a45d0dbcd860cd1c31768b0e4b88b0a5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/25683193629"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0.9000",
      "date": "2026-05-22T11:16:28.000Z",
      "commit": "897027068a36b045381d1cd87721cff851cdd43f",
      "fileid": "95439b161e8a089d7a6573cf677ca3be4b20bad603647af2dd214c382b57ee18",
      "status": "success",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/25683193629"
    }
  ]
}