relative_importance
Fetch a published BLS Producer Price Index relative-importance table.
Examples
from openbb import obb
# Final Demand relative importance (default canonical table).
obb.bls.ppi.relative_importance(provider='bls', category='final_demand')
# Fetch a specific relative-importance table by id.
obb.bls.ppi.relative_importance(provider='bls', table_id='ppi-comrlp')
Parameters
- standard
- bls
category: str | None
Default: final_demand
Which Relative Importance Table section to fetch.
table_id: str | None
Specific BLS PPI Relative Importance table identifier; takes precedence over category.
Returns
results: BlsPpiRelativeImportance
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
- bls
date: date | str
December reference date for which BLS computed this row's relative-importance weight.
code: str | None
Hierarchical PPI, commodity, or industry code.
label: str | None
Human-readable row label.
relative_importance: float | None
Relative-importance weight, as a percentage of the parent index.
table_id: str
Source BLS table id.
table_name: str
Full BLS table title.