
Speaker Data Viewing and Modification Module
mod_speaker_data_info.Rd
This Shiny module provides an interface for users to view and modify speaker data in VOX Analysis.
Arguments
- id
The namespace `id`, used to uniquely identify Shiny modules and UI components within the VOX Analysis package.
- df_input_speaker_info
A `data.frame` containing general information about a speaker (the subject of the VOX Analysis), as provided by the user. For an example, run `data("df_input_speaker_info")`.
Examples
if (interactive()) {
# Load example speaker information data
data("df_input_speaker_info_example")
# Define the UI with speaker data viewing and modification capabilities
ui <- page(
useShinyjs(),
mod_speaker_data_info_ui("speaker")
)
# Set up the server with initial speaker data
server <- function(input, output, session) {
mod_speaker_data_info_server("speaker", df_input_speaker_info_example)
}
# Run the Shiny app
shinyApp(ui, server)
}