Skip to content

feat(postcodes/KE): bulk-import 630 Kenya postcodes via Posta Kenya (#1039)#1461

Merged
dr5hn merged 1 commit into
masterfrom
feat/postcodes-kenya
Apr 27, 2026
Merged

feat(postcodes/KE): bulk-import 630 Kenya postcodes via Posta Kenya (#1039)#1461
dr5hn merged 1 commit into
masterfrom
feat/postcodes-kenya

Conversation

@dr5hn
Copy link
Copy Markdown
Owner

@dr5hn dr5hn commented Apr 27, 2026

Summary

Adds 630 Kenya postcodes from the Posta Kenya office index sourced
from the njoguamos/kenya-postal-codes mirror.

  • Coverage: country-only by design.
  • Granularity: post-office level β€” one record per
    (5-digit code, office) pair.

Source & licence

Validation

  • python3 -m py_compile clean.
  • 100% of 630 codes match country.postal_code_regex (^(\d{5})$).
  • No auto-managed fields (id, created_at, updated_at, flag).

Test plan

  • Importer compiles and runs on a clean checkout.
  • Cross-reference validator passes (regex + country FK).
  • Idempotent merge verified.
  • CI pipeline green.

Refs #1039.

πŸ€– Generated with Claude Code

…1039)

Source: Posta Kenya (Postal Corporation of Kenya) office index
redistributed via the njoguamos/kenya-postal-codes mirror.
Ships country-only β€” source has no county/region mapping (matches
the SE/SI/ZA/GR/VN/LV precedent).

Refs #1039.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 27, 2026 13:46
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 27, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@github-actions
Copy link
Copy Markdown
Contributor

CSC Validation Report

PR Format

  • βœ… Description provided
  • βœ… Data source linked
  • βœ… Issue linked (recommended for data changes)
  • βœ… Justification / context provided

Labels applied: data:postcodes, large-contribution

⚠️ Large Contribution

This PR contains 630 records. Large contributions require manual review.

Schema Validation (630 records)

βœ… All records passed validation

Cross-Reference Validation

βœ… 630 reference(s) verified

Source URL Verification

βœ… 2 source URL(s) accessible


βœ… All checks passed | Status: Ready for review

@dr5hn dr5hn merged commit 2c46810 into master Apr 27, 2026
1 check passed
@dr5hn dr5hn deleted the feat/postcodes-kenya branch April 27, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:postcodes enhancement New feature or request large-contribution ready-for-review size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants