All about DataSince, DataEngineering and ComputerScience
View the Project on GitHub datainsightat/DataScience_Examples
The user interacts with the dataset using the application interface ‘app_ui.R’. All features are encapsulated in modules (mod_1.R, mod_2.R). All changes in the user interface are stored in a reactive list. Changes to this list affect the display elements in the user interface. The list is stored in the database. The result of the app is stored in the database.
The golem package sets up the datastructure for the application.
Create Project
RStudio > File > New Project > Package for Shiny App using golem
Edit /DESCRIPTION with your name and email.
Set golem global options
> golem::set_golem_options()
Add tests
> golem::use_recommended_tests()
Create test template
> golem::use_recommended_deps()
> /dev/run_dev.R
> golem::add_module(name = "mod_1")
> golem::add_module(name = "mod_2")