All Projects β†’ JohnCoene β†’ Cicerone

JohnCoene / Cicerone

Licence: other
πŸ›οΈ Give tours of your Shiny apps

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Cicerone

Waiter
πŸ•°οΈ Loading screens for Shiny
Stars: ✭ 325 (+148.09%)
Mutual labels:  hacktoberfest, shiny, rstats
Highcharter
R wrapper for highcharts
Stars: ✭ 583 (+345.04%)
Mutual labels:  shiny, rstats
Shinyjs
πŸ’‘ Easily improve the user experience of your Shiny apps in seconds
Stars: ✭ 566 (+332.06%)
Mutual labels:  shiny, rstats
Sever
πŸ”ͺGood-looking problems: customise your Shiny disconnected screen and error messages
Stars: ✭ 60 (-54.2%)
Mutual labels:  shiny, rstats
Regexplain
πŸ” An RStudio addin slash regex utility belt
Stars: ✭ 413 (+215.27%)
Mutual labels:  shiny, rstats
Timevis
πŸ“… Create interactive timeline visualizations in R
Stars: ✭ 470 (+258.78%)
Mutual labels:  shiny, rstats
Datofutbol
Dato FΓΊtbol repository
Stars: ✭ 23 (-82.44%)
Mutual labels:  shiny, rstats
pirate
πŸ΄β€β˜ οΈ A personal platform for R programming
Stars: ✭ 36 (-72.52%)
Mutual labels:  shiny, rstats
Shepherd
Guide your users through a tour of your app
Stars: ✭ 9,457 (+7119.08%)
Mutual labels:  hacktoberfest, tour
Angular Shepherd
An Angular wrapper for the site tour library Shepherd
Stars: ✭ 96 (-26.72%)
Mutual labels:  hacktoberfest, tour
Shinycustomloader
Add a custom loader for R shiny
Stars: ✭ 97 (-25.95%)
Mutual labels:  shiny, rstats
Echarts4r
🐳 ECharts 5 for R
Stars: ✭ 378 (+188.55%)
Mutual labels:  hacktoberfest, rstats
Anicon
Animated icons for R markdown and Shiny apps
Stars: ✭ 109 (-16.79%)
Mutual labels:  shiny, rstats
Golem
A Framework for Building Robust Shiny Apps
Stars: ✭ 530 (+304.58%)
Mutual labels:  hacktoberfest, shiny
tRakt-shiny
Using trakt to graph show data and such. The on-it's-way-out incarnation of trakt.jemu.name
Stars: ✭ 17 (-87.02%)
Mutual labels:  shiny, rstats
Shinyappdemo
A demo shiny app inside a package
Stars: ✭ 23 (-82.44%)
Mutual labels:  shiny, rstats
workshops-setup cloud analytics machine
Tips and Tricks to setup a cloud machine for Analytics and Data Science with R, RStudio and Shiny Servers, Python and JupyterLab
Stars: ✭ 12 (-90.84%)
Mutual labels:  shiny, rstats
waypointer
Waypoints & Animations for Shiny
Stars: ✭ 16 (-87.79%)
Mutual labels:  shiny, rstats
Emayili
An R package for sending email messages.
Stars: ✭ 72 (-45.04%)
Mutual labels:  hacktoberfest, rstats
Excelr
An Interface to 'jExcel.js' Library
Stars: ✭ 106 (-19.08%)
Mutual labels:  hacktoberfest, shiny

cicerone

Travis build status CRAN status

A convenient API to create guided tours of Shiny applications using driver.js, visit the website for more details.

Usage

Let's create a very basic Shiny app to demonstrate: it takes a text input and on hitting a button simply prints it.

library(shiny)

ui <- fluidPage(
  textInput("text_inputId", "Enter some text"),
  actionButton("submit_inputId", "Submit text"),
  verbatimTextOutput("print")
)

server <- function(input, output){
  txt <- eventReactive(input$submit_inputId, {
    input$text_inputId
  })

  output$print <- renderPrint(txt())
}

shinyApp(ui, server)

Now we can create a guide to walk the user through the application: simply initialise a new guide from the Cicerone object then add steps.

library(cicerone)

guide <- Cicerone$
  new()$ 
  step(
    el = "text_inputId",
    title = "Text Input",
    description = "This is where you enter the text you want to print."
  )$
  step(
    "submit_inputId",
    "Send the Text",
    "Send the text to the server for printing"
  )

This is our guide created, we can now include it the Shiny app we created earlier and start the guide. Note to that you need to include use_cicerone in your UI.

library(shiny)

ui <- fluidPage(
  use_cicerone(), # include dependencies
  textInput("text_inputId", "Enter some text"),
  actionButton("submit_inputId", "Submit text"),
  verbatimTextOutput("print")
)

server <- function(input, output){

  # initialise then start the guide
  guide$init()$start()

  txt <- eventReactive(input$submit_inputId, {
    input$text_inputId
  })

  output$print <- renderPrint(txt())
}

shinyApp(ui, server)

All options are detailed in the documentation of the object: ?Cicerone. See the site for more information.

Installation

You can install the stable version from CRAN with:

install.packages("cicerone")

You can install the development version from Github with:

# install.packages("remotes")
remotes::install_github("JohnCoene/cicerone")
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].