From the course: Data Pipeline Automation with GitHub Actions Using R and Python
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
The EIA API dashboard - GitHub Tutorial
From the course: Data Pipeline Automation with GitHub Actions Using R and Python
The EIA API dashboard
- [Instructor] In this video, we will review the eia API dashboard and learn how to use its functionality to search data, apply filters, and extract the query settings. This information, as you will see later on this course, will be used for when setting the get request via our Python to pull data from the API programmatically. Let's go now to the browser and log in again to eia.gov. Under the features section, click the API icon and then click the browse the API, which will open the API dashboard. First things first, we will select the API route, which defines the type of energy category and the subcategory below. For example, let's select the electricity category. Then a new popup will show with the electricity subcategories. As we are interested in the daily and hourly data, we'll select the electricity power operation daily and hourly. In this case, there is a second subcategory and we can see the options over here. And we are interested in the hourly demand for sub region. Let's…
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)
-
-
-
-