Skip to content

Add GCS download support for LCFS, SPI, WAS#4

Merged
nikhilwoodruff merged 2 commits intomainfrom
gcs-multi-dataset
Apr 2, 2026
Merged

Add GCS download support for LCFS, SPI, WAS#4
nikhilwoodruff merged 2 commits intomainfrom
gcs-multi-dataset

Conversation

@nikhilwoodruff
Copy link
Copy Markdown
Contributor

Summary

  • Upload LCFS/2026, SPI/2026, WAS/2026 clean CSVs to gs://policyengine-uk-microdata
  • Extend data.py with ensure_dataset(dataset, year) supporting all four datasets
  • download_all() now accepts a datasets kwarg; defaults to all four
  • Backwards-compatible: ensure_year() and ensure_frs() unchanged

Usage

from policyengine_uk_compiled.data import ensure_dataset
path = ensure_dataset("lcfs", 2026)  # auto-downloads if missing

@nikhilwoodruff nikhilwoodruff merged commit 5e41f8d into main Apr 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant