From the course: Data Pipeline Automation with GitHub Actions Using R and Python
Unlock the full course today
Join today to access over 24,600 courses taught by industry experts.
EIA API - GitHub Tutorial
From the course: Data Pipeline Automation with GitHub Actions Using R and Python
EIA API
- [Instructor] During the course, we will utilize the EIA API to extract electricity related data with the help of GitHub Actions and other tools. In this chapter, our focus will be on the EIA API, its functionality, the variety of datasets available on the API, their structure, and how to retrieve the data using R and Python. Before getting started with the API, let's first explain what EIA is. EIA stands for Energy Information Administration or the U.S. Energy Information Administration. It is a principle agency of the U.S. Federal Statistical System and part of the U.S. Department of Energy. This agency is responsible for collecting, analyzing, and disseminating energy information to support policymaking and public understanding of this field. The EAI website, eia.gov, is a great resource for the U.S. energy sector. On the website, you can find recent news and updates related to the energy sector, daily reports, key KPIs, such as natural gas or crude oil, future prices, short and…
Contents
-
-
-
(Locked)
EIA API2m 47s
-
(Locked)
Setting an environment variable3m 22s
-
(Locked)
The EIA API dashboard4m 10s
-
(Locked)
GET request structure5m 41s
-
Querying the data via the browser4m 4s
-
(Locked)
Querying data with R and Python2m 50s
-
(Locked)
Pulling metadata from API with R3m 5s
-
(Locked)
Sending a simple GET request with R5m 19s
-
(Locked)
API limitations with R4m 43s
-
Handling a large data request with R4m 27s
-
Pulling metadata from API with Python3m 47s
-
(Locked)
Sending a simple GET request with Python4m 44s
-
(Locked)
API limitations with Python3m 54s
-
(Locked)
Handling a large data request with Python3m 10s
-
(Locked)
Challenge: Query the API1m 2s
-
(Locked)
Solution: Query the API with R7m 28s
-
(Locked)
Solution: Query the API with Python7m 45s
-
(Locked)
-
-
-
-