feat(visa-sponsors): Canada provider (ESDC positive LMIA employers)#664
Open
type0labs-dev wants to merge 1 commit into
Open
feat(visa-sponsors): Canada provider (ESDC positive LMIA employers)#664type0labs-dev wants to merge 1 commit into
type0labs-dev wants to merge 1 commit into
Conversation
Employers issued a positive Labour Market Impact Assessment in the latest published quarter. The newest English XLSX is resolved through the CKAN API (quarters have shipped as XLSX since 2021), parsed with a minimal sheet extractor built on fflate (promoted from transitive to a direct orchestrator dependency). Columns are mapped by header name to survive layout drift across years. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Owner
|
small finding on this one, other than the merge conflict The workbook has multiple rows per employer, but search keeps only the first one. This means the positions and streams shown can be incomplete. Maybe aggregate rows by employer? sum approved positions, combine unique streams, and use “Multiple locations” when needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a
cavisa-sponsor provider backed by ESDC's positive LMIA employers list — employers issued a positive Labour Market Impact Assessment, i.e. cleared to hire temporary foreign workers.package_show), never a hardcoded URL: newest EnglishYYYYQn…Positive…resource wins. Note: quarters have shipped as XLSX since 2021 (the CSVs on the dataset stop at 2020Q3), so a minimal sheet extractor (shared strings + inline values, ~70 lines) was added on top offflate— promoted from transitive to a direct orchestrator dependency (0 new packages in the lockfile).route= program stream (High Wage / Low Wage / etc.),typeRating= "LMIA positive employer (2025Q4: N approved positions)", city parsed from the address, province in the county field.Evidence
Checks
biome ci .clean · shared + orchestrator typechecks · provider tests 6/6 · same 5 pre-existing client test files fail on clean main in my env (locale/timing), unrelated. Docs table conflicts trivially with #662/#663 — happy to rebase whichever lands last.🤖 Generated with Claude Code