Skip to main content
Version: v5

food_security_in_the_united_states

Get ERS food security in the United States - household and child food security, food insecurity, and very low food security prevalence by year, characteristic, and State, each pivoted to a wide layout.

Examples​

from openbb import obb
obb.usda.food_security_in_the_united_states(provider='usda')
# Get food security prevalence by race and ethnicity since 2015.
obb.usda.food_security_in_the_united_states(table='by_characteristic', category='Race/ethnicity of households', start_year=2015, provider='usda')
# Get the by-State 3-year-average food insecurity prevalence.
obb.usda.food_security_in_the_united_states(table='by_state', provider='usda')

Parameters​


Returns​

results: FoodSecurityInTheUnitedStates

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​