Custom interfaces from GET strings

In this example, we're going to produce URLs that allow Shiny to configure itself when the user lands on the page to save them from having to set up their preferences each time. We will make use of two variables: one specifies that a user is only interested in data from the NHS network domain and the other specifies that the user wants a smoothing line present on their trend graph. Users who request a smoothing line will also be taken straight to the trendline tab.

As well as the work with the GET query, the only extra bit we will need here is a function to change the selected panel from tabsetPanel(). This is done, unsurprisingly, using updateTabsetPanel().

Catering to these different needs is very easily ...

Get Web Application Development with R Using Shiny - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.