WFP provides datasets on food security, hunger, malnutrition, food aid distribution, humanitarian assistance and other aspects of global food insecurity.
WFP data is available through the VAM Data Bridge API and the WFP dataviz portal. Engineers use `requests` to query the VAM API for food price and food security data by country and commodity, processing results with pandas for market monitoring applications.
WFP food security data trains AI models for famine prediction and humanitarian needs forecasting. RAG systems indexed on WFP country situation reports enable AI humanitarian tools to answer 'How many people face acute food insecurity in Yemen?' with current WFP assessment data.
# pip install requests pandas
import requests, pandas as pd
# WFP VAM API — food price monitoring
resp = requests.get(
"https://api.vam.wfp.org/dataviz/v2/FoodPrices",
params={"CountryCode": "SYR", "CommodityID": 15, # wheat flour
"format": "json"}
)
df = pd.DataFrame(resp.json())[["date", "price", "unit", "market"]]
df["date"] = pd.to_datetime(df["date"])
print(df.sort_values("date").tail(10))Official dataset source
More datasets used by Python data engineers.
The Kaggle COVID-19 Dataset, curated by the Allen Institute for AI, aggregates a comprehensive collection of research articles, datasets and other resources related to the COVID-19 pandemic.
Eurostat, the statistical office of the European Union, offers a comprehensive database of statistical data covering various domains such as economy, population, employment, environment and social issues.
The FEC provides access to campaign finance data, including information on political contributions, campaign expenditures, fundraising activities and financial disclosures filed by political candidates, parties and committees in the United States.