I am working on my first shiny app and am running into an issue where the data that is used to render my data table is not being picked up by shinyapps.io.
The app
Piggybacking on a previous answer:
I agree that the problem is that the object "Pitchers" needs to be defined in both shinyServer and shinyUI. Creating a third file called "global.R" may be the best way to solve this problem, since that way you only need to read the database one time (which is faster and nicer to the free shinyapps.io server). See https://shiny.rstudio.com/articles/scoping.html for more information about creating variables with a global scope.