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.
API limitations with R - GitHub Tutorial
From the course: Data Pipeline Automation with GitHub Actions Using R and Python
API limitations with R
- [Instructor] In the previous video, we saw how we can set get requests to pull data from the API using the AI get function. In this video we will review the output and explore some of the limitation of the get request. Let's go back to the data form we pulled during the previous lessons. DF one, recall the data frame has 5,000 rows or observations and seven variables. We added also, the index variable is the eight variable when we reformatted the period variable into a post six object or time object. Let's plot the data using the plotly function from the Plotly library. So let's feed the the, let's set the functions we want to plot DF one, we set X as index and Y as value. And since we want to have a line chart, let's set the type as cutter and the mode to lines. Let's go ahead and run it. As you can notice in the time series plot, there are some weird lines. Do not fit the serious pattern. We can go ahead and Zoom and explore those points. So for example, over here you can see…
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)
-
-
-
-