🚜 ag¶
USDA agricultural economics: crop production and livestock inventory (NASS QuickStats), Census of Agriculture farm counts/size and NASS Land Values survey (NASS QuickStats), farm income and wealth (ERS), and crop insurance experience (RMA Summary of Business); USDA FAS weekly Export Sales Reporting (net sales, outstanding sales, and shipments by commodity and destination country, published every Thursday); plus USGS estimated agricultural pesticide use by county (NAWQA Pesticide National Synthesis Project). County- and state-level, joinable to geo.counties / geo.state_ref via state_fips_code + county_code, to disasters (drought/storm) for yield-impact analysis, and to econ.fred_indicators for commodity-price context.
15 datasets · 301 columns
nass_crop_production · table¶
USDA NASS QuickStats field-crop statistics — production, area planted, area harvested, yield, condition, and progress — by county, state, and nation (agg_level_desc COUNTY, STATE, NATIONAL; NATIONAL rows carry state_alpha 'US' and state_fips_code '99', with a null county_fips). NASS publishes its own national estimate, which is not the sum of the state rows, so use NATIONAL rather than summing states for a national series. Tall layout — filter statisticcat_desc for a specific measure and unit_desc for its unit; reference_period_desc is annual ('YEAR') for production/yield/area but weekly ('WEEK #nn') or monthly for condition/progress measures, so filter statisticcat_desc before comparing reference_period_desc across rows. NassQuickStatsTransformer drops the in-season vintages NASS also publishes for production/yield/area (reference_period_desc 'YEAR - AUG/SEP/OCT/NOV FORECAST' or 'YEAR - JAN/MAR/JUN/AUG/ SEP/OCT/DEC ACREAGE') so this table carries only each year's final published annual estimate for those measures, not every in-season revision. agg_level_desc carries COUNTY and STATE rows for the same commodity/year side by side, each independently summing to the true total (COUNTY rows for a state already sum to that state's STATE row, including 'OTHER (COMBINED) COUNTIES' placeholder rows — one per asd_code — for counties NASS suppresses from individual disclosure); filter to a single agg_level_desc before aggregating, since summing across levels multiplies the total. PRODUCTION additionally carries a parallel unit_desc='$' series (crop value) alongside the physical unit_desc='BU' series for the same key; filter unit_desc to one before summing — combining agg_level_desc and unit_desc unfiltered inflates a national PRODUCTION total roughly 5x. domain_desc/domaincat_desc and class_desc are further crosstab dimensions, not row-count noise — 'TOTAL'/'ALL CLASSES' is the aggregate row, everything else is a breakdown (e.g. domain_desc 'ECONOMIC CLASS', class_desc a named cultivar); filter both to 'TOTAL'/'ALL CLASSES' for a single per-geography annual figure. Likewise prodn_practice_desc/util_practice_desc distinguish irrigated-vs-not and grain-vs-silage submeasures — filter to 'ALL PRODUCTION PRACTICES'/the desired utilization for a single total. source_desc is 'SURVEY' (the continuous annual series) or 'CENSUS' (the quinquennial Census of Agriculture, years ending 2 or 7); most CENSUS rows have no SURVEY counterpart and carry commodities/geographies SURVEY doesn't cover, but where both report the identical annual total ('TOTAL'/'YEAR') for the same commodity/class/practice/ geography, NassQuickStatsTransformer drops the CENSUS duplicate so the annual series stays single-valued and comparable year over year. Joins to geo.counties via the derived county_fips column and to geo.state_ref via state_fips_code; also joinable to disasters drought/storm tables by county+year for yield-impact analysis. For the current season's weekly condition and progress with week-ending dates and national rows, use nass_crop_progress.
| Column | Type | Null | Description |
|---|---|---|---|
year |
integer | no | Data year (partition column) |
source_ |
string | yes | Program source: CENSUS (5-yearly, county-dense) or SURVEY (annual) |
sector_ |
string | yes | NASS sector (CROPS or ANIMALS & PRODUCTS) |
group_ |
string | yes | Commodity group (e.g. FIELD CROPS, LIVESTOCK, POULTRY) |
commodity_ |
string | yes | Commodity (CORN, SOYBEANS, CATTLE, HOGS, ...) |
class_ |
string | yes | Commodity class (e.g. ALL CLASSES, GRAIN) |
prodn_ |
string | yes | Production practice (e.g. ALL PRODUCTION PRACTICES, IRRIGATED) |
util_ |
string | yes | Utilization practice (e.g. GRAIN, SILAGE) |
statisticcat_ |
string | yes | Statistic category (PRODUCTION, AREA HARVESTED, AREA PLANTED, YIELD, INVENTORY) |
domain_ |
string | yes | Domain (TOTAL or a breakdown dimension) |
domaincat_ |
string | yes | Domain category value |
short_ |
string | yes | Full data-item description (the NASS "short_desc") |
unit_ |
string | yes | Unit of the value (BU, LB, TONS, HEAD, ACRES, ...) |
agg_ |
string | yes | Geographic aggregation level (COUNTY or STATE) |
state_ |
string | yes | USPS state abbreviation |
state_ |
string | yes | 2-digit state FIPS code (FK to geo.state_ref.state_fips) |
state_ |
string | yes | State ANSI code |
state_ |
string | yes | State name |
asd_ |
string | yes | Agricultural statistics district code |
asd_ |
string | yes | Agricultural statistics district name |
county_ |
string | yes | County ANSI code |
county_ |
string | yes | 3-digit county FIPS code within state |
county_ |
string | yes | 5-digit county FIPS (state+county, derived) — FK to geo.counties.county_fips |
county_ |
string | yes | County name (empty for state-level rows) |
value |
double | yes | Numeric statistic value (null when NASS suppressed it; see value_flag) |
value_ |
string | yes | NASS suppression marker when value is null: (D) disclosure, (Z) rounds to zero, (X), (NA) |
cv_ |
double | yes | Coefficient of variation (%) of the estimate, when published |
freq_ |
string | yes | Frequency (ANNUAL, ...) |
reference_ |
string | yes | Reference period (YEAR, MARKETING YEAR, ...) |
load_ |
string | yes | NASS record load timestamp |
nass_crop_progress · table¶
USDA NASS weekly Crop Progress report, national and by state, for field crops — CONDITION (percent of acreage rated very poor / poor / fair / good / excellent) and PROGRESS (percent planted, emerged, blooming, harvested, ...). One row per (week_ending, commodity, class, practice, data item, geography). Filter statisticcat_desc and unit_desc: the condition units sum to 100 for a given week, commodity and geography; progress units do not. week_ending is the Sunday the survey week closes (NASS releases the report the following Monday), so it joins directly to weekly series such as cftc.cot_disaggregated_futures.report_date. The current season loads as it is published. Season coverage varies by commodity and state (e.g. corn April-November) and the ratings series begin per commodity in the 1980s or later; NATIONAL rows carry the acreage-weighted US rating, which cannot be rebuilt from state rows. Annual county/state production, yield and area are in nass_crop_production.
| Column | Type | Null | Description |
|---|---|---|---|
year |
integer | no | Calendar year of the survey week (partition column) |
week_ |
date | yes | Sunday the survey week ends — join key to weekly series such as cot_disaggregated_futures.report_date |
reference_ |
string | yes | NASS week number within the year ("WEEK |
freq_ |
string | yes | Reporting frequency (WEEKLY) |
source_ |
string | yes | Program source (SURVEY) |
sector_ |
string | yes | NASS sector (CROPS) |
group_ |
string | yes | Commodity group (FIELD CROPS) |
commodity_ |
string | yes | Commodity (CORN, SOYBEANS, WHEAT, COTTON, ...) |
class_ |
string | yes | Commodity class (ALL CLASSES, WINTER, SPRING, ...) |
prodn_ |
string | yes | Production practice (ALL PRODUCTION PRACTICES, IRRIGATED, ...) |
util_ |
string | yes | Utilization practice (GRAIN, SILAGE, ...) |
statisticcat_ |
string | yes | CONDITION (rating percentages) or PROGRESS (stage-completion percentages) |
domain_ |
string | yes | Domain (TOTAL) |
domaincat_ |
string | yes | Domain category |
short_ |
string | yes | NASS data-item label, e.g. "CORN - CONDITION, MEASURED IN PCT GOOD" |
unit_ |
string | yes | Unit — PCT VERY POOR/POOR/FAIR/GOOD/EXCELLENT for CONDITION; PCT PLANTED, PCT EMERGED, PCT HARVESTED, ... for PROGRESS |
agg_ |
string | yes | Geographic level: NATIONAL or STATE |
state_ |
string | yes | State postal code; US for NATIONAL rows |
state_ |
string | yes | State FIPS code; 99 for NATIONAL rows |
state_ |
string | yes | State name; US TOTAL for NATIONAL rows |
value |
double | yes | Percent of acreage in the category (0-100) |
value_ |
string | yes | Suppression marker when value is null |
cv_ |
double | yes | Coefficient of variation, percent |
load_ |
string | yes | NASS record load timestamp |
nass_livestock_inventory · table¶
USDA NASS QuickStats livestock and poultry inventory head counts by county and state, annual — cattle, hogs, sheep, chickens, turkeys, etc. Fetched with statisticcat_desc=INVENTORY only, so production/marketings for animals & products are not in this table. Tall layout; use commodity_desc + class_desc for a specific animal class and unit_desc for the unit (HEAD). reference_period_desc cadence varies by series: most classes report one annual snapshot ('FIRST OF JAN'), but on-feed cattle classes report a separate row per month ('FIRST OF JAN' through 'FIRST OF DEC') — summing across reference_period_desc for those classes double-, triple-, or 12x-counts the same animals rather than adding distinct populations. Filter to a single reference_period_desc before aggregating. Joins to geo.counties via the derived county_fips column and to geo.state_ref via state_fips_code.
| Column | Type | Null | Description |
|---|---|---|---|
year |
integer | no | Data year (partition column) |
source_ |
string | yes | Program source: CENSUS (5-yearly, county-dense) or SURVEY (annual) |
sector_ |
string | yes | NASS sector (CROPS or ANIMALS & PRODUCTS) |
group_ |
string | yes | Commodity group (e.g. FIELD CROPS, LIVESTOCK, POULTRY) |
commodity_ |
string | yes | Commodity (CORN, SOYBEANS, CATTLE, HOGS, ...) |
class_ |
string | yes | Commodity class (e.g. ALL CLASSES, GRAIN) |
prodn_ |
string | yes | Production practice (e.g. ALL PRODUCTION PRACTICES, IRRIGATED) |
util_ |
string | yes | Utilization practice (e.g. GRAIN, SILAGE) |
statisticcat_ |
string | yes | Statistic category (PRODUCTION, AREA HARVESTED, AREA PLANTED, YIELD, INVENTORY) |
domain_ |
string | yes | Domain (TOTAL or a breakdown dimension) |
domaincat_ |
string | yes | Domain category value |
short_ |
string | yes | Full data-item description (the NASS "short_desc") |
unit_ |
string | yes | Unit of the value (BU, LB, TONS, HEAD, ACRES, ...) |
agg_ |
string | yes | Geographic aggregation level (COUNTY or STATE) |
state_ |
string | yes | USPS state abbreviation |
state_ |
string | yes | 2-digit state FIPS code (FK to geo.state_ref.state_fips) |
state_ |
string | yes | State ANSI code |
state_ |
string | yes | State name |
asd_ |
string | yes | Agricultural statistics district code |
asd_ |
string | yes | Agricultural statistics district name |
county_ |
string | yes | County ANSI code |
county_ |
string | yes | 3-digit county FIPS code within state |
county_ |
string | yes | 5-digit county FIPS (state+county, derived) — FK to geo.counties.county_fips |
county_ |
string | yes | County name (empty for state-level rows) |
value |
double | yes | Numeric statistic value (null when NASS suppressed it; see value_flag) |
value_ |
string | yes | NASS suppression marker when value is null: (D) disclosure, (Z) rounds to zero, (X), (NA) |
cv_ |
double | yes | Coefficient of variation (%) of the estimate, when published |
freq_ |
string | yes | Frequency (ANNUAL, ...) |
reference_ |
string | yes | Reference period (YEAR, MARKETING YEAR, ...) |
load_ |
string | yes | NASS record load timestamp |
nass_farm_operations · table¶
USDA NASS QuickStats farm counts and farm-size distribution — Census of Agriculture (source_desc=CENSUS, every 5 years: 1997, 2002, 2007, 2012, 2017, 2022; county- and state-level) plus the annual "Farms and Land in Farms" survey (source_desc=SURVEY, state-level only). Tall layout: filter domain_desc='AREA OPERATED' + statisticcat_desc='OPERATIONS' for farm count by acreage size class (domaincat_desc, e.g. 'AREA OPERATED: (1,000 OR MORE ACRES)'), domain_desc='ECONOMIC CLASS' for farm count by sales-value size class, or domain_desc='TOTAL' + statisticcat_desc='OPERATIONS' for the plain total farm count. statisticcat_desc='AREA OPERATED' carries acres operated (farm size in acres, not a count) under the same domain breakdowns. Also carries organic-status, financing-source, and NAICS-classification breakdowns for the same farm population — filter statisticcat_desc/domain_desc for the measure needed. Joins to geo.counties via the derived county_fips column and to geo.state_ref via state_fips_code; combine with nass_land_values (land value per acre) for farm-consolidation-vs-land-value analysis.
| Column | Type | Null | Description |
|---|---|---|---|
year |
integer | no | Data year (partition column) |
source_ |
string | yes | Program source: CENSUS (5-yearly, county-dense) or SURVEY (annual) |
sector_ |
string | yes | NASS sector (CROPS or ANIMALS & PRODUCTS) |
group_ |
string | yes | Commodity group (e.g. FIELD CROPS, LIVESTOCK, POULTRY) |
commodity_ |
string | yes | Commodity (CORN, SOYBEANS, CATTLE, HOGS, ...) |
class_ |
string | yes | Commodity class (e.g. ALL CLASSES, GRAIN) |
prodn_ |
string | yes | Production practice (e.g. ALL PRODUCTION PRACTICES, IRRIGATED) |
util_ |
string | yes | Utilization practice (e.g. GRAIN, SILAGE) |
statisticcat_ |
string | yes | Statistic category (PRODUCTION, AREA HARVESTED, AREA PLANTED, YIELD, INVENTORY) |
domain_ |
string | yes | Domain (TOTAL or a breakdown dimension) |
domaincat_ |
string | yes | Domain category value |
short_ |
string | yes | Full data-item description (the NASS "short_desc") |
unit_ |
string | yes | Unit of the value (BU, LB, TONS, HEAD, ACRES, ...) |
agg_ |
string | yes | Geographic aggregation level (COUNTY or STATE) |
state_ |
string | yes | USPS state abbreviation |
state_ |
string | yes | 2-digit state FIPS code (FK to geo.state_ref.state_fips) |
state_ |
string | yes | State ANSI code |
state_ |
string | yes | State name |
asd_ |
string | yes | Agricultural statistics district code |
asd_ |
string | yes | Agricultural statistics district name |
county_ |
string | yes | County ANSI code |
county_ |
string | yes | 3-digit county FIPS code within state |
county_ |
string | yes | 5-digit county FIPS (state+county, derived) — FK to geo.counties.county_fips |
county_ |
string | yes | County name (empty for state-level rows) |
value |
double | yes | Numeric statistic value (null when NASS suppressed it; see value_flag) |
value_ |
string | yes | NASS suppression marker when value is null: (D) disclosure, (Z) rounds to zero, (X), (NA) |
cv_ |
double | yes | Coefficient of variation (%) of the estimate, when published |
freq_ |
string | yes | Frequency (ANNUAL, ...) |
reference_ |
string | yes | Reference period (YEAR, MARKETING YEAR, ...) |
load_ |
string | yes | NASS record load timestamp |
nass_aquaculture · table¶
USDA NASS QuickStats aquaculture (farmed fish and shellfish): number of operations, sales ($, pounds, head), production, inventory, price received and water area (acres, ponds, tanks, raceways, cages) by species group and state. commodity_desc is the species group (FOOD FISH, CRUSTACEANS, MOLLUSKS, BAITFISH, ORNAMENTAL FISH, SPORT FISH, AQUACULTURE TOTALS); class_desc and short_desc carry the species (e.g. 'FOOD FISH, CATFISH - SALES, MEASURED IN $', 'FOOD FISH, TROUT', salmon, tilapia, shrimp, oysters). source_desc=CENSUS rows come from the Census of Aquaculture (irregular: 1998, 2005, 2013, 2018, 2023 where published; state-level with some county rows), source_desc=SURVEY rows are annual USDA surveys (catfish and trout production, available most years 2010 onward). Filter statisticcat_desc ('SALES', 'OPERATIONS', 'PRODUCTION', 'INVENTORY', 'AREA OF WATER') and unit_desc ('$', 'LB', 'HEAD', 'OPERATIONS', 'ACRES') before aggregating: one species appears under several measures and units, and parent-species rows (FOOD FISH) already include the child species rows (CATFISH, TROUT), so summing across short_desc double-counts. Suppressed cells have value NULL with value_flag '(D)'. Joins to geo.state_ref via state_fips_code. Complements fisheries.noaa_commercial_landings (wild catch) for total seafood supply; species names are NASS wording and are not harmonized with NOAA species codes.
| Column | Type | Null | Description |
|---|---|---|---|
year |
integer | no | Data year (partition column) |
source_ |
string | yes | Program source: CENSUS (5-yearly, county-dense) or SURVEY (annual) |
sector_ |
string | yes | NASS sector (CROPS or ANIMALS & PRODUCTS) |
group_ |
string | yes | Commodity group (e.g. FIELD CROPS, LIVESTOCK, POULTRY) |
commodity_ |
string | yes | Commodity (CORN, SOYBEANS, CATTLE, HOGS, ...) |
class_ |
string | yes | Commodity class (e.g. ALL CLASSES, GRAIN) |
prodn_ |
string | yes | Production practice (e.g. ALL PRODUCTION PRACTICES, IRRIGATED) |
util_ |
string | yes | Utilization practice (e.g. GRAIN, SILAGE) |
statisticcat_ |
string | yes | Statistic category (PRODUCTION, AREA HARVESTED, AREA PLANTED, YIELD, INVENTORY) |
domain_ |
string | yes | Domain (TOTAL or a breakdown dimension) |
domaincat_ |
string | yes | Domain category value |
short_ |
string | yes | Full data-item description (the NASS "short_desc") |
unit_ |
string | yes | Unit of the value (BU, LB, TONS, HEAD, ACRES, ...) |
agg_ |
string | yes | Geographic aggregation level (COUNTY or STATE) |
state_ |
string | yes | USPS state abbreviation |
state_ |
string | yes | 2-digit state FIPS code (FK to geo.state_ref.state_fips) |
state_ |
string | yes | State ANSI code |
state_ |
string | yes | State name |
asd_ |
string | yes | Agricultural statistics district code |
asd_ |
string | yes | Agricultural statistics district name |
county_ |
string | yes | County ANSI code |
county_ |
string | yes | 3-digit county FIPS code within state |
county_ |
string | yes | 5-digit county FIPS (state+county, derived) — FK to geo.counties.county_fips |
county_ |
string | yes | County name (empty for state-level rows) |
value |
double | yes | Numeric statistic value (null when NASS suppressed it; see value_flag) |
value_ |
string | yes | NASS suppression marker when value is null: (D) disclosure, (Z) rounds to zero, (X), (NA) |
cv_ |
double | yes | Coefficient of variation (%) of the estimate, when published |
freq_ |
string | yes | Frequency (ANNUAL, ...) |
reference_ |
string | yes | Reference period (YEAR, MARKETING YEAR, ...) |
load_ |
string | yes | NASS record load timestamp |
location_ |
string | yes | NASS location label; distinguishes sub-state geographies (districts/villages in PUERTO RICO & OUTLYING AREAS rows, multi-state regions) that share one state_alpha |
nass_land_values · table¶
USDA NASS QuickStats agricultural land value and tenure statistics. The farm-consolidation-vs-land-value question this table exists for: filter source_desc='SURVEY' + statisticcat_desc='ASSET VALUE' + unit_desc='$ / ACRE' for the annual per-acre land value series (class_desc breaks it out by 'AG LAND, INCL BUILDINGS', 'CROPLAND', 'CROPLAND, IRRIGATED', 'CROPLAND, NON-IRRIGATED', 'PASTURELAND'), state-level only (agg_level_desc never COUNTY for the survey). source_desc='CENSUS' rows (every 5 years: 1997, 2002, 2007, 2012, 2017, 2022) additionally carry county-level ag-land area, farm-operation counts on that land, and landlord/tenant statistics (statisticcat_desc AREA/OPERATIONS/TENANTS) — a different, land-tenure-focused angle from nass_farm_operations' farm-population angle. Joins to geo.counties via the derived county_fips column and to geo.state_ref via state_fips_code; combine with nass_farm_operations (farm count/size) for farm-consolidation-vs-land-value analysis.
| Column | Type | Null | Description |
|---|---|---|---|
year |
integer | no | Data year (partition column) |
source_ |
string | yes | Program source: CENSUS (5-yearly, county-dense) or SURVEY (annual) |
sector_ |
string | yes | NASS sector (CROPS or ANIMALS & PRODUCTS) |
group_ |
string | yes | Commodity group (e.g. FIELD CROPS, LIVESTOCK, POULTRY) |
commodity_ |
string | yes | Commodity (CORN, SOYBEANS, CATTLE, HOGS, ...) |
class_ |
string | yes | Commodity class (e.g. ALL CLASSES, GRAIN) |
prodn_ |
string | yes | Production practice (e.g. ALL PRODUCTION PRACTICES, IRRIGATED) |
util_ |
string | yes | Utilization practice (e.g. GRAIN, SILAGE) |
statisticcat_ |
string | yes | Statistic category (PRODUCTION, AREA HARVESTED, AREA PLANTED, YIELD, INVENTORY) |
domain_ |
string | yes | Domain (TOTAL or a breakdown dimension) |
domaincat_ |
string | yes | Domain category value |
short_ |
string | yes | Full data-item description (the NASS "short_desc") |
unit_ |
string | yes | Unit of the value (BU, LB, TONS, HEAD, ACRES, ...) |
agg_ |
string | yes | Geographic aggregation level (COUNTY or STATE) |
state_ |
string | yes | USPS state abbreviation |
state_ |
string | yes | 2-digit state FIPS code (FK to geo.state_ref.state_fips) |
state_ |
string | yes | State ANSI code |
state_ |
string | yes | State name |
asd_ |
string | yes | Agricultural statistics district code |
asd_ |
string | yes | Agricultural statistics district name |
county_ |
string | yes | County ANSI code |
county_ |
string | yes | 3-digit county FIPS code within state |
county_ |
string | yes | 5-digit county FIPS (state+county, derived) — FK to geo.counties.county_fips |
county_ |
string | yes | County name (empty for state-level rows) |
value |
double | yes | Numeric statistic value (null when NASS suppressed it; see value_flag) |
value_ |
string | yes | NASS suppression marker when value is null: (D) disclosure, (Z) rounds to zero, (X), (NA) |
cv_ |
double | yes | Coefficient of variation (%) of the estimate, when published |
freq_ |
string | yes | Frequency (ANNUAL, ...) |
reference_ |
string | yes | Reference period (YEAR, MARKETING YEAR, ...) |
load_ |
string | yes | NASS record load timestamp |
rma_crop_insurance · table¶
USDA RMA Summary of Business — crop insurance experience by state, county, crop, insurance plan, coverage category, delivery type, and coverage level. Policies, acres, liability, premium, subsidy, indemnity, and loss ratio. Joins to geo.counties via county_fips and to disasters storm/drought tables by county+year for loss attribution.
| Column | Type | Null | Description |
|---|---|---|---|
year |
int | no | Commodity (crop insurance) year — partition column |
state_ |
string | yes | 2-digit state FIPS (FK to geo.state_ref.state_fips) |
state_ |
string | yes | USPS state abbreviation |
county_ |
string | yes | 3-digit county code within state |
county_ |
string | yes | 5-digit county FIPS (state+county, derived) — FK to geo.counties.county_fips |
county_ |
string | yes | County name |
commodity_ |
string | yes | RMA commodity code |
commodity_ |
string | yes | Insured crop name |
insurance_ |
string | yes | Insurance plan code |
insurance_ |
string | yes | Insurance plan abbreviation (YP, APH, RP, ...) |
coverage_ |
string | yes | Coverage category (A=Buyup, C=CAT, E=Existing, L=Limited) |
delivery_ |
string | yes | Delivery type (RCAT/RBUP/FCAT/FBUP) |
coverage_ |
double | yes | Coverage level as a decimal fraction (e.g. 0.65) |
policies_ |
long | yes | Number of policies sold |
policies_ |
long | yes | Policies earning premium |
policies_ |
long | yes | Policies indemnified |
units_ |
long | yes | Insured units earning premium |
units_ |
long | yes | Insured units indemnified |
quantity_ |
string | yes | Unit of net_reported_quantity (Acres, Tons, Pounds, ...) |
net_ |
double | yes | Net reported quantity (in quantity_type units; the net reporting level) |
endorsed_ |
double | yes | Endorsed/companion acres |
liability_ |
double | yes | Total liability (USD) |
total_ |
double | yes | Total premium (USD) |
subsidy_ |
double | yes | Federal premium subsidy (USD) |
state_ |
double | yes | State/private subsidy (USD) |
additional_ |
double | yes | Additional subsidy (USD) |
efa_ |
double | yes | EFA premium discount (USD) |
indemnity_ |
double | yes | Indemnity paid (USD; signed) |
loss_ |
double | yes | Loss ratio (indemnity / total premium) |
rma_cause_of_loss · table¶
USDA RMA Cause of Loss — crop insurance experience by state, county, crop, insurance plan, coverage category, growth stage, cause of loss (peril), and month of loss. Policies, acres, liability, premium, subsidy, indemnity, and loss ratio broken out per peril (e.g. Drought, Excess Moisture/Precip/Rain, Hail, Freeze) — the field rma_crop_insurance's Summary of Business extract does not carry. Use this table, not rma_crop_insurance, to attribute indemnities to a specific cause; sum indemnity_amount across causes for a state/county/crop/year and it reconciles to rma_crop_insurance's total. Unlike rma_crop_insurance, RMA does not publish a quantity unit (quantity_type) for this file's acreage/production fields. Joins to geo.counties via county_fips and to disasters storm/drought tables by county+year for loss attribution.
| Column | Type | Null | Description |
|---|---|---|---|
year |
int | no | Commodity (crop insurance) year — partition column |
state_ |
string | yes | 2-digit state FIPS (FK to geo.state_ref.state_fips) |
state_ |
string | yes | USPS state abbreviation |
county_ |
string | yes | 3-digit county code within state |
county_ |
string | yes | 5-digit county FIPS (state+county, derived) — FK to geo.counties.county_fips |
county_ |
string | yes | County name |
commodity_ |
string | yes | RMA commodity code |
commodity_ |
string | yes | Insured crop name |
insurance_ |
string | yes | Insurance plan code |
insurance_ |
string | yes | Insurance plan abbreviation (YP, APH, RP, ...) |
coverage_ |
string | yes | Coverage category (A=Buyup, C=CAT, E=Existing, L=Limited) |
stage_ |
string | yes | Crop growth stage at time of loss (RMA Stage Code Listing). Blank/null for plans with no crop growth stage (e.g. WFRP, DO, TDO, AQDOL, and some HIP-WI commodity rows) — confirmed live, not a parsing gap. |
cause_ |
string | yes | RMA code identifying the peril that caused the loss. "XX" (All Other Causes) is an annual rollup of minor perils with no specific month/year of loss -- see month_of_loss/year_of_loss. |
cause_ |
string | yes | Cause-of-loss description (e.g. Drought, Excess Moisture/Precip/Rain, Hail, Freeze) |
month_ |
int | yes | Numeric month when the loss occurred; 0 for the cause_of_loss_code="XX" (All Other Causes) annual rollup, which carries no specific month/year of loss. |
month_ |
string | yes | 3-letter abbreviation of the month when the loss occurred |
year_ |
int | yes | Calendar year the loss occurred (can differ from the crop/policy year, since the same crop-year/month-of-loss combination gets restated in later settlement years) — part of the row's natural key alongside month_of_loss. Null for the cause_of_loss_code="XX" (All Other Causes) annual rollup. |
policies_ |
long | yes | Policies earning premium (not available for the CLIP plan) |
policies_ |
long | yes | Policies with a reported loss for this cause (not available for the CLIP plan) |
net_ |
double | yes | Acres/tons/pounds planted after the insured's share is applied (unit not published) |
net_ |
double | yes | Acres insured under an endorsement (e.g. SCO, STAX, Margin Protection) |
liability_ |
double | yes | Maximum dollar amount of insurance for the crop (USD) |
total_ |
double | yes | Premium before subsidy (base premium rate x liability; USD) |
producer_ |
double | yes | Premium paid by the producer (USD) |
subsidy_ |
double | yes | Federal premium subsidy (USD) |
state_ |
double | yes | State/private subsidy (USD) |
additional_ |
double | yes | Additional subsidy, e.g. Pandemic Cover Crop Program in 2021-2022 (USD) |
efa_ |
double | yes | EFA premium discount (USD) |
net_ |
double | yes | Acres/tons/pounds lost to damage from this cause, after the insured's share (unit not published) |
indemnity_ |
double | yes | Indemnity paid for this specific peril (USD; signed) |
loss_ |
double | yes | Loss ratio for this cause-of-loss row (indemnity / total premium) |
ers_farm_income · table¶
USDA ERS Farm Income and Wealth Statistics by state and US total: cash receipts, government payments, production expenses, net farm income, and balance-sheet items. Tall — one row per year x state x variable. Values are generally thousands of USD (see unit_desc; some rows are Percent/Ratio/per farm). Joins to geo.state_ref via the state USPS abbreviation.
| Column | Type | Null | Description |
|---|---|---|---|
year |
int | no | Data year (partition column); most recent 1-2 years are ERS forecasts |
state |
string | yes | USPS state abbreviation, or 'US' for the national total (FK to geo.state_ref.state_abbr) |
artificial_ |
string | yes | ERS stable series code embedding state + variable |
variable_ |
string | yes | Full variable label (category + subcategory) |
category |
string | yes | Variable category (VariableDescriptionPart1) |
subcategory |
string | yes | Variable subcategory (VariableDescriptionPart2) |
amount |
double | yes | Value in the units named by unit_desc (usually thousands of USD; can be negative) |
unit_ |
string | yes | Units: $1,000 (dominant), Percent, Ratio, $1,000 per farm, 1,000 acres |
publication_ |
string | yes | ERS release stamp (e.g. "Data as of February 5, 2026.") |
source |
string | yes | ERS attribution string |
gdp_ |
double | yes | GDP chain-type deflator for the row's year (for nominal->real conversion) |
fsa_commodity_payments · table¶
USDA FSA program and conservation payments aggregated by county, program, and program year (ARC-CO, PLC, CRP, LFP, ERP, DMC, etc.). payments is the summed disbursement (USD); farms is a distinct-payee count (proxy — FSA files carry no farm/operation id). No commodity dimension exists (program is the finest grain). year is the disbursement (vintage) year; program_year is the crop/program year and differs. Joins to geo.counties via county_fips.
| Column | Type | Null | Description |
|---|---|---|---|
year |
int | no | Disbursement (vintage) year — partition column |
program_ |
string | yes | Crop/program year the payment applies to (differs from disbursement year) |
state_ |
string | yes | 2-digit state FIPS (FSA state code; FK to geo.state_ref.state_fips) |
county_ |
string | yes | 5-digit county FIPS (state+county FSA code) — FK to geo.counties.county_fips |
program_ |
string | yes | FSA accounting program code |
program_ |
string | yes | FSA accounting program description (ARC-County, PLC, CRP, LFP, ...) |
payments |
double | yes | Summed disbursement amount (USD) for the county/program/program-year |
farms |
int | yes | Distinct payee count (proxy for number of farms/operations) |
fas_export_sales · table¶
USDA FAS Export Sales Reporting (ESR) — weekly net sales, outstanding sales, shipments, and marketing-year total commitment by commodity and destination country, published every Thursday. year is the FAS marketYear (not calendar year; marketing-year start month varies by commodity — e.g. corn/soybeans start September 1, wheat starts June 1). One row per commodity x country x week_ending_date. weekly_exports is that week's physical shipments; accumulated_exports is the marketing-year-to-date shipment total; outstanding_sales is contracted-but-not-yet-shipped quantity; current_my_net_sales/current_my_total_commitment cover the active marketing year, next_my_outstanding_sales/next_my_net_sales are forward sales already booked against the following marketing year (used for early-signal detection, e.g. a large next_my_net_sales spike ahead of the current marketing year's close). country_code is FAS's own numeric code (China=5700, not an ISO code); country_iso3 carries the ISO 3166-1/GENC alpha-3 equivalent where FAS publishes one (null for FAS regional/historical groupings that are not real ISO countries) for a best-effort join to ref.countries.iso_alpha3. Detecting a purchase pause/resume: filter commodity_code + country_code and watch weekly_exports and current_my_net_sales (a net sales row can go negative on a cancellation) week over week; a sudden multi-week run of zero/near- zero weekly_exports and current_my_net_sales after a prior active run is the pause signature, a resumed positive current_my_net_sales week is the resume signature. Joins to econ.fred_indicators (commodity price context) and ag.nass_crop_production (US production side of the same commodity).
| Column | Type | Null | Description |
|---|---|---|---|
year |
int | no | FAS marketYear (partition column) — not calendar year, see table comment |
commodity_ |
int | no | FAS commodity code (FK-ish to the bundled fas-commodities.json catalog) |
commodity_ |
string | yes | Commodity name (e.g. Corn, Soybeans, Wheat - HRW), from the bundled commodity catalog |
unit_ |
int | yes | FAS unit-of-measure id for the quantity fields (see unit_name) |
unit_ |
string | yes | Unit name for the quantity fields: Metric Tons, Running Bales, Pieces, NUMBER, or Pounds |
country_ |
int | no | FAS numeric country/region code (own code system, not ISO — e.g. China=5700, Canada=1220) |
country_ |
string | yes | FAS country/region short name, from the bundled country catalog |
country_ |
string | yes | ISO 3166-1 / GENC alpha-3 equivalent where FAS publishes one (its gencCode field) — null for FAS regional/historical groupings (e.g. "EUROPEAN UNION - 27") that are not real ISO countries. Best-effort FK to ref.countries.iso_alpha3. |
region_ |
int | yes | FAS region grouping id for country_code, from the bundled country catalog |
week_ |
string | no | Thursday-published week-ending date for this row (YYYY-MM-DD) |
weekly_ |
double | yes | Physical shipments (exports) during this week, in unit_name units |
accumulated_ |
double | yes | Marketing-year-to-date cumulative shipments through this week |
outstanding_ |
double | yes | Quantity sold (contracted) but not yet shipped, as of this week |
gross_ |
double | yes | Gross new sales bookings during this week (before cancellations) |
current_ |
double | yes | Net sales (new bookings minus cancellations) for the current marketing year during this week; can be negative |
current_ |
double | yes | Cumulative current-marketing-year total commitment (accumulated exports + outstanding sales) through this week |
next_ |
double | yes | Quantity already sold against the NEXT marketing year, as of this week |
next_ |
double | yes | Net sales booked against the NEXT marketing year during this week |
ers_commodity_costs_returns · table¶
USDA ERS Commodity Costs and Returns: per-acre (field crops) or per-cwt/ per-head (milk, cow-calf, hogs) cost of production vs. gross value of production, by commodity, USDA Farm Production Region (7 regions plus a U.S. total), and year (1996-present). Tall — one row per commodity x region x year x category x item. category groups rows into gross value of production, operating costs, allocated overhead, costs listed (their sum), net value (value less total costs listed), production practices (irrigated/dryland share), and supporting information (price, yield). Covers 9 field crops (corn, cotton, barley, peanuts, rice, sorghum, oats, soybeans, wheat) and 8 livestock categories (milk, cow-calf, and 6 hog production types). Updated twice yearly (preliminary annual estimates in May, final in October). Complements ers_farm_income (farm-SECTOR aggregates) and nass_crop_production (physical production/value, no cost side) with the per-crop cost-vs-revenue breakdown neither provides.
| Column | Type | Null | Description |
|---|---|---|---|
commodity |
string | no | Commodity slug (partition column), matching the source's per-commodity file |
commodity_ |
string | yes | ERS commodity label as published in the CSV (e.g. "Corn", "Hogs, farrow-to-finish") |
category |
string | yes | Row category: gross value of production, operating costs, allocated overhead, costs listed, net value, production practices, or supporting information |
item |
string | yes | Line item within the category (e.g. "Total, operating costs", "Hired labor", "Price") |
units |
string | yes | Value units, e.g. "dollars per planted acre", "dollars per cwt", "percent of acres" |
size |
string | yes | Operation size class (usually "No specific size") |
region |
string | yes | USDA Farm Production Region (7 regions), or "U.S. total" for the national estimate |
country |
string | yes | Always "United States" — ERS publishes no non-US rows for this product |
year |
integer | no | Data year; the most recent 1-2 years are ERS forecasts |
value |
double | yes | Numeric value in the units named by the units column |
survey_ |
string | yes | USDA ARMS cost-survey vintage the estimate is rolled forward from, e.g. "Base survey of 2021" |
pesticide_use_by_county · table¶
USGS NAWQA Pesticide National Synthesis Project estimated annual agricultural pesticide use by county, active-ingredient compound, and year — low and high estimate methods (epest_low_kg / epest_high_kg, kilograms applied) for the conterminous United States, reflecting two different assumptions used when Crop Reporting District-level survey data was incomplete. Compiled from every county-level release the source currently publishes: final annual files for 1992-2012, the 2013-17 (ver 2.0) consolidated final release, and single-year preliminary releases thereafter. Preliminary years cover far fewer compounds than the finalized series — 2019 holds only 69 of the ~400 compounds present in 2013-2018 — because USGS calculates preliminary estimates as soon as data becomes available from its survey provider, ahead of the full compound set. A finalized 2018-2022 release restoring the full compound list is scheduled by USGS for December 2026 and will replace these preliminary partitions on reprocess; until then, filter to year <= 2018 for a compound set that is stable across years. Excludes seed-treatment pesticide application beginning in 2015 (the survey provider discontinued those estimates) and excludes the separate state-level-by-crop-group series (different grain, not in this table). Joins to geo.counties via the derived county_fips column and to geo.state_ref via state_fips_code.
| Column | Type | Null | Description |
|---|---|---|---|
year |
int | no | Data year (partition column), from the source file's own YEAR field |
compound |
string | yes | Pesticide active-ingredient compound name |
state_ |
string | yes | 2-digit state FIPS code (FK to geo.state_ref.state_fips) |
county_ |
string | yes | 3-digit county FIPS code within state |
county_ |
string | yes | 5-digit county FIPS (state+county, derived) — FK to geo.counties.county_fips |
epest_ |
double | yes | Low estimate of agricultural pesticide use (kilograms applied) for the compound/county/year |
epest_ |
double | yes | High estimate of agricultural pesticide use (kilograms applied) for the compound/county/year |
faostat_production · table¶
UN FAO FAOSTAT production, land use, and food-balance statistics per area (country) x item x element x year. Tall — the international analog of the USDA NASS/ERS tables. country_code is the UN M49 / ISO 3166-1 numeric code (FK to ref.countries.iso_numeric); FAO regional/economic-group areas are flagged is_aggregate. Fan out one normalized bulk file per FAOSTAT domain; year is emitted per row and the partition is replaced wholesale on re-run.
| Column | Type | Null | Description |
|---|---|---|---|
country_ |
string | yes | UN M49 / ISO 3166-1 numeric, unpadded (FK to ref.countries.iso_numeric) |
area_ |
string | yes | FAO area name |
item_ |
string | yes | FAO item code (commodity / land class / balance line) |
item_ |
string | yes | Item name (Wheat, Cattle, Arable land, ...) |
element_ |
string | yes | FAO element code (statistic type) |
element_ |
string | yes | Element (Production, Area harvested, Yield, Import quantity, ...) |
year |
integer | no | Data year (partition column; from FAO Year) |
value |
double | yes | Numeric value (null when FAO suppressed / not available) |
unit |
string | yes | Unit (tonnes, ha, hg/ha, 1000 head, ...) |
flag |
string | yes | FAOSTAT observation flag (E=estimate, I=imputed, M=missing, ...) |
is_ |
boolean | yes | True for FAO regional/economic-group areas (Area Code >= 5000) |
faostat_production_enriched · view¶
FAOSTAT rows enriched with country identity from ref.countries (ISO alpha-3, name, M49 region). Country areas only (FAO regional/economic-group aggregates filtered out). The international complement to the U.S. NASS/ERS tables — country-level production, land use, and food balances.
View — columns are resolved by the query engine at runtime.