Example get imported data application
getDataDemo.RdThis is an application using the get_flat_data() function.
Details
App structure
The UI and server contains examples from the following get_flat_data()
function arguments:
get_flat_data(name = 'import', id = 'data', mod = TRUE, return_data = TRUE)and
get_flat_data(name = 'import', id = 'data', mod = FALSE, return_data = FALSE)Module function arguments
If mod and return_data are set to TRUE, then the module will not
display the imported data. To verify the data have been imported,
getDataDemo() has an additional module (mod_prnt_data_ui()/server()) that
renders the imported data via shiny::verbatimTextOutput() and
shiny::renderPrint().
UI/server arguments
If mod is set to FALSE, get_flat_data() returns UI and server code for
importing data and returning a reactive object (imported_data()).
getDataDemo() also displays these data using shiny::verbatimTextOutput()
and shiny::renderPrint()