This example demonstrates a core feature of Shiny: reactivity. In the server function, a reactive called datasetInput is declared.
server
datasetInput