energy_survey
Get the Dallas Fed Energy Survey: indexes, response shares, and prices.
Examples
from openbb import obb
obb.federal_reserve.dallas.energy_survey(provider='federal_reserve')
# Get the exploration and production firm group.
obb.federal_reserve.dallas.energy_survey(firm_group='exploration_production', provider='federal_reserve')
# Get the full data with response shares, year-over-year.
obb.federal_reserve.dallas.energy_survey(table='all_data', transform='year_over_year', provider='federal_reserve')
# Get the oil and gas price-level forecasts.
obb.federal_reserve.dallas.energy_survey(table='price_forecasts', provider='federal_reserve')
Parameters
- standard
- federal_reserve
table: str | None
Default: index
The diffusion indexes, the full data including response shares, the oil and gas price expectations, or the price-level forecasts (reference, average, median, range).
transform: str | None
Default: quarter_over_quarter
Compare to the prior quarter or to a year ago. Ignored for the price tables.
firm_group: str | None
Default: all
The respondent firm group: all firms, exploration and production firms, or oilfield services firms. The price forecasts cover all firms only.
start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | None | str
End date of the data, in YYYY-MM-DD format.
Returns
results: FederalReserveDallasEnergy
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
- federal_reserve
date: date | str
The survey quarter end date.