Package: hmrc 0.4.0
hmrc: Download and Tidy 'HMRC' Statistical Data
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, fetch time, vintage, cell methods) for reproducible fiscal research. Covers monthly tax receipts (41 tax heads from 2008), '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.
Authors:
hmrc_0.4.0.tar.gz
hmrc_0.4.0.zip(r-4.7)hmrc_0.4.0.zip(r-4.6)hmrc_0.4.0.zip(r-4.5)
hmrc_0.4.0.tgz(r-4.6-any)hmrc_0.4.0.tgz(r-4.5-any)
hmrc_0.4.0.tar.gz(r-4.7-any)hmrc_0.4.0.tar.gz(r-4.6-any)
hmrc_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
hmrc/json (API)
| # Install 'hmrc' in R: |
| install.packages('hmrc', repos = c('https://charlescoverdale.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/charlescoverdale/hmrc/issues
Pkgdown/docs site:https://charlescoverdale.github.io
Last updated from:167abf3a76. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 156 | ||
| source / vignettes | OK | 197 | ||
| linux-release-x86_64 | OK | 176 | ||
| macos-release-arm64 | OK | 102 | ||
| macos-oldrel-arm64 | OK | 107 | ||
| windows-devel | OK | 79 | ||
| windows-release | OK | 74 | ||
| windows-oldrel | OK | 77 | ||
| wasm-release | OK | 120 |
Exports:clear_cacheget_corporation_taxget_fuel_dutiesget_income_tax_statsget_property_transactionsget_rd_creditsget_stamp_dutyget_tax_gapget_tax_receiptsget_tobacco_dutiesget_vathmrc_cache_infohmrc_capital_gainshmrc_clear_cachehmrc_corporation_taxhmrc_creative_industrieshmrc_fuel_dutieshmrc_income_tax_statshmrc_inheritance_taxhmrc_list_tax_headshmrc_metahmrc_patent_boxhmrc_property_transactionshmrc_publicationshmrc_rd_creditshmrc_searchhmrc_stamp_dutyhmrc_tax_gaphmrc_tax_receiptshmrc_tobacco_dutieshmrc_vatlist_tax_heads
Dependencies:askpasscellrangerclicpp11crayoncurlgluehmshttr2lifecyclemagrittrmintyopensslpillarpkgconfigprettyunitsprogressR6rappdirsreadODSreadxlrematchrlangstringisystibbletzdbutf8vctrswithrzip
