From 5c3ed90f5e6011bd3827e1e394503ce6a51e77b3 Mon Sep 17 00:00:00 2001 From: policyengine-bot Date: Tue, 7 Apr 2026 14:46:39 +0000 Subject: [PATCH] Document restricted UK dataset access requirements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add section explaining how to access restricted FRS/WAS datasets: - Hugging Face token creation process - Separate access approval requirement via contact@policyengine.org - Need to provide HF username and UKDS-backed proof - Common 403 error and its resolution This helps future sessions understand data access failures and guide users through the proper request process. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../policyengine-uk-data-skill/SKILL.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/skills/data-science/policyengine-uk-data-skill/SKILL.md b/skills/data-science/policyengine-uk-data-skill/SKILL.md index 44dc741..fc50853 100644 --- a/skills/data-science/policyengine-uk-data-skill/SKILL.md +++ b/skills/data-science/policyengine-uk-data-skill/SKILL.md @@ -59,6 +59,28 @@ uv pip install policyengine-uk-data uv pip install -e . ``` +### Accessing Restricted UK Datasets + +The raw FRS and WAS datasets are restricted and require special access: + +**1. Create Hugging Face token:** +- Create an account at https://huggingface.co +- Generate an access token at https://huggingface.co/settings/tokens +- Store in `~/.huggingface/token` or set `HF_TOKEN` environment variable + +**2. Request dataset access:** +- Email contact@policyengine.org with: + - Your Hugging Face username + - Proof of UKDS-backed access to FRS/WAS data +- Access is granted separately from token creation +- This is required for UK Data Service restricted datasets + +**Common error:** +``` +403 Forbidden - You don't have permission to access this dataset +``` +This means your Hugging Face account hasn't been granted access yet. Creating a token is not sufficient - you must request access via contact@policyengine.org. + ## For Contributors ### Imputation Pattern