{
  "_id": "6ac7802ade46216d5edd1009",
  "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://code.publichealthscotland.scot/phsopendata/",
  "BugReports": "https://github.com/Public-Health-Scotland/phsopendata/issues",
  "Config/roxygen2/markdown": "TRUE",
  "Config/roxygen2/version": "8.1.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-09-08 05:33:57 UTC",
  "RemoteUrl": "https://github.com/public-health-scotland/phsopendata",
  "RemoteRef": "HEAD",
  "RemoteSha": "3427cba344c48809b932ed513f347b92b9ff27f5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-08 10:53:47 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>",
  "_user": "public-health-scotland",
  "_type": "src",
  "_file": "phsopendata_1.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/ac79f3ce7b51a330d54fd163320d95327ac941e3806302f0a876e897e834f05f",
  "_filesize": 132628,
  "_sha256": "ac79f3ce7b51a330d54fd163320d95327ac941e3806302f0a876e897e834f05f",
  "_expires": "2027-01-16T11:36:08.000Z",
  "_created": "2026-10-08T10:53:47.000Z",
  "_published": "2026-10-08T11:36:10.007Z",
  "_buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/37766033240",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113275394892,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11545645271"
    },
    {
      "job": 113275394858,
      "time": 124,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11544518832"
    },
    {
      "job": 113275395043,
      "time": 309,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11547451342"
    },
    {
      "job": 113275394978,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11547781261"
    },
    {
      "job": 113273929849,
      "time": 237,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11544672470"
    },
    {
      "job": 113275395009,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11544483882"
    },
    {
      "job": 113275395082,
      "time": 88,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11544354103"
    },
    {
      "job": 113275394925,
      "time": 79,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11544911624"
    },
    {
      "job": 113275395159,
      "time": 85,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11544860714"
    }
  ],
  "_upstream": "https://github.com/public-health-scotland/phsopendata",
  "_commit": {
    "id": "3427cba344c48809b932ed513f347b92b9ff27f5",
    "author": "James Hayes (né McMahon) <james.hayes2@phs.scot>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update URL in description and readme. (#126)\n\nUpdate links to the new PHS Github domain:\nhttps://code.publichealthscotland.scot/",
    "time": 1788845637
  },
  "_maintainer": {
    "name": "Csilla Scharle",
    "email": "csilla.scharle2@phs.scot",
    "login": "csillasch",
    "description": "",
    "uuid": 59616009
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "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": "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-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
    },
    {
      "week": "2026-28",
      "n": 4
    },
    {
      "week": "2026-37",
      "n": 1
    }
  ],
  "_tags": [
    {
      "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": 13,
  "_contributors": [
    {
      "user": "moohan",
      "count": 268,
      "uuid": 5982260
    },
    {
      "user": "ross-hull",
      "count": 111,
      "uuid": 117927497
    },
    {
      "user": "csillasch",
      "count": 108,
      "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",
    "followers": 232
  },
  "_downloads": {
    "count": 275,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/phsopendata"
  },
  "_devurl": "https://github.com/public-health-scotland/phsopendata",
  "_pkgdown": "https://code.publichealthscotland.scot/phsopendata/",
  "_searchresults": 31,
  "_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/phsopendata.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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.325464349547066,
  "_indexed": true,
  "_nocasepkg": "phsopendata",
  "_universes": [
    "public-health-scotland",
    "csillasch"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-10-08T10:55:52.000Z",
      "distro": "resolute",
      "commit": "3427cba344c48809b932ed513f347b92b9ff27f5",
      "fileid": "https://r2.ropensci.org/06c5a9446cace9fdfe3ed80929957097d67365a32776fc17710cc790fd764db2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/37766033240"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-10-08T10:55:46.000Z",
      "distro": "resolute",
      "commit": "3427cba344c48809b932ed513f347b92b9ff27f5",
      "fileid": "https://r2.ropensci.org/8d96af441432424eeeda5460133f6551f42813087c303e23fdd28fe288dad62a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/37766033240"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-10-08T11:32:13.000Z",
      "commit": "3427cba344c48809b932ed513f347b92b9ff27f5",
      "fileid": "https://r2.ropensci.org/941751d0e0fd09cffcc329db1608e29bcd09847bd73b9c551653f19cc6e66d03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/37766033240"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-10-08T11:35:23.000Z",
      "commit": "3427cba344c48809b932ed513f347b92b9ff27f5",
      "fileid": "https://r2.ropensci.org/57b5de4abda5a145656760b94c1fdd5b08cb6b74045503eab7ed19dc8e5c8c29",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/37766033240"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0.9000",
      "date": "2026-10-08T10:55:47.000Z",
      "commit": "3427cba344c48809b932ed513f347b92b9ff27f5",
      "fileid": "https://r2.ropensci.org/8327b774305300ea8133e792b6f047e5354a3e6eb22dffe97870b13b1b604d44",
      "status": "success",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/37766033240"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-10-08T10:54:58.000Z",
      "commit": "3427cba344c48809b932ed513f347b92b9ff27f5",
      "fileid": "https://r2.ropensci.org/753fb2b9e14958e1da2a81281f8e4fe488ba77ff8d38416f48f30d9fa8ced5bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/37766033240"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-10-08T10:54:48.000Z",
      "commit": "3427cba344c48809b932ed513f347b92b9ff27f5",
      "fileid": "https://r2.ropensci.org/2eb7bf01fcd346e44dceb4db42ced075192d409507147646456bc629c3676de2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/37766033240"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-10-08T10:54:49.000Z",
      "commit": "3427cba344c48809b932ed513f347b92b9ff27f5",
      "fileid": "https://r2.ropensci.org/1e27fa54eb17feeb82431d1a25b1d1cf3fa8185e25d7ddb15d5f21c1febbc36c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/public-health-scotland/actions/runs/37766033240"
    }
  ]
}