Fertilizer Use And Price
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
FertilizerUseAndPrice | FertilizerUseAndPriceQueryParams | FertilizerUseAndPriceData |
Import Statement
from openbb_core.provider.standard_models. import (
FertilizerUseAndPriceData,
FertilizerUseAndPriceQueryParams,
)
Parameters
- standard
- usda
table: str | None
Default: us_plant_nutrient_consumption
Description
Fertilizer table to retrieve. National tables (1-8) spread their nutrient, material, or price measures into the wide columns; crop-by-State tables (9-32) spread the surveyed States into the wide columns. The period is the pinned row axis. Valid tables are:
us_plant_nutrient_consumption, plant_nutrient_use_by_crop, nutrient_material_class_consumption, nitrogen_material_consumption, phosphate_potash_material_consumption, secondary_micronutrient_organic_consumption, farm_prices, price_indexes, corn_nitrogen_share, corn_nitrogen_rate, corn_phosphate_share, corn_phosphate_rate, corn_potash_share, corn_potash_rate, cotton_nitrogen_share, cotton_nitrogen_rate, cotton_phosphate_share, cotton_phosphate_rate, cotton_potash_share, cotton_potash_rate, soybeans_nitrogen_share, soybeans_nitrogen_rate, soybeans_phosphate_share, soybeans_phosphate_rate, soybeans_potash_share, soybeans_potash_rate, wheat_nitrogen_share, wheat_nitrogen_rate, wheat_phosphate_share, wheat_phosphate_rate, wheat_potash_share, wheat_potash_rate
start_year: int | None
Start year for filtering the data, compared against the integer year. If None, returns from the beginning of the series.
end_year: int | None
End year for filtering the data, compared against the integer year. If None, returns up to the most recent year.
Data
- standard
- usda
period: str
Row label of the observation: the year for annual tables ('2015'), the year and month for the sub-annual farm-prices table ('1977 Mar.'), so each row is uniquely labeled.