Run the Shiny Application
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | flash_cards(
.data = NULL,
path = NULL,
type = "local",
width = 1000,
height = 800,
question = question,
answer = answer,
clean = TRUE
)
flash_shiny(
.data = NULL,
path = NULL,
question = question,
answer = answer,
clean = TRUE
)
flash_local(
.data = NULL,
path = NULL,
width = 1000,
height = 800,
question = question,
answer = answer,
clean = TRUE
)
flash_addin_envir(envir = .GlobalEnv)
flash_addin_file()
|
.data |
a data.frame containing columns 'question' and 'answer' |
path |
the path to a '.xlsx', '.csv', '.rds' file containing a data.frame with columns 'question' and 'answer' |
type |
the type of flash_cards to run. Can be either "shiny" or "local" |
width |
the width of the rstudio modal dialog box (in pixels) |
height |
the height of the rstudio modal dialog box (in pixels) |
question |
the column name for the questions in the dataset |
answer |
the column name for the answers in the dataset |
clean |
logical; whether or not to clean the column names |
envir |
the environment to look for flash card decks when using type = "local"; Defaults to .GlobalEnv |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.