| ie_typed_metadata_servers | R Documentation |
Selector-table servers wired to a ie_file_server() for one measurement type:
they read that type's metadata and push the selection back into the file
server. Pair each with a ie_metadata_ui() using the same id.
ie_scans_metadata_server(id, file)
ie_cf_metadata_server(id, file)
ie_di_metadata_server(id, file)
id |
the module id (must match the paired |
file |
the |
a ie_metadata_server() handle
ie_file_server(), ie_metadata_ui()
if (interactive()) {
library(shiny)
iso <-
isoreader2::ir_examples_folder() |>
isoreader2::ir_find_isofiles() |>
isoreader2::ir_read_isofiles()
ui <- ie_metadata_ui("meta")
server <- function(input, output, session) {
file <- ie_file_server("files", get_isofiles = reactive(iso))
# pushes the table's selection into the file server for this type
ie_scans_metadata_server("meta", file)
}
shinyApp(ui, server)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.