Description Usage Arguments Value Author(s)
View source: R/create_viewer.R
Creates an html file with table and sound preview and player
1 2 3 4 5 6 7 8 9 10 11 12 |
audio_dir |
path to the directory with sounds |
picture_dir |
path to the directory with pictures |
table |
data frame with data ordered according to files in the audio folder |
captions |
vector of strings that will be used for captions for a picture. |
sorting_columns |
vector of strings for sorting the result column |
about |
it is either .Rmd file or string with the text for about information: author, project, place of gahtered information and other metadata, version of the viewer and so on |
map |
the logical argument, if |
output_dir |
the output directory for the rendered file |
output_file |
the name of the result .html file (by default stimuli_viewer) |
render |
the logical argument, if |
If render
is FALSE
, the function returns a path to the temporary file with .csv file. If render
is TRUE
, there is no output in a function.
George Moroz <agricolamz@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.