publish | R Documentation |
Publishing a definition created in the Discovery Engine makes it easier to
share it with other users and helps build standards around constituency
definitions. Publish your own definitions (or "singles") using the
publish
function, and view all singles that have already been
published using show_singles()
.
publish(single, ...)
## S3 method for class 'disco_single'
publish(single, ...)
## S3 method for class 'listbuilder'
publish(single, ...)
single |
The definition to be published |
... |
Can be used to specify metadata. You can leave this blank and follow the interactive prompts. |
Publishing requires you to supply some metadata that will make it
easier for others to find your single when they need it (things like author's
name, description, and keywords). When you use publish
, you'll be
prompted to enter each item of metadata, so read and follow the prompts.
show_singles
to view existing singles,
check_out
to check out a published single.
## Not run:
## Start by creating a definition
band_member = participated_in(MSMB)
## then just use the publish function and answer the prompts
publish(band_member)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.