Unlock Infinite API Data Requests - Leverage the Power of For Loop in RStudio

preview_player
Показать описание
In this video, I show you how to loop API requests in R, using a for loop, to get more than 1 request or page of data at the same time, store them in a list and append them into one table.

#rstats #api #rstudio

▶️ How to GET data from an API using R

🔖c h a p t e r s 🔖

00:00 - Intro
00:45 - Install packages
01:15 - Set up API url & auth
02:50 - Create a list to store API calls
03:18 - Create a sequence
04:41 - Create a for loop
08:34 - View data in the saved list
09:44 - Join all list data into one table

My RStudio Appearance Setup

RStudio theme: Modern
Zoom: 100%
Editor font: Lucida Console
Text rendering: (Default)
Editor font size: 16
Editor theme: Tomorrow Night 80s

Contact and Socials

Music

Рекомендации по теме
Комментарии
Автор

Many thanks Dean. I was wondering if you were planning to do something about web scrapping?

alvarocuya
Автор

Great content with in best time frame! Good to know your rstudio setup theme and fonts! Thank you!

yihunzeleke