Skip to content

AAGI-AUS/shiny-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shiny Template

This Shiny app template was created to standardize the layout of Shiny apps developed to support projects under Analytics for the Australian Grains Industry (AAGI).

Example

Table of Contents

Structure

shiny-template/
├╴app.R
└╴src/
  ├╴www/
  │ ├╴logo-AAGI.jpg
  │ ├╴styles.css
  │ ┆ ...
  ├╴about.R
  ├╴index.R
  ├╴tab1.R
  ├╴tab2.R
  ┆ ...
  • app.R is the entry point where you can update your port.
  • src/ contains all the scripts for ui and server.
  • src/www/ contains style sheets and static images.

Customization

Application Details

All texts enclosed in <> are to be replaced, including <>, with the appropriate values. These can be found in src/index.R and src/about.R.

New Tabs

New tabs should be added under src/ following the example of src/kmean_cluster.R which has both ui and server components.

Usage

Install dependencies,

R -e 'install.packages("shiny")'

Run the app,

./app.R

Feedback

For queries, feedback, and bug reports:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published