Skip to content

Add Ag Stats page and docs for agml.ag_stats - #100

Merged
js2552 merged 2 commits into
mainfrom
ag-stats
Nov 24, 2026
Merged

js2552 merged 2 commits into
mainfrom
ag-stats

Conversation

@hkaman7

@hkaman7 hkaman7 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Add an Ag Stats tab for the new agml.ag_stats subpackage, which ships on the AgML branch nass-usda-yield-data
(https://github.com/Project-AgML/AgML/tree/nass-usda-yield-data).

  • /ag-stats: an interactive page in the style of Datasets and Leaderboard. Source cards for USDA NASS and the California Crop Yield Benchmark, a filterable catalog of every table and layer with a detail modal (columns and a code snippet), and a yield trend explorer for NASS states and California counties.
  • docs/ag-stats: an "Ag Stats" sidebar section with an overview and one guide per source (NASSDataLoader, CaliCropYieldLoader).
  • scripts/generate_ag_stats.py builds static/data/ag_stats/*.json from the agml.ag_stats loaders. It is run by hand when a source changes, so the site build does not need Python.
  • A pointer from the docs Overview and an "Ag Stats" navbar item.

hkaman7 and others added 2 commits November 16, 2026 12:25
Add an Ag Stats tab for the new agml.ag_stats subpackage, which ships
on the AgML branch nass-usda-yield-data
(https://github.com/Project-AgML/AgML/tree/nass-usda-yield-data).

- /ag-stats: an interactive page in the style of Datasets and
  Leaderboard. Source cards for USDA NASS and the California Crop Yield
  Benchmark, a filterable catalog of every table and layer with a detail
  modal (columns and a code snippet), and a yield trend explorer for
  NASS states and California counties.
- docs/ag-stats: an "Ag Stats" sidebar section with an overview and one
  guide per source (NASSDataLoader, CaliCropYieldLoader).
- scripts/generate_ag_stats.py builds static/data/ag_stats/*.json from
  the agml.ag_stats loaders. It is run by hand when a source changes, so
  the site build does not need Python.
- A pointer from the docs Overview and an "Ag Stats" navbar item.
@js2552
js2552 merged commit a2920d2 into main Nov 24, 2026
1 check passed
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.

2 participants