Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jienagu/faq
This is package is to create a FAQ (Frequently Asked Questions) page for Shiny application with desired data.frame.
https://github.com/jienagu/faq
Last synced: about 1 month ago
JSON representation
This is package is to create a FAQ (Frequently Asked Questions) page for Shiny application with desired data.frame.
- Host: GitHub
- URL: https://github.com/jienagu/faq
- Owner: jienagu
- License: other
- Created: 2020-07-16T16:28:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T20:11:36.000Z (almost 2 years ago)
- Last Synced: 2024-11-15T01:34:09.512Z (2 months ago)
- Language: R
- Homepage:
- Size: 259 KB
- Stars: 32
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shiny-extensions - faq - Accordion-based FAQ component with expand/collapse control. (UI Components / Walkthrough / Tooltip / Help)
- jimsghstars - jienagu/faq - This is package is to create a FAQ (Frequently Asked Questions) page for Shiny application with desired data.frame. (R)
README
---
output: github_document
always_allow_html: true
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# faq
This is package is to create a FAQ (Frequently Asked Questions) page for Shiny application with desired data.frame.
## Installation
``` r
install.packages("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.
```{r ex1}
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")
```