Digifarm CropHist
Home Map API MCP Demo
Free Technical Sample

Saskatchewan Crop History Starter Pack

Live sample exported on 2026-09-30. Downloads are ready.

100,000 Saskatchewan (Canada) fields with 2009-2025 crop history from AAFC Annual Crop Inventory, downloadable in wide and long formats, with a manifest describing the sample.

100,000
Saskatchewan fields in the published sample (of 664,235 with history)
2009-2025
history window in the published sample
17 years
annual crop-history columns per field
1,699,864
field-year rows in the long format

What Goes In The Pack

  • 100,000 field IDs sampled at random (seed 42) from all Saskatchewan fields with crop history
  • wide and long Parquet / CSV with field centroid lon/lat
  • crop codes and names in the national AAFC Annual Crop Inventory legend
  • a manifest describing source, sample size, and file inventory

Why Saskatchewan

  • Canada's largest cropland province
  • wheat / canola / pulse rotations on the Prairies
  • 17 years of AAFC Annual Crop Inventory history

Live Artifacts

ArtifactLinkPurpose
Wide Parquet (4.2 MB)/saskatchewan-sample/downloads/saskatchewan-fields-sample-wide.parquetBest starting point: one row per field, columns per year.
Long CSV (137.8 MB)/saskatchewan-sample/downloads/saskatchewan-fields-sample-long.csvTidy field-year rows for SQL, pandas and notebooks.
Long Parquet (4.1 MB)/saskatchewan-sample/downloads/saskatchewan-fields-sample-long.parquetSame as the long CSV, compressed.
Wide CSV (42.8 MB)/saskatchewan-sample/downloads/saskatchewan-fields-sample-wide.csvSpreadsheet-friendly wide version.
Field IDs (1.3 MB)/saskatchewan-sample/downloads/saskatchewan-fields-sample-field-ids.txtThe sampled field IDs, one per line, for API lookups.
Manifest (0.0 MB)/saskatchewan-sample/downloads/saskatchewan-fields-sample-manifest.jsonSource, sample design, record counts and file inventory.
Columns: field_id, state, lon, lat plus, per year, crop_code_YYYY, crop_name_YYYY, fraction_YYYY (wide) or year, crop_code, crop_name, fraction (long). Each field-year carries one class read at the field centroid, so fraction is always 1.0; it is kept so the columns match the US pack. Look any field up live with GET https://api.crophist.com/v1/field/<field_id>. Crop data: AAFC Annual Crop Inventory, Open Government Licence - Canada. Field boundaries: Digifarm.