View source: R/select_organization.R
argentum_select_organization | R Documentation |
Select Organization
argentum_select_organization(search = NULL, interactive_select = interactive())
search |
An optional search term to filter organizations |
interactive_select |
Logical; whether to run in interactive mode. Defaults to |
A data frame containing the selected organization's information, or NULL if no selection is made
# List available organizations
orgs <- argentum_list_organizations()
print(orgs)
# Select organization non-interactively
selected_org <- argentum_select_organization(interactive_select = FALSE)
print(selected_org)
if(interactive()){
# Select an organization interactively
selected_org <- argentum_select_organization()
# Select an organization with a search term
selected_org <- argentum_select_organization("Example")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.