Finding #RStats resources with Shiny and GitHub Actions
In this talk I’ll show you how to collect data from Twitter using {rtweet}, schedule that data collection with GitHub Actions, and automatically deploy a Shiny app to display the data in a table.
By Nicola Rennie in Conference
One of the best parts of the R community is our love of sharing the things we learn, and many of us use social media to do just that! But in a world where social media can seem endless and somewhat unreliable, it felt like I needed a way to do two things: (i) bookmark links to interesting #RStats content that people share, and (ii) store that information somewhere that would remain accessible if my social media platform of choice ceased to exist.
So I did what any R user would - I built a Shiny app! Thanks to GitHub Actions, that Shiny app updates daily and displays the updated data in an interactive table. And it does it all while I’m asleep.
In this talk I’ll discuss:
- Collecting data from Twitter using {rtweet}
- Scheduling tasks with GitHub Actions to update data
- Triggering app re-deployment with GitHub Actions