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.
| Version: | 0.3.2 |
| Depends: | R (≥ 4.1.0) |
| Imports: | cli (≥ 3.6.0), httr2 (≥ 1.0.0), readODS (≥ 2.3.0), readxl (≥ 1.4.0), tools |
| Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0), ggplot2, scales |
| Published: | 2026-03-17 |
| DOI: | 10.32614/CRAN.package.hmrc |
| Author: | Charles Coverdale [aut, cre] |
| Maintainer: | Charles Coverdale <charlesfcoverdale at gmail.com> |
| BugReports: | https://github.com/charlescoverdale/hmrc/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/charlescoverdale/hmrc |
| NeedsCompilation: | no |
| Language: | en-GB |
| Citation: | hmrc citation info |
| Materials: | README, NEWS |
| CRAN checks: | hmrc results |
| Reference manual: | hmrc.html , hmrc.pdf |
| Vignettes: |
Getting UK tax data with hmrc (source, R code) |
| Package source: | hmrc_0.3.2.tar.gz |
| Windows binaries: | r-devel: hmrc_0.3.2.zip, r-release: hmrc_0.3.2.zip, r-oldrel: hmrc_0.3.2.zip |
| macOS binaries: | r-release (arm64): hmrc_0.3.2.tgz, r-oldrel (arm64): hmrc_0.3.2.tgz, r-release (x86_64): hmrc_0.3.2.tgz, r-oldrel (x86_64): hmrc_0.3.2.tgz |
| Old sources: | hmrc archive |
Please use the canonical form https://CRAN.R-project.org/package=hmrc to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.