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

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