I would like to ask if anyone has experience or best practices when developing multiple Shiny apps that all really on the same data and similar functionality.
My gut feeling would be to store the data in a database and write the functionality into a package.
However, in the case I have now:
- the data isn’t really that much and is stored in a local SQLite file
- the functionality is also limited and still feels natural in sourced R scripts
Currently apps are running locally and are all stored in the same parent folder, that parent folder also contains a data folder. I’m planning to run the complete parent folder on a server later.
Everything is working fine this way. It just doesn’t feel quite right. Mostly because I like to organise thing the RStudio suggested way, and I couldn’t find any suggestions on this.
I don’t have a computer science/IT background and I’m interested to learn more about structuring larger applications. Would you say that this is part of ‘software development’?
I know several R specific topics (writing packages, modularise Shiny apps) but if anyone has some links to resources/courses/etc. about general best practises in Software development I would love to hear it.