The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

faq

CRAN_Status_Badge Rdoc Download

This is package is to create a FAQ (Frequently Asked Questions) page for Shiny application with desired data.frame.

Live podcast tutorial on 25:33 : https://shinydevseries.com/post/episode-16-jmclellan/

Installation

from CRAN

install.packages("faq")

Dev version

devtools::install_github("jienagu/faq")

Introduction

Simply create a data frame with question column and answer column. Then put this data frame into faq() function, we will get a nice FAQ page.

library(faq)
df <- data.frame(
  question = c("Question1", "Question2", "Question3"),
  answer = c("answer for question1", 
             "question2 answer", 
             "answer3")
)
faq::faq(data = df, elementId = "faq", faqtitle = "Frequently Asked Questions")
demo_gif

Update Announcement

Considering this package supports multiple languages, now user can define the text on Expand All/Collapse All button on Dev version. See here is an example:

devtools::install_github("jienagu/faq")
library(faq)
df <- data.frame(
  question = c("Question1", "Question2", "Question3"),
  answer = c("answer for question1", 
             "question2 answer", 
             "answer3")
)
faq::faq(data = df, elementId = "faq", faqtitle = "Frequently Asked Questions",
         expand_all_button_text = "+ montrer tout", 
         collapse_all_button_text = "- cacher tout")

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.