show_collection_def {TKCat} | R Documentation |
Show the definition of a collection
Description
This function prints details regarding a collection: title, description
and arguments information. These arguments are those that can be
used to document collection members within an MDB using
the add_collection_member()
function.
Usage
show_collection_def(collection, silent = FALSE)
Arguments
collection |
a json string with the collection definition as returned
by |
silent |
a logical indicating if the definition should be written (TRUE by default) or not. |
Value
A list with:
collection title
collection description
a list of arguments for defining collection members as a list of elements with:
the type of the argument element
-
allowed values if any
Examples
get_local_collection("BE") %>% show_collection_def()
[Package TKCat version 1.1.11 Index]