View source: R/mod_data_import_step2.R
| mod_data_import_step2_server | R Documentation |
Returns a list of user-filled metadata. Do NOT evaluate any of the properties before checking all_valid == TRUE (list) (reactive).
mod_data_import_step2_server(
id,
default_data_source = reactive(NULL),
default_display_name = reactive(NULL),
default_short_name = reactive(NULL),
default_description = reactive(NULL)
)
id |
Internal parameters for shiny. |
default_data_source |
default data source value |
default_display_name |
default display name value |
default_short_name |
default short name value |
default_description |
default description value |
The list itself is reactive, so to access elements do:
metadata <- mod_data_import_step2_server(id="my_id")
# In a reactive context:
observe({
metadata()$all_valid
metadata()$display_name
metadata()$short_name
metadata()$data_source
metadata()$description
})
named list with elements:
all_valid (bool)
display_name (string)
short_name (string)
data_source (string)
description (string)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.