international_agricultural_productivity
Get ERS international agricultural productivity - agricultural total factor productivity indices, output and input quantity indices, and the underlying physical output and input quantities for countries, territories, regions, income groups, and the world, pivoted to a wide layout by year.
Examples
from openbb import obb
obb.usda.international_agricultural_productivity(provider='usda')
# Get U.S. agricultural productivity indices since 2000.
obb.usda.international_agricultural_productivity(grouping='north_america', country=179, start_year=2000, provider='usda')
# Get India's physical output and input quantities.
obb.usda.international_agricultural_productivity(grouping='asia_pacific', country=103, measure='physical_quantities', provider='usda')
Parameters
- standard
- usda
grouping: str | None
Default: country_grouping
Description
Grouping that scopes the country selector into buckets derived from the entity's region, income level, or aggregate type. It scopes the dropdown only; the data is selected by country. Valid groupings are:
sub_saharan_africa, latin_america_caribbean, asia_pacific, cwana, europe, oceania, north_america, income_group, country_grouping
country: int | None
Default: 220
Country, territory, region, income group, or aggregate to retrieve, as its unique dataset order. The order disambiguates entities sharing a name, e.g. the country 'China' (81) from the income aggregate 'China' (227). Defaults to 220, the world.
measure: str | None
Default: productivity_indices
Description
Measure family spread into the wide value columns. 'productivity_indices' emits the seven 2015=100 indices; 'physical_quantities' emits the twelve output and input quantities in their published units. Valid measures are:
productivity_indices, physical_quantities
start_year: int | None
Start year for filtering the data, from 1961. If None, returns from the beginning of the series.
end_year: int | None
End year for filtering the data, up to 2023. If None, returns up to the most recent year.
Returns
results: InternationalAgriculturalProductivity
Serializable results.
provider: str | None
Provider name.
warnings: Optional[list[Warning_]]
List of warnings.
chart: Optional[Chart]
Chart object.
extra: dict[str, Any]
Extra info.
Data
- standard
- usda
year: int
Year of the observation.