Skip to content

obr

0.6.0

Access 'Office for Budget Responsibility' Data

0packages depend
1.8Kdownloads / year
test coverage
9/13checks pass

Overview

About
Maintained by Charles CoverdaleFirst published 2026-03-135 releasesCRAN page ↗GitHub ↗

Provides clean, tidy access to data published by the 'Office for Budget Responsibility' ('OBR'), the UK's independent fiscal watchdog. Covers the Public Finances Databank (outturn for PSNB, PSND, receipts, and expenditure since 1946), the Historical Official Forecasts Database (every 'OBR' forecast since 2010), the Economic and Fiscal Outlook detailed forecast tables (five-year projections from the latest Budget), the monthly profiles for the public finances (the 'OBR' forecast apportioned across the months of the fiscal year), the Welfare Trends Report (incapacity benefit spending and caseloads), and the Fiscal Risks and Sustainability Report (50-year state pension projections). All returned objects carry provenance metadata recording the source URL, publication vintage, retrieval time, and file fingerprint, so analyses can be audited and reproduced. Data is downloaded from the 'OBR' on first use and cached locally for subsequent calls. Data is sourced from the 'OBR' website https://obr.uk.

Install

Health

CRAN checks
4ERROR9OK
Failing flavors
  • ERROR r-oldrel-macos-arm64
  • ERROR r-oldrel-macos-x86_64
  • ERROR r-release-macos-arm64
  • ERROR r-release-macos-x86_64
Slowest check: 3.5 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 0.36
not tracked
Coverage
100%
Documentation · exports
4
Dependencies · direct
Check history
  • ERROR2026-07-28
    9 OK · 0 NOTE · 0 WARNING · 4 ERROR · 0 FAILURE
  • OK2026-03-14
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 2,602 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
25%
Documented parameters
98%
Return-value docs
100%
References docs
0%

Downloads

1.8K
CRAN downloads in the past year
Rank #8,853 · ~5/day · ~150/mo
Daily download trend is not available in this view yet.
16130 days
1.1K90 days
1.8K1 year
Compare downloads with other packages →
Also on47 r2u2 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
0Releases
52Commits
1Contributors
52 commits · Last activity 2026-08-02 · 0% stars, 30d

Stars over time

2026-03-16 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/charlescoverdale/obr on 2026-08-03.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Research and citation (1)
CITATION.cff
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.6.0Latest
    2026-08-03 · current release · diff ↗
  • 0.5.1
    2026-07-28 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.5
    2026-04-14 · diff ↗
  • unarchivedReturned to CRAN
    2026-04-14
  • archivedRemoved from CRAN
    2026-03-30
    issues were not corrected in time
  • 0.2.4
    2026-03-17 · diff ↗
  • 0.2.2
    2026-03-13
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-13
Total releases
5 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("obr")

CRAN DOI

https://doi.org/10.32614/CRAN.package.obr

This package ships its own citation metadata, so citation() gives the form its authors ask for. Use that rather than anything derived from DESCRIPTION.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatoryobr,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {obr} version 0.6.0},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/obr},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for obr version 0.6.0 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/obr

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for obr version 0.6.0
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/obr
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/obr.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy