Package: hmrc 0.4.1
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, 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.
Authors:
hmrc_0.4.1.tar.gz
hmrc_0.4.1.zip(r-4.7-any)hmrc_0.4.1.zip(r-4.6-any)hmrc_0.4.1.zip(r-4.5-any)
hmrc_0.4.1.tgz(r-4.6-any)hmrc_0.4.1.tgz(r-4.5-any)
hmrc_0.4.1.tar.gz(r-4.7-any)hmrc_0.4.1.tar.gz(r-4.6-any)
hmrc_0.4.1.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:d40c05ea40. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 128 | ||
| source / vignettes | OK | 182 | ||
| linux-release | OK | 118 | ||
| macos-release | OK | 86 | ||
| macos-oldrel | OK | 112 | ||
| windows-devel | OK | 96 | ||
| windows-release | OK | 62 | ||
| windows-oldrel | OK | 84 | ||
| wasm-release | OK | 97 |
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:askpasscellrangerclicpp11crayoncurlgluehmshttr2lifecyclemagrittrmintyopensslpillarpkgconfigprettyunitsprogressR6readODSreadxlrematchrlangstringisystibbletzdbutf8vctrswithrzip