Skip to main content
Version: v5

tables

Fetch a BLS Productivity prod2 supplemental table in long form (every column preserved).

Examples​

from openbb import obb
# Quarterly Nonfarm business sector labor productivity (the default headline series).
obb.bls.productivity.tables(provider='bls')
# Manufacturing sector unit labor costs, quarterly.
obb.bls.productivity.tables(provider='bls', sector='Manufacturing sector', measure='Unit labor costs')
# Total economy hours worked, in billions of hours.
obb.bls.productivity.tables(provider='bls', dataset='total-economy-hours-employment', sector='Total economy', measure='Hours worked', units='Billions of hours')
# Nonfarm business labor productivity growth by business cycle.
obb.bls.productivity.tables(provider='bls', dataset='major-sectors-business-cycles', units='Compound annual growth rate')

Parameters​


Returns​

results: BlsProductivityTables

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​