{
  "_id": "6ad5fec06b811b735aabe0f4",
  "Package": "obr",
  "Title": "Access 'Office for Budget Responsibility' Data",
  "Version": "0.6.2",
  "Authors@R": "person(\"Charles\", \"Coverdale\", email = \"charlesfcoverdale@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Provides clean, tidy access to data published by the\n'Office for Budget Responsibility' ('OBR'), the UK's\nindependent fiscal watchdog. Covers the Public Finances\nDatabank (outturn for PSNB, PSND, receipts, and expenditure\nsince 1946), the Historical Official Forecasts Database (every\n'OBR' forecast since 2010), the Economic and Fiscal Outlook\ndetailed forecast tables (five-year projections from the latest\nBudget), the monthly profiles for the public finances (the\n'OBR' forecast apportioned across the months of the fiscal\nyear), and the Welfare Trends Report (incapacity benefit\nspending and caseloads). All returned objects carry provenance\nmetadata recording the source URL, publication vintage,\nretrieval time, and file fingerprint, so analyses can be\naudited and reproduced. Data is downloaded from the 'OBR' on\nfirst use and cached locally for subsequent calls. Data is\nsourced from the 'OBR' website <https://obr.uk>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "URL": "https://charlescoverdale.github.io/obr/,\nhttps://github.com/charlescoverdale/obr",
  "BugReports": "https://github.com/charlescoverdale/obr/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://charlescoverdale.r-universe.dev",
  "Date/Publication": "2026-09-19 10:23:54 UTC",
  "RemoteUrl": "https://github.com/charlescoverdale/obr",
  "RemoteRef": "HEAD",
  "RemoteSha": "613acd6c03caedb9a95a8ba66c8be4d8be80674d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-19 11:23:16 UTC",
    "User": "root"
  },
  "Author": "Charles Coverdale [aut, cre]",
  "Maintainer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
  "_user": "charlescoverdale",
  "_type": "src",
  "_file": "obr_0.6.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/f320eab35638ccc35a077649d19cc763dd7ec3802c59349b6fe87a6eb52c47c6",
  "_filesize": 320242,
  "_sha256": "f320eab35638ccc35a077649d19cc763dd7ec3802c59349b6fe87a6eb52c47c6",
  "_expires": "2027-01-27T11:27:58.000Z",
  "_created": "2026-10-19T11:23:16.000Z",
  "_published": "2026-10-19T11:28:00.182Z",
  "_buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243858831",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 118032375301,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12183670357"
    },
    {
      "job": 118032375022,
      "time": 106,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12183245790"
    },
    {
      "job": 118032375291,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12183365532"
    },
    {
      "job": 118032375232,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12182746578"
    },
    {
      "job": 118031002800,
      "time": 205,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12182417569"
    },
    {
      "job": 118032375026,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12182417875"
    },
    {
      "job": 118032375199,
      "time": 78,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12182885607"
    },
    {
      "job": 118032375180,
      "time": 75,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12183460463"
    },
    {
      "job": 118032375205,
      "time": 77,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12183270624"
    }
  ],
  "_upstream": "https://github.com/charlescoverdale/obr",
  "_commit": {
    "id": "613acd6c03caedb9a95a8ba66c8be4d8be80674d",
    "author": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "committer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "message": "Bump llms-full.txt to 0.6.2\n\nThe hand-written reference still said 0.6.0. Nothing else in it is out\nof date: 0.6.1 and 0.6.2 changed argument validation, retry timing and\nexample wrapping, not any documented signature.\n",
    "time": 1789813434
  },
  "_maintainer": {
    "name": "Charles Coverdale",
    "email": "charlesfcoverdale@gmail.com",
    "login": "charlescoverdale",
    "linkedin": "in/charlescoverdale",
    "twitter": "@cfcoverdale",
    "description": "economics | climate science | R",
    "uuid": 21993492
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "charlescoverdale",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-10",
      "n": 15
    },
    {
      "week": "2026-11",
      "n": 9
    },
    {
      "week": "2026-12",
      "n": 3
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 10
    },
    {
      "week": "2026-19",
      "n": 9
    },
    {
      "week": "2026-31",
      "n": 4
    },
    {
      "week": "2026-33",
      "n": 1
    },
    {
      "week": "2026-34",
      "n": 4
    },
    {
      "week": "2026-38",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.2.5",
      "date": "2026-04-13"
    },
    {
      "name": "v0.6.2",
      "date": "2026-08-23"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "charlescoverdale",
      "count": 60,
      "uuid": 21993492
    }
  ],
  "_userbio": {
    "uuid": 21993492,
    "type": "user",
    "name": "Charles Coverdale",
    "followers": 16,
    "description": "economics | climate science | R"
  },
  "_downloads": {
    "count": 313,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/obr"
  },
  "_devurl": "https://github.com/charlescoverdale/obr",
  "_pkgdown": "https://charlescoverdale.github.io/obr/",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/obr.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/charlescoverdale/obr",
  "_realowner": "charlescoverdale",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.2",
      "date": "2026-03-12"
    },
    {
      "version": "0.2.4",
      "date": "2026-03-17"
    },
    {
      "version": "0.2.5",
      "date": "2026-04-14"
    },
    {
      "version": "0.5.1",
      "date": "2026-07-27"
    },
    {
      "version": "0.6.0",
      "date": "2026-08-02"
    },
    {
      "version": "0.6.2",
      "date": "2026-08-24"
    }
  ],
  "_exports": [
    "clear_cache",
    "get_efo_economy",
    "get_efo_fiscal",
    "get_efo_table",
    "get_expenditure",
    "get_forecast_revisions",
    "get_forecasts",
    "get_incapacity_caseloads",
    "get_incapacity_spending",
    "get_monthly_profiles",
    "get_pension_projections",
    "get_policy_measures",
    "get_psnb",
    "get_psnd",
    "get_public_finances",
    "get_receipts",
    "get_welfare_spending",
    "list_efo_economy_measures",
    "list_forecast_series",
    "obr_actual_vs_forecast",
    "obr_as_of",
    "obr_compare_vintages",
    "obr_efo_catalogue",
    "obr_efo_vintages",
    "obr_fiscal_rules",
    "obr_forecast_panel",
    "obr_headroom",
    "obr_pin",
    "obr_pinned",
    "obr_provenance",
    "obr_unpin",
    "policy_measures_summary"
  ],
  "_help": [
    {
      "page": "sub-.obr_tbl",
      "title": "Subset an obr_tbl, preserving provenance",
      "topics": [
        "[.obr_tbl"
      ]
    },
    {
      "page": "as.data.frame.obr_tbl",
      "title": "Coerce an obr_tbl to a plain data.frame",
      "topics": [
        "as.data.frame.obr_tbl"
      ]
    },
    {
      "page": "clear_cache",
      "title": "Clear cached OBR files",
      "concept": [
        "data access"
      ],
      "topics": [
        "clear_cache"
      ]
    },
    {
      "page": "get_efo_economy",
      "title": "Get EFO economy projections",
      "concept": [
        "EFO"
      ],
      "topics": [
        "get_efo_economy"
      ]
    },
    {
      "page": "get_efo_fiscal",
      "title": "Get EFO fiscal projections (net borrowing components)",
      "concept": [
        "EFO"
      ],
      "topics": [
        "get_efo_fiscal"
      ]
    },
    {
      "page": "get_efo_table",
      "title": "Get any EFO detailed-forecast table by id",
      "concept": [
        "EFO"
      ],
      "topics": [
        "get_efo_table"
      ]
    },
    {
      "page": "get_expenditure",
      "title": "Get Total Managed Expenditure",
      "concept": [
        "public finances"
      ],
      "topics": [
        "get_expenditure"
      ]
    },
    {
      "page": "get_forecast_revisions",
      "title": "Get OBR forecast revisions",
      "concept": [
        "forecasts"
      ],
      "topics": [
        "get_forecast_revisions"
      ]
    },
    {
      "page": "get_forecasts",
      "title": "Get OBR forecast history for a fiscal series",
      "concept": [
        "forecasts"
      ],
      "topics": [
        "get_forecasts"
      ]
    },
    {
      "page": "get_incapacity_caseloads",
      "title": "Get incapacity benefit caseloads",
      "concept": [
        "welfare"
      ],
      "topics": [
        "get_incapacity_caseloads"
      ]
    },
    {
      "page": "get_incapacity_spending",
      "title": "Get incapacity benefits spending by type",
      "concept": [
        "welfare"
      ],
      "topics": [
        "get_incapacity_spending"
      ]
    },
    {
      "page": "get_monthly_profiles",
      "title": "Get the OBR monthly profiles for the public finances",
      "concept": [
        "EFO"
      ],
      "topics": [
        "get_monthly_profiles"
      ]
    },
    {
      "page": "get_pension_projections",
      "title": "Get long-run state pension spending projections (deprecated)",
      "concept": [
        "long-term fiscal"
      ],
      "topics": [
        "get_pension_projections"
      ]
    },
    {
      "page": "get_policy_measures",
      "title": "Get OBR policy measures by fiscal event",
      "concept": [
        "policy measures"
      ],
      "topics": [
        "get_policy_measures"
      ]
    },
    {
      "page": "get_psnb",
      "title": "Get Public Sector Net Borrowing (PSNB)",
      "concept": [
        "public finances"
      ],
      "topics": [
        "get_psnb"
      ]
    },
    {
      "page": "get_psnd",
      "title": "Get Public Sector Net Debt (PSND)",
      "concept": [
        "public finances"
      ],
      "topics": [
        "get_psnd"
      ]
    },
    {
      "page": "get_public_finances",
      "title": "Get all Public Finances Databank aggregates",
      "concept": [
        "public finances"
      ],
      "topics": [
        "get_public_finances"
      ]
    },
    {
      "page": "get_receipts",
      "title": "Get public sector receipts by tax type",
      "concept": [
        "public finances"
      ],
      "topics": [
        "get_receipts"
      ]
    },
    {
      "page": "get_welfare_spending",
      "title": "Get working-age welfare spending",
      "concept": [
        "welfare"
      ],
      "topics": [
        "get_welfare_spending"
      ]
    },
    {
      "page": "list_efo_economy_measures",
      "title": "List available EFO economy measures",
      "concept": [
        "EFO"
      ],
      "topics": [
        "list_efo_economy_measures"
      ]
    },
    {
      "page": "list_forecast_series",
      "title": "List available forecast series",
      "concept": [
        "forecasts"
      ],
      "topics": [
        "list_forecast_series"
      ]
    },
    {
      "page": "obr_actual_vs_forecast",
      "title": "Pair OBR forecasts with PFD outturn",
      "concept": [
        "forecasts"
      ],
      "topics": [
        "obr_actual_vs_forecast"
      ]
    },
    {
      "page": "obr_as_of",
      "title": "Find the OBR publication that was current on a given date",
      "concept": [
        "vintage"
      ],
      "topics": [
        "obr_as_of"
      ]
    },
    {
      "page": "obr_compare_vintages",
      "title": "Compare two EFO vintages",
      "concept": [
        "forecasts"
      ],
      "topics": [
        "obr_compare_vintages"
      ]
    },
    {
      "page": "obr_efo_catalogue",
      "title": "List the EFO detailed-forecast tables this package can fetch",
      "concept": [
        "EFO"
      ],
      "topics": [
        "obr_efo_catalogue"
      ]
    },
    {
      "page": "obr_efo_vintages",
      "title": "List known OBR Economic and Fiscal Outlook vintages",
      "concept": [
        "vintage"
      ],
      "topics": [
        "obr_efo_vintages"
      ]
    },
    {
      "page": "obr_fiscal_rules",
      "title": "Get the current UK fiscal rules",
      "concept": [
        "fiscal rules"
      ],
      "topics": [
        "obr_fiscal_rules"
      ]
    },
    {
      "page": "obr_forecast_panel",
      "title": "Build a wide real-time panel of OBR forecasts",
      "concept": [
        "forecasts"
      ],
      "topics": [
        "obr_forecast_panel"
      ]
    },
    {
      "page": "obr_headroom",
      "title": "Compute the stability-rule margin from the EFO forecast",
      "concept": [
        "fiscal rules"
      ],
      "topics": [
        "obr_headroom"
      ]
    },
    {
      "page": "obr_pin",
      "title": "Pin a session-wide OBR EFO vintage",
      "concept": [
        "vintage"
      ],
      "topics": [
        "obr_pin"
      ]
    },
    {
      "page": "obr_pinned",
      "title": "Show the currently pinned OBR EFO vintage",
      "concept": [
        "vintage"
      ],
      "topics": [
        "obr_pinned"
      ]
    },
    {
      "page": "obr_provenance",
      "title": "Extract OBR provenance metadata",
      "concept": [
        "provenance"
      ],
      "topics": [
        "obr_provenance"
      ]
    },
    {
      "page": "obr_unpin",
      "title": "Clear the pinned OBR EFO vintage",
      "concept": [
        "vintage"
      ],
      "topics": [
        "obr_unpin"
      ]
    },
    {
      "page": "policy_measures_summary",
      "title": "Summarise policy measures by fiscal event",
      "concept": [
        "policy measures"
      ],
      "topics": [
        "policy_measures_summary"
      ]
    },
    {
      "page": "print.obr_tbl",
      "title": "Print an obr_tbl",
      "topics": [
        "print.obr_tbl"
      ]
    },
    {
      "page": "summary.obr_tbl",
      "title": "Summary of an obr_tbl",
      "topics": [
        "summary.obr_tbl"
      ]
    }
  ],
  "_readme": "https://github.com/charlescoverdale/obr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cellranger",
    "cli",
    "cpp11",
    "crayon",
    "curl",
    "glue",
    "hms",
    "httr2",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "readxl",
    "rematch",
    "rlang",
    "sys",
    "tibble",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "forecast-revisions.Rmd",
      "filename": "forecast-revisions.html",
      "title": "Anatomy of a forecast revision",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The decomposition",
        "Top-level revisions only",
        "Per cent of GDP",
        "Pairing with the forecast panel",
        "Worked example: PSNB 2024-25 across the full vintage history",
        "Provenance for cited results"
      ],
      "created": "2026-04-25 20:55:41",
      "modified": "2026-04-25 20:55:41",
      "commits": 1
    },
    {
      "source": "vintages.Rmd",
      "filename": "vintages.html",
      "title": "Pinning to a specific OBR publication",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The vintage table",
        "Resolving an EFO by date",
        "Pinning a session-wide vintage",
        "Downloading a specific vintage",
        "What's recorded as provenance",
        "How vintage interacts with get_forecasts()"
      ],
      "created": "2026-04-25 20:55:41",
      "modified": "2026-05-07 19:26:08",
      "commits": 2
    },
    {
      "source": "policy-measures.Rmd",
      "filename": "policy-measures.html",
      "title": "Tracking fiscal policy measures since 1970",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Pulling the database",
        "Filtering by fiscal event",
        "Searching by theme",
        "Aggregating to the Budget scorecard",
        "Worked example: contribution of each fiscal event",
        "Cross-vintage comparison"
      ],
      "created": "2026-04-25 20:55:41",
      "modified": "2026-04-25 20:55:41",
      "commits": 1
    },
    {
      "source": "efo-forecasts.Rmd",
      "filename": "efo-forecasts.html",
      "title": "Working with EFO forecasts",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The standard schema",
        "Index vs YoY: the v0.4.0 fix",
        "Combining EFO with outturn from PFD",
        "Comparing two vintages",
        "What unit covers",
        "Provenance"
      ],
      "created": "2026-05-07 19:26:08",
      "modified": "2026-07-27 19:43:40",
      "commits": 2
    }
  ],
  "_score": 5.380211241711606,
  "_indexed": true,
  "_nocasepkg": "obr",
  "_universes": [
    "charlescoverdale"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.2",
      "date": "2026-10-19T11:25:27.000Z",
      "distro": "resolute",
      "commit": "613acd6c03caedb9a95a8ba66c8be4d8be80674d",
      "fileid": "https://r2.ropensci.org/7965556b63e2b3e0e899bbf6f6fce19930d5e9c5921db131b65f6f6c11390bdc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243858831"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.2",
      "date": "2026-10-19T11:25:09.000Z",
      "distro": "resolute",
      "commit": "613acd6c03caedb9a95a8ba66c8be4d8be80674d",
      "fileid": "https://r2.ropensci.org/caccfc9244c70f90fd76939a5e08bb191b44b7ac85f746d174da86cdee2c3a2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243858831"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-10-19T11:27:25.000Z",
      "commit": "613acd6c03caedb9a95a8ba66c8be4d8be80674d",
      "fileid": "https://r2.ropensci.org/e6235e8f4c906744e24231fae7ddc6223ab71f16c3542de0a0bfc6572b836742",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243858831"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-10-19T11:27:07.000Z",
      "commit": "613acd6c03caedb9a95a8ba66c8be4d8be80674d",
      "fileid": "https://r2.ropensci.org/03389458401ec90c3b66f5161a35fb66657d6ea63479a4528e933310a3e6604c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243858831"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.2",
      "date": "2026-10-19T11:25:24.000Z",
      "commit": "613acd6c03caedb9a95a8ba66c8be4d8be80674d",
      "fileid": "https://r2.ropensci.org/c0403d7d1b55c17e17e39ec9c129b5b32ae6c5973321464b2ba4f7b0c7c29afe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243858831"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-10-19T11:24:28.000Z",
      "commit": "613acd6c03caedb9a95a8ba66c8be4d8be80674d",
      "fileid": "https://r2.ropensci.org/d8e70dba8d707c480ed0b8fbd43265adbce5dd42cb79ad56713a41fe3b79d278",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243858831"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-10-19T11:25:15.000Z",
      "commit": "613acd6c03caedb9a95a8ba66c8be4d8be80674d",
      "fileid": "https://r2.ropensci.org/daf5ee6d627f62ac73f952531a1559672dd1d0d3d26ce3cd40e2045b1e2d43b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243858831"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-10-19T11:24:27.000Z",
      "commit": "613acd6c03caedb9a95a8ba66c8be4d8be80674d",
      "fileid": "https://r2.ropensci.org/6a7498dc55f06cc625a50136c7efe6dd8bed26102879afe467404851dff8e660",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243858831"
    }
  ]
}