macro-electricity / README.md
FinzData's picture
Weekly refresh 2026-11-02
4bde485 verified
|
Raw History Blame Contribute Delete
7.16 kB
metadata
license: other
license_name: public-domain-source-us-government
pretty_name: 'US Macro Data: Electricity'
language:
  - en
tags:
  - finance
  - economics
  - macroeconomics
  - time-series
  - fred
  - electricity
  - quant
  - backtesting
size_categories:
  - 1K<n<10K
configs:
  - config_name: long
    data_files: data/long.parquet
    default: true
  - config_name: wide_monthly
    data_files: data/wide_monthly.parquet
  - config_name: wide_quarterly
    data_files: data/wide_quarterly.parquet
  - config_name: wide_semiannual
    data_files: data/wide_semiannual.parquet

US macro data: Electricity (244 series)

244 electricity series from US government sources, cleaned into one consistent format and ready for pandas. This free package holds the last 12 months (2025-11-02 on) of each series' latest values. It is refreshed weekly.

import pandas as pd
df = pd.read_parquet("hf://datasets/FinzData/macro-electricity/data/long.parquet")      # series_id, date, value
wide = pd.read_parquet("hf://datasets/FinzData/macro-electricity/data/wide_monthly.parquet")  # one column per series

or datasets.load_dataset("FinzData/macro-electricity"). Wide tables by frequency: wide_monthly (213 series), wide_quarterly (28 series), wide_semiannual (3 series). series.csv lists every series with its title, units, frequency and how far back the full history goes.

The full history, point in time, through one API

The FinzData API serves every series back to its first observation, every revision (what was known on any past date, so backtests do not peek at later revisions), and daily updates, in the same format:

import finzdata as fz                     # pip install finzdata
c = fz.Client()                           # free API key: https://api.finzdata.com/
c.macro("WPU054")                        # full history, latest values
c.macro("WPU054", vintage="first")       # as first released
c.macro("WPU054", as_of="2020-03-01")    # exactly what was known on that date
c.macro_series(category="electricity")          # the catalogue for this category

Most-watched series in this package

ID Title Units Frequency Full history from
WPU054 Producer Price Index by Commodity: Fuels and Related Products and Power: Electric Power Index 1982=100 Monthly 1958
WPS0543 Producer Price Index by Commodity: Fuels and Related Products and Power: Industrial Electric Power Index 1982=100 Monthly 1975
WPU11710252 Producer Price Index by Commodity: Machinery and Equipment: Porcelain, Steatite, and Other Ceramic Electrical Products Index Dec 2003=100 Monthly 2003
W003RC1Q027SBEA Private fixed investment: Nonresidential: Structures: Power and communication Billions of Dollars Quarterly 1958
APU010072610 Average Price: Electricity per Kilowatt-Hour in the Northeast Census Region - Urban U.S. Dollars Monthly 1978
PCU3359313359319 Producer Price Index by Industry: Current-Carrying Wiring Device Manufacturing: Current-Carrying Wire Connectors for Electrical Circuitry Index Dec 1981=100 Monthly 1981
WPU10660101 Producer Price Index by Commodity: Metals and Metal Products: Household Water Heaters, Electric, for Permanent Installation Index 1982=100 Monthly 1950
IPG2211N Industrial Production: Utilities: Electric Power Generation, Transmission, and Distribution (NAICS = 2211) Index 2017=100 Monthly 1972
PCU3359913359910 Producer Price Index by Industry: Carbon and Graphite Product Manufacturing: Carbon and Graphite Products, Including Electrodes for Electric Arc Furnaces Index Jun 1985=100 Monthly 1960
PCU33632033632023 Producer Price Index by Industry: Motor Vehicle Electrical and Electronic Equipment Manufacturing: Battery Charging Alternators, Generators, and Regulators Index Dec 1982=100 Monthly 1982
WPU05432101 Producer Price Index by Commodity: Fuels and Related Products and Power: Industrial Electric Power Index Dec 1990=100 Monthly 1991
APU020072610 Average Price: Electricity per Kilowatt-Hour in the Midwest Census Region - Urban U.S. Dollars Monthly 1978
PCU333415333415C Producer Price Index by Industry: Air-Conditioning, Refrigeration, and Forced Air Heating Equipment Manufacturing: Warm Air Furnaces, Including Duct Furnaces and Humidifiers, and Electric Comfort Heating Index Dec 1989=100 Monthly 1989
PCU3339943339940 Producer Price Index by Industry: Industrial Process Furnace and Oven Manufacturing: Industrial Process Furnaces and Ovens, and Industrial Electrical Heating Equipment Index Dec 2004=100 Monthly 2004
WPU0542 Producer Price Index by Commodity: Fuels and Related Products and Power: Commercial Electric Power Index 1982=100 Monthly 1958
CAPUTLG2211A2S Capacity Utilization: Utilities: Electric and Gas Utilities (NAICS = 2211,2) Percent Monthly 1967
IPN221114T8S Industrial Production: Utilities: Renewables and Other Electric Power Generation (NAICS = 221114-8) Index 2017=100 Monthly 2001
PCU221110221110 Producer Price Index by Industry: Electric Power Generation Index Dec 2003=100 Monthly 2003
PCU23821X23821XP Producer Price Index by Industry: Electrical Contractors, Nonresidential Building Work: Primary Products Index Dec 2007=100 Monthly 2007
PCU334515334515 Producer Price Index by Industry: Electricity and Signal Testing Instruments Manufacturing Index Dec 1983=100 Monthly 1983
PCU3345153345154 Producer Price Index by Industry: Electricity and Signal Testing Instruments Manufacturing: Test Equipment for Testing Electrical, Radio, and Communication Circuits, and Motors Index Dec 1983=100 Monthly 1972
PCU335122335122 Producer Price Index by Industry: Nonresidential Electric Lighting Fixture Manufacturing Index Jun 1981=100 Monthly 1975
PCU3351223351221 Producer Price Index by Industry: Nonresidential Electric Lighting Fixture Manufacturing: Commercial and Institutional-Type Electric Lighting Fixtures, Including Parts and Accessories Index Jun 1981=100 Monthly 1968
PCU336320336320 Producer Price Index by Industry: Motor Vehicle Electrical and Electronic Equipment Manufacturing Index Dec 2003=100 Monthly 2003
WPS054 Producer Price Index by Commodity: Fuels and Related Products and Power: Electric Power Index 1982=100 Monthly 1973

All 244 series: series.csv. Browse them at https://finzdata.com/macro/category/electricity.

More from FinzData

Source: U.S. government agencies via FRED/ALFRED (Federal Reserve Bank of St. Louis). Compiled by FinzData. Data for research, not investment advice.