U.S. Energy Information Administration logo
Skip to sub-navigation

Open Source Code

Skip to page content

Why is EIA starting to make its code open source?

At EIA, we strive to make our data and analytic products as transparent and accessible as possible. By allowing the public to examine the computer code that underlies our products, we hope to engender trust, foster understanding, and allow stakeholders to make better use of EIA products.

Even though we carefully document our models, access to the source code allows users to better understand how the model functions, reproduce published results, and extend the model for their own purposes. Making code open source also allows EIA developers to receive valuable feedback from the broader expert community.

What is being made open source? Can we expect other products to be released this way?

As part of this launch, we are making the source code associated with the National Energy Modeling System (NEMS) available. NEMS is an important analytical tool at EIA that we use to produce our Annual Energy Outlook, and we want to make it more accessible to our stakeholders.

EIA has a number of codebases that underlie our products. Before we create new repositories on GitHub, the code must go through a rigorous internal review process to ensure that our code is ready for public consumption.

EIAgov on GitHub ›
Statistics
Analysis
Tools
Education
News

Petroleum & Other Liquids

Crude oil, gasoline, heating oil, diesel, propane, and other liquids including biofuels and natural gas liquids.

Natural Gas

Exploration and reserves, storage, imports and exports, production, prices, sales.

Electricity

Sales, revenue and prices, power plants, fuel use, stocks, generation, trade, demand & emissions.

Coal

Reserves, production, prices, employment and productivity, distribution, stocks, imports and exports.

Nuclear & Uranium

Uranium fuel, nuclear reactors, generation, spent fuel.

Renewable & Alternative Fuels

Includes hydropower, solar, wind, geothermal, biomass and ethanol.

EIA Survey Forms

Forms EIA uses to collect energy data including descriptions, links to survey instructions, and additional information.

Total Energy

Comprehensive data summaries, comparisons, analysis, and projections integrated across all energy sources.

U.S. States

State energy information, including overviews, rankings, data, and analyses.

International

International energy information, including overviews, rankings, data, and analyses.

Environment

Greenhouse gas data, voluntary reporting, electric power plant emissions.

Data Tools, Apps, & Maps

Tools to customize searches, view specific data sets, study detailed documentation, and access time-series data.

Open Data

EIA's free and open data available as API, Excel add-in, bulk files, and widgets

EIA Beta

Come test out some of the products still in development and let us know what you think!

Open Source Code

EIA's open source code, available on GitHub.

RSS Feeds

Subscribe to feeds for updates on EIA products including Today in Energy and What's New.