Skip to content

hmrc

Download and Tidy 'HMRC' Statistical Data

v0.3.2 · Mar 17, 2026 · MIT + file LICENSE

Description

Provides functions to download, parse, and tidy statistical data published by 'HM Revenue and Customs' ('HMRC') on 'GOV.UK'. Covers monthly tax receipts (41 tax heads from 2016), VAT (from 1973), fuel duties (from 1990), tobacco duties (from 1991), annual Corporation Tax receipts, stamp duty, research and development tax credit statistics (from 2000), tax gap estimates, Income Tax liabilities by income range, and monthly property transaction counts. File URLs are resolved at runtime via the 'GOV.UK' Content API <https://www.gov.uk/api/content>, so data is always current without hardcoded URLs. Files are cached locally between sessions.

Downloads

482

Last 30 days

8095th

482

Last 90 days

482

Last year

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 2 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 12, 2026

Dependency Network

Dependencies Reverse dependencies cli httr2 readODS readxl hmrc

Version History

updated 0.3.2 ← 0.3.0 diff Mar 17, 2026
new 0.3.0 Mar 12, 2026