Say you created a shiny app where you 1) enter someone's twitter handle, 2) click a button and 3) see two text outputs populate on the webpage
Let's say the two text outputs are 1) the person's most recent tweet and 2) all the comments
Once you click the button, let's say the code pulls the most recent tweet and any comments. The tweet won't change but the comments may keep coming in. If we assume there was some loop in your code that was able to pull the number of comments every minute and save that to a variable, is there a way to make that variable "reactive". So when it goes from 4 comments to 5 comments, it reruns the renderText and displays all 5 comments instead of the 4 that existed when the user first clicked the button.
This would involve no user input changes (no slider, button click, etc) - simply a variable changing in the background that then triggers some re-rendering in the app's output (chart, text, etc)
Is something like this possible?
Kind Regards and thanks so much for the great Shiny tutorial videos,