DataScience_Examples

All about DataSince, DataEngineering and ComputerScience

View the Project on GitHub datainsightat/DataScience_Examples

Application Architecture

Shiny Architecture

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.

Initialize Application

The golem package sets up the datastructure for the application.

Golem general

Cheatsheet
Detailed Manual

Setup

Create Project

RStudio > File > New Project > Package for Shiny App using golem

Add Local Project to Github

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()

1st Run Golem Application

> /dev/run_dev.R

Add Content to App (Modules)

> golem::add_module(name = "mod_1")
> golem::add_module(name = "mod_2")