Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions chronicle/jurisdictions/uk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
"""United Kingdom Chronicle target loaders."""

from chronicle.targets.loaders import (
load_hmrc_targets,
load_obr_targets,
load_ons_targets,
)
from chronicle.targets.loaders import load_hmrc_targets

__all__ = ["load_hmrc_targets", "load_obr_targets", "load_ons_targets"]
__all__ = ["load_hmrc_targets"]
2 changes: 2 additions & 0 deletions chronicle/source_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@
"voa-council-tax-stock-by-lad-2025": Path("voa/council_tax_stock_by_lad_2025"),
"obr-efo-receipts-march-2026": Path("obr/efo_receipts_march_2026"),
"obr-efo-expenditure-march-2026": Path("obr/efo_expenditure_march_2026"),
"obr-efo-economy-march-2026": Path("obr/efo_economy_march_2026"),
"obr-efo-aggregates-march-2026": Path("obr/efo_aggregates_march_2026"),
"ons-national-balance-sheet-land-2025": Path(
"ons/national_balance_sheet_land_2025"
),
Expand Down
4 changes: 0 additions & 4 deletions chronicle/targets/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
from db.etl_cps import load_cps_targets
from db.etl_hmrc import load_hmrc_targets
from db.etl_medicaid import load_medicaid_targets
from db.etl_obr import load_obr_targets
from db.etl_ons import load_ons_targets
from db.etl_snap import load_snap_targets
from db.etl_soi import load_soi_targets
from db.etl_soi_credits import load_soi_credits_targets
Expand All @@ -26,8 +24,6 @@
"load_cps_targets",
"load_hmrc_targets",
"load_medicaid_targets",
"load_obr_targets",
"load_ons_targets",
"load_snap_targets",
"load_soi_targets",
"load_soi_credits_targets",
Expand Down
16 changes: 0 additions & 16 deletions db/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,20 +143,6 @@ def cmd_load(args):
load_cbo_targets(session, years=years)
print(f"Loaded CBO projections for years: {years or 'all available'}")

if args.source == "obr" or args.source == "all":
from .etl_obr import load_obr_targets

years = [int(y) for y in args.years.split(",")] if args.years else None
load_obr_targets(session, years=years)
print(f"Loaded OBR projections for years: {years or 'all available'}")

if args.source == "ons" or args.source == "all":
from .etl_ons import load_ons_targets

years = [int(y) for y in args.years.split(",")] if args.years else None
load_ons_targets(session, years=years)
print(f"Loaded ONS projections for years: {years or 'all available'}")


def cmd_stats(args):
"""Show database statistics."""
Expand Down Expand Up @@ -322,8 +308,6 @@ def main():
"bls",
"cps",
"cbo",
"obr",
"ons",
"all",
],
help="Data source to load",
Expand Down
Binary file not shown.
18 changes: 18 additions & 0 deletions db/data/obr/efo_aggregates_march_2026/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
source_id: obr
package_id: obr-efo-aggregates-march-2026
dataset: obr_obr-efo-aggregates-march-2026
source_page: https://obr.uk/efo/economic-and-fiscal-outlook-march-2026/
table: 'EFO March 2026 fiscal supplementary tables: aggregates'
files:
2026:
filename: efo_aggregates.xlsx
source_url: https://obr.uk/download/march-2026-economic-and-fiscal-outlook-detailed-forecast-tables-aggregates/
sha256: f9eee880e9f39cc8c86d288a803a032b735fea5f9bbd1532f26bfca898a669d9
size_bytes: 231008
fetched_at: '2026-08-19T00:00:00+00:00'
storage:
r2:
provider: r2
bucket: ledger-raw
key: raw/obr/obr-efo-aggregates-march-2026/2026/f9eee880e9f39cc8c86d288a803a032b735fea5f9bbd1532f26bfca898a669d9/efo_aggregates.xlsx
uri: r2://ledger-raw/raw/obr/obr-efo-aggregates-march-2026/2026/f9eee880e9f39cc8c86d288a803a032b735fea5f9bbd1532f26bfca898a669d9/efo_aggregates.xlsx
Binary file not shown.
18 changes: 18 additions & 0 deletions db/data/obr/efo_economy_march_2026/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
source_id: obr
package_id: obr-efo-economy-march-2026
dataset: obr_obr-efo-economy-march-2026
source_page: https://obr.uk/efo/economic-and-fiscal-outlook-march-2026/
table: 'EFO March 2026 detailed forecast tables: economy'
files:
2026:
filename: efo_economy.xlsx
source_url: https://obr.uk/download/march-2026-economic-and-fiscal-outlook-detailed-forecast-tables-economy/
sha256: fde1de4bc5424dcf16c7b5c42eb75a35198e347f54db47690e95ede7541db510
size_bytes: 483251
fetched_at: '2026-08-19T00:00:00+00:00'
storage:
r2:
provider: r2
bucket: ledger-raw
key: raw/obr/obr-efo-economy-march-2026/2026/fde1de4bc5424dcf16c7b5c42eb75a35198e347f54db47690e95ede7541db510/efo_economy.xlsx
uri: r2://ledger-raw/raw/obr/obr-efo-economy-march-2026/2026/fde1de4bc5424dcf16c7b5c42eb75a35198e347f54db47690e95ede7541db510/efo_economy.xlsx
2 changes: 1 addition & 1 deletion db/data/ons/families_households_2025/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source_id: ons
package_id: ons-families-households-2025
dataset: ons_ons-families-households-2025
source_page: https://www.ons.gov.uk/peoplepopulationandcommunity/birthsdeathsandmarriages/families/datasets/familiesandhouseholdsfamiliesandhouseholds
table: 'Families and households in the UK 2025, Table 7: households by type'
table: 'Families and households in the UK 2025, Tables 5 and 7: household size and households by type'
files:
2025:
filename: familiesandhouseholdsuk2025.xlsx
Expand Down
Loading
Loading