I have an R script that performs ETL process and pushes the data to a MySQl database. I want a button in my shiny app to run this script (on click of a button) and update push the updated data to the database. I have already tried
[this][1]
[this][2]
[this][1]
[this][3]
[1]: https://stackoverflow.com/questions/56531699/how-to-pass-the-r-script-into-r-shiny
[2]: https://stackoverflow.com/questions/31376169/how-can-i-connect-r-script-with-shiny-app-in-r
[3]: https://stackoverflow.com/questions/45206141/how-to-run-another-rscript-using-a-button-on-another-script-in-shiny
My R script is basically a function that performs the tasks. However, since it just pushes data to the database, there's nothing that it outputs.