{
  "_id": "6ae7a5e61e2c7b3a4f530b47",
  "Package": "hmrc",
  "Title": "Download and Tidy 'HMRC' Statistical Data",
  "Version": "0.4.1",
  "Authors@R": "person(\"Charles\", \"Coverdale\", , \"charlesfcoverdale@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Provides functions to download, parse, and tidy\nstatistical data published by 'HM Revenue and Customs' ('HMRC')\non 'GOV.UK'. Returns annotated 'hmrc_tbl' data frames with\nprovenance metadata (source URL, publication date, fetch time,\ncell methods) for reproducible fiscal research. Covers monthly\ntax receipts (42 series), 'VAT' (from 1973), fuel duties (from\n1990), tobacco duties (from 1991), 'Corporation Tax' receipts,\nstamp duty, research and development tax credits (from 2000),\ntax gap estimates (from 2005), 'Income Tax' liabilities by\nincome range, Capital Gains Tax, Inheritance Tax, the Patent\nBox, creative industries reliefs, and monthly property\ntransaction counts. File URLs are resolved at runtime via the\n'GOV.UK' Content API <https://www.gov.uk/api/content>, so data\nis always current without hardcoded URLs. Files are cached\nlocally between sessions.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://charlescoverdale.github.io/hmrc/,\nhttps://github.com/charlescoverdale/hmrc",
  "BugReports": "https://github.com/charlescoverdale/hmrc/issues",
  "LazyData": "true",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-01 20:47:03 UTC",
    "User": "root"
  },
  "Author": "Charles Coverdale [aut, cre]",
  "Maintainer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-01 19:48:04 UTC",
  "RemoteUrl": "https://github.com/cran/hmrc",
  "RemoteRef": "HEAD",
  "RemoteSha": "fcdc3249329cb1112ecc9b8495c1ce98ec6bd4b2",
  "_user": "cran",
  "_type": "src",
  "_file": "hmrc_0.4.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/59f38064a9d171dab24b5e7f9900033149f97442aa889be6ec875829b04db81f",
  "_filesize": 261570,
  "_sha256": "59f38064a9d171dab24b5e7f9900033149f97442aa889be6ec875829b04db81f",
  "_expires": "2027-02-09T20:49:40.000Z",
  "_created": "2026-11-01T20:47:03.000Z",
  "_published": "2026-11-01T20:49:42.351Z",
  "_upstream": "https://github.com/cran/hmrc",
  "_status": "success",
  "_maintainer": {
    "name": "Charles Coverdale",
    "email": "charlesfcoverdale@gmail.com",
    "login": "charlescoverdale",
    "linkedin": "in/charlescoverdale",
    "twitter": "@cfcoverdale",
    "description": "economics | climate science | R",
    "uuid": 21993492
  },
  "_jobs": [
    {
      "job": 124973809201,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13100058922"
    },
    {
      "job": 124973809203,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13100546259"
    },
    {
      "job": 124973007066,
      "time": 181,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13100183309"
    },
    {
      "job": 124973809243,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13099949171"
    },
    {
      "job": 124973809360,
      "time": 75,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13099829628"
    },
    {
      "job": 124973809223,
      "time": 72,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13099984026"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41348346299",
  "_commit": {
    "id": "fcdc3249329cb1112ecc9b8495c1ce98ec6bd4b2",
    "author": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.1\n",
    "time": 1793562484
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "readODS",
      "version": ">= 2.3.0",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "version": ">= 2.3.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.0",
      "date": "2026-03-12"
    },
    {
      "name": "0.3.2",
      "date": "2026-03-17"
    },
    {
      "name": "0.4.0",
      "date": "2026-04-26"
    },
    {
      "name": "0.4.1",
      "date": "2026-11-01"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "charlescoverdale",
      "count": 4,
      "uuid": 21993492
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 635,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 257,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hmrc"
  },
  "_devurl": "https://github.com/charlescoverdale/hmrc",
  "_pkgdown": "https://charlescoverdale.github.io/hmrc/",
  "_searchresults": 5,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hmrc.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/charlescoverdale/hmrc",
  "_realowner": "charlescoverdale",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2026-03-12"
    },
    {
      "version": "0.3.2",
      "date": "2026-03-17"
    },
    {
      "version": "0.4.0",
      "date": "2026-04-26"
    },
    {
      "version": "0.4.1",
      "date": "2026-11-01"
    }
  ],
  "_exports": [
    "clear_cache",
    "get_corporation_tax",
    "get_fuel_duties",
    "get_income_tax_stats",
    "get_property_transactions",
    "get_rd_credits",
    "get_stamp_duty",
    "get_tax_gap",
    "get_tax_receipts",
    "get_tobacco_duties",
    "get_vat",
    "hmrc_cache_info",
    "hmrc_capital_gains",
    "hmrc_clear_cache",
    "hmrc_corporation_tax",
    "hmrc_creative_industries",
    "hmrc_fuel_duties",
    "hmrc_income_tax_stats",
    "hmrc_inheritance_tax",
    "hmrc_list_tax_heads",
    "hmrc_meta",
    "hmrc_patent_box",
    "hmrc_property_transactions",
    "hmrc_publications",
    "hmrc_rd_credits",
    "hmrc_search",
    "hmrc_stamp_duty",
    "hmrc_tax_gap",
    "hmrc_tax_receipts",
    "hmrc_tobacco_duties",
    "hmrc_vat",
    "list_tax_heads"
  ],
  "_datasets": [
    {
      "name": "catalogue",
      "title": "HMRC dataset catalogue",
      "object": "catalogue",
      "class": [
        "data.frame"
      ],
      "fields": [
        "dataset",
        "publication",
        "function_name",
        "frequency",
        "start",
        "publisher",
        "slug",
        "url",
        "description",
        "tags"
      ],
      "rows": 23,
      "table": true,
      "tojson": true
    },
    {
      "name": "tax_heads",
      "title": "Tax head lookup table",
      "object": "tax_heads",
      "class": [
        "data.frame"
      ],
      "fields": [
        "tax_head",
        "description",
        "category",
        "available_from"
      ],
      "rows": 42,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "catalogue",
      "title": "HMRC dataset catalogue",
      "topics": [
        "catalogue"
      ]
    },
    {
      "page": "hmrc_cache_info",
      "title": "Inspect the local HMRC cache",
      "concept": [
        "infrastructure"
      ],
      "topics": [
        "hmrc_cache_info"
      ]
    },
    {
      "page": "hmrc_capital_gains",
      "title": "Download HMRC Capital Gains Tax statistics",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_capital_gains"
      ]
    },
    {
      "page": "hmrc_clear_cache",
      "title": "Clear the local HMRC data cache",
      "concept": [
        "infrastructure"
      ],
      "topics": [
        "hmrc_clear_cache"
      ]
    },
    {
      "page": "hmrc_corporation_tax",
      "title": "Download HMRC Corporation Tax receipts by type",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_corporation_tax"
      ]
    },
    {
      "page": "hmrc_creative_industries",
      "title": "Download HMRC Creative Industries tax relief statistics",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_creative_industries"
      ]
    },
    {
      "page": "hmrc_fuel_duties",
      "title": "Download HMRC hydrocarbon oil (fuel duty) receipts",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_fuel_duties"
      ]
    },
    {
      "page": "hmrc_income_tax_stats",
      "title": "Download HMRC Income Tax liabilities by income range",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_income_tax_stats"
      ]
    },
    {
      "page": "hmrc_inheritance_tax",
      "title": "Download HMRC Inheritance Tax liabilities by estate band",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_inheritance_tax"
      ]
    },
    {
      "page": "hmrc_list_tax_heads",
      "title": "List available tax heads in the HMRC Tax Receipts bulletin",
      "concept": [
        "infrastructure"
      ],
      "topics": [
        "hmrc_list_tax_heads"
      ]
    },
    {
      "page": "hmrc_meta",
      "title": "Provenance metadata of an 'hmrc_tbl'",
      "concept": [
        "infrastructure"
      ],
      "topics": [
        "hmrc_meta"
      ]
    },
    {
      "page": "hmrc_patent_box",
      "title": "Download HMRC Patent Box relief statistics",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_patent_box"
      ]
    },
    {
      "page": "hmrc_property_transactions",
      "title": "Download monthly UK property transaction counts",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_property_transactions"
      ]
    },
    {
      "page": "hmrc_publications",
      "title": "Index of HMRC publications known to the package",
      "concept": [
        "infrastructure"
      ],
      "topics": [
        "hmrc_publications"
      ]
    },
    {
      "page": "hmrc_rd_credits",
      "title": "Download HMRC R&D tax credit statistics",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_rd_credits"
      ]
    },
    {
      "page": "hmrc_search",
      "title": "Search the HMRC dataset catalogue",
      "concept": [
        "infrastructure"
      ],
      "topics": [
        "hmrc_search"
      ]
    },
    {
      "page": "hmrc_stamp_duty",
      "title": "Download HMRC stamp duty receipts",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_stamp_duty"
      ]
    },
    {
      "page": "hmrc_tax_gap",
      "title": "Download HMRC tax gap estimates",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_tax_gap"
      ]
    },
    {
      "page": "hmrc_tax_receipts",
      "title": "Download HMRC tax receipts and National Insurance contributions",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_tax_receipts"
      ]
    },
    {
      "page": "hmrc_tobacco_duties",
      "title": "Download HMRC tobacco duty receipts",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_tobacco_duties"
      ]
    },
    {
      "page": "hmrc_vat",
      "title": "Download HMRC VAT receipts",
      "concept": [
        "data fetchers"
      ],
      "topics": [
        "hmrc_vat"
      ]
    },
    {
      "page": "tax_heads",
      "title": "Tax head lookup table",
      "topics": [
        "tax_heads"
      ]
    }
  ],
  "_readme": "https://github.com/cran/hmrc/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cellranger",
    "cli",
    "cpp11",
    "crayon",
    "curl",
    "glue",
    "hms",
    "httr2",
    "lifecycle",
    "magrittr",
    "minty",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "readODS",
    "readxl",
    "rematch",
    "rlang",
    "stringi",
    "sys",
    "tibble",
    "tzdb",
    "utf8",
    "vctrs",
    "withr",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "uk-tax-receipts.Rmd",
      "filename": "uk-tax-receipts.html",
      "title": "Getting UK tax data with hmrc",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Discovery",
        "Monthly tax receipts",
        "VAT",
        "Fuel duties",
        "Tobacco duties",
        "Corporation Tax",
        "Stamp duty",
        "R&D tax credits",
        "Capital Gains Tax",
        "Inheritance Tax",
        "Patent Box",
        "Creative Industries reliefs",
        "Tax gap",
        "Income Tax liabilities",
        "Property transactions",
        "Caching"
      ],
      "created": "2026-03-12 08:50:02",
      "modified": "2026-11-01 19:48:04",
      "commits": 3
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": false,
  "_nocasepkg": "hmrc",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://charlescoverdale.r-universe.dev/hmrc",
  "_previous": "0.4.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-11-01T20:49:02.000Z",
      "distro": "resolute",
      "commit": "fcdc3249329cb1112ecc9b8495c1ce98ec6bd4b2",
      "fileid": "https://r2.ropensci.org/87cbe42bf3419161fbfdd21d46316b93fbb2fa019e8a9002218eb2491db3de4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41348346299"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-11-01T20:48:59.000Z",
      "distro": "resolute",
      "commit": "fcdc3249329cb1112ecc9b8495c1ce98ec6bd4b2",
      "fileid": "https://r2.ropensci.org/c43b8d5dcca3dd755e690303e022b717b70f9d1084a4ab11c6b20fc6aa4df60e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41348346299"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-11-01T20:48:51.000Z",
      "commit": "fcdc3249329cb1112ecc9b8495c1ce98ec6bd4b2",
      "fileid": "https://r2.ropensci.org/50eaf46b13d3d62756b2278489d19d51684031d4c72adf39c5557bdd4ee99abf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41348346299"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-11-01T20:48:10.000Z",
      "commit": "fcdc3249329cb1112ecc9b8495c1ce98ec6bd4b2",
      "fileid": "https://r2.ropensci.org/ace646b8bbaabae53db36a3fe558950f3b6bd75b4063307ef4795c98f4dec549",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41348346299"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-11-01T20:48:10.000Z",
      "commit": "fcdc3249329cb1112ecc9b8495c1ce98ec6bd4b2",
      "fileid": "https://r2.ropensci.org/08013df201f95e60e955403619269018b3a21ab50950ff32bad5a7858b0c15f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41348346299"
    }
  ]
}