Package: hmrc
Title: Download and Tidy 'HMRC' Statistical Data
Version: 0.4.1
Authors@R: 
    person("Charles", "Coverdale", , "charlesfcoverdale@gmail.com",
           role = c("aut", "cre"))
Description: Provides functions to download, parse, and tidy statistical
    data published by 'HM Revenue and Customs' ('HMRC') on 'GOV.UK'.
    Returns annotated 'hmrc_tbl' data frames with provenance metadata
    (source URL, publication date, fetch time, cell methods) for
    reproducible fiscal research. Covers monthly tax receipts (42 series),
    'VAT' (from 1973), fuel duties (from 1990), tobacco duties (from 1991),
    'Corporation Tax' receipts, stamp duty, research and development tax
    credits (from 2000), tax gap estimates (from 2005), 'Income Tax'
    liabilities by income range, Capital Gains Tax, Inheritance Tax, the
    Patent Box, creative industries reliefs, 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.
License: MIT + file LICENSE
Encoding: UTF-8
Language: en-GB
Imports: cli (>= 3.6.0), httr2 (>= 1.0.0), lifecycle (>= 1.0.0),
        readODS (>= 2.3.0), readxl (>= 1.4.0), tools, utils
Suggests: knitr, rmarkdown, testthat (>= 3.0.0), ggplot2, scales, withr
        (>= 2.3.0)
Config/testthat/edition: 3
VignetteBuilder: knitr
URL: https://charlescoverdale.github.io/hmrc/,
        https://github.com/charlescoverdale/hmrc
BugReports: https://github.com/charlescoverdale/hmrc/issues
Depends: R (>= 4.1.0)
LazyData: true
Config/roxygen2/version: 8.1.0
NeedsCompilation: no
Packaged: 2026-11-01 14:07:51 UTC; charlescoverdale
Author: Charles Coverdale [aut, cre]
Maintainer: Charles Coverdale <charlesfcoverdale@gmail.com>
Repository: CRAN
Date/Publication: 2026-11-01 15:10:15 UTC
