Skip to contents

Get flat data file module

Usage

get_flat_data(name, id, mod = TRUE, return_data = TRUE)

Arguments

name

name of the module

id

namespace id

mod

logical, as module?

return_data

logical, return the flat file data in a reactive list?

Value

code for UI and server components

Examples

# return data import (module)
get_flat_data(name = "import", id = "data", mod = TRUE, return_data = TRUE)
#> Error: RStudio not running
# return data import (UI and server code)
get_flat_data(name = "import", id = "data", mod = FALSE, return_data = TRUE)
#> Error: RStudio not running
# do not return data import (module)
get_flat_data(name = "import", id = "data", mod = TRUE, return_data = FALSE)
#> Error: RStudio not running
# do not return data import (UI and server code)
get_flat_data(name = "import", id = "data", mod = FALSE, return_data = FALSE)
#> Error: RStudio not running