psd_report
Agriculture commodity production, supply, and distribution PDF reports (World Agricultural Outlook).
This command returns only the results portion of the OBBject response. It contains a dictionary where the PDF content is base64 encoded under the 'content' key.
Examples
from openbb import obb
obb.commodity.psd_report(commodity='sugar', year=2022, month=5)
# Get the PSD report for coffee for March 2023.
obb.commodity.psd_report(commodity='coffee', year=2023, month=3)
Parameters
- standard
- government_us
commodity: str
Commodity for the report.
Choices
- citrus
- coffee
- cotton
- dairy
- fruit
- grain
- livestock
- oilseeds
- stone_fruit
- sugar
- tree_nuts
- world_production
year: int
Year of the report.
month: int
Month of the report.
commodity: str
Commodity for the report.
Choices
- citrus
- coffee
- cotton
- dairy
- fruit
- grain
- livestock
- oilseeds
- stone_fruit
- sugar
- tree_nuts
- world_production
year: int
Year of the report.
month: int
Month of the report.
Returns
Any
Data
- standard
- government_us
content: str
Base64 encoded content.
content: str
Base64 encoded content.
data_format: dict[str, str] | None
Data format information.