Skip to content

Commit 5cec168

Browse files
marcarlclaude
andcommitted
Download agency data at runtime instead of committing to repo
- Add runtime download from civictechsweden/myndighetsdata - Use myndighetsdata_fallback.json as backup when download fails - Remove agencies.json from git, add to .gitignore - Convert handlingar.json format to expected structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 63e0d89 commit 5cec168

4 files changed

Lines changed: 4749 additions & 3235 deletions

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ output/
2323
# Data directory contains source files committed to git:
2424
# - data/sfs_json/ = Käll-JSON från API
2525
# - data/md-markers/ = Markdown med selex-taggar
26-
# (nothing to ignore here, committed to git + backed up to R2)
26+
# (nothing to ignore here, committed to git + backed up to R2)
27+
28+
# Ignore downloaded agencies data (fetched at runtime)
29+
data/agencies.json

0 commit comments

Comments
 (0)