Go to file
Carlos R. Mercado 9c67d00851 New top Banner
2023-04-13 08:54:31 -04:00
app New top Banner 2023-04-13 08:54:31 -04:00
renv Initiate Template 2022-08-01 12:36:01 -04:00
.gitattributes Initiate Template 2022-08-01 12:36:01 -04:00
.gitignore Initiate Template 2022-08-01 12:36:01 -04:00
.Rprofile Initiate Template 2022-08-01 12:36:01 -04:00
LICENSE Initiate Template 2022-08-01 12:36:01 -04:00
README.md readme update 2022-08-01 13:19:45 -04:00
renv.lock update renv packages 2022-08-09 13:53:09 -04:00
shiny_template.Rproj Initiate Template 2022-08-01 12:36:01 -04:00

Flipside Crypto R Shiny Template

This is a minimalized R Shiny template app to keep Flipside Shiny apps on-brand. It includes the following:

  • shiny_template R Project
  • app directory with the template app
  • renv lock file (includes shroomDK)
  • relevant gitignores (e.g., ignoring api_key.txt for shroomDK)

App

The app folder serves as your template R Shiny app. It can be run as is to show filler text and a filler chart. The folder contains:

  • www/
    • fliplogo.jpg - the Flipside icon
    • rudderstack.js - requires shinyjs; used to track clicks to the flipside website
    • styles.css - template css including a few shiny specific outputs (e.g., .container-fluid) review and take care editing
  • global.R - default global file for miscellaneous functions and objects.
  • ui.R - default user interface file, includes both critical tags (e.g., header bar) and optional template code (e.g., chart div)
  • server.R - minimized server file w/ empty server function

renv

use renv::restore() (ensure you have renv downloaded) to restore the app libraries prior to testing on your machine. Note: shroomDK is in active development. This template may fall behind in shroomDK versions. Review the documentation for more info.