Skip to content

SK: editions 2018-2026 - #326

Merged
m-mohr merged 3 commits into
mainfrom
sk-editions
Sep 25, 2026
Merged

m-mohr merged 3 commits into
mainfrom
sk-editions

Conversation

@ivorbosloper

@ivorbosloper ivorbosloper commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

SK now reads the per-campaign datasets as year variants 2018-2026, mimics f3ce959 from #214.

Comment thread fiboa_cli/datasets/sk.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Restore the sequential crop:code mapping in fiboa_cli/datasets/sk.py.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Extends Slovakia dataset support to campaign-year variants from 2018–2026.

Changes:

  • Adds yearly download sources and schema normalization.
  • Expands crop mappings and conversion coverage.
  • Documents the expanded editions.

The existing sequential crop:code mapping should be restored in the Slovakia converter.

File Summary
tests/​test_convert.py Adds 2018 conversion coverage.
tests/​data-files/​convert/​sk/​sk.csv Updates Slovak crop mappings.
fiboa_cli/​datasets/​sk.py Adds yearly variants and schema handling.
CHANGELOG.md Documents expanded SK editions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread fiboa_cli/datasets/sk.py Outdated
@m-mohr
m-mohr force-pushed the sk-editions branch 2 times, most recently from 5690610 to 0af2e20 Compare September 25, 2026 12:21
@m-mohr
m-mohr changed the base branch from main to migrate-cleanup September 25, 2026 12:21
@m-mohr
m-mohr added this pull request to stack #334 September 25, 2026 12:21
@ivorbosloper

Copy link
Copy Markdown
Collaborator Author

Seems ready now

Base automatically changed from migrate-cleanup to main September 25, 2026 12:51
ivorbosloper and others added 3 commits September 25, 2026 14:51
Read the per-campaign "Hranice užívania" datasets on data.slovensko.sk
instead of one rolling download, rename the 2018/PLODINA_NA columns to the
current schema, and normalise no-break spaces in crop names so the
grassland names match the crop table. Ports f3ce959 from #214.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rgette)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@m-mohr
m-mohr merged commit 4992b9a into main Sep 25, 2026
7 checks passed
@m-mohr
m-mohr deleted the sk-editions branch September 25, 2026 12:56
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.

3 participants