View source: R/format_library_app.R
| format_library_app | R Documentation |
Opens an interactive Shiny app for browsing and managing objects currently registered in the global ksformat format library.
format_library_app(port = getOption("shiny.port"), launch.browser = TRUE)
port |
Integer or NULL. Port passed to |
launch.browser |
Logical. Passed to |
The app displays both ks_format (VALUE) and ks_invalue
(INVALUE) objects, supports filtering and name search, shows object details
with a formatted mapping table, and provides management actions to remove one
object, clear the full library, or quit the app.
Invisibly returns NULL.
## Not run:
if (interactive() && requireNamespace("shiny", quietly = TRUE)) {
fnew("M" = "Male", "F" = "Female", name = "sex")
finput("Male" = 1, "Female" = 2, name = "sex_inv")
format_library_app()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.