listMechs | R Documentation |
Returns a dataframe with all mechanisms a user has access to. For an implementation example see: https://github.com/flopez-bao/shinyapps-datimutils-security-example-usgandpartners
listMechs(
option_fields = c("name", "id", "code"),
combo_fields = "id",
d2_session = dynGet("d2_default_session", inherits = TRUE)
)
option_fields |
fields passed to the getMetaData endpoint. |
combo_fields |
fields passed to getCatOptionCombos call. |
d2_session |
the d2Session object, default is "d2_default_session" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.