View source: R/bots-brainstorm-bot.R
brainstorm_bot | R Documentation |
The brainstorm_bot
takes one or more search terms and searches
through all code tables in CADS. If any of the codes it finds happen to be
covered by a discoveryengine widget, it brings them back and suggests them.
brainstorm_bot(...)
bot_brainstorm(...)
... |
terms to search for |
Enter any number of search terms. Each search term must appear in quotation marks. A search term can begin or end with an asterisk, which denotes a wildcard character. For instance, "basket" will match the code for "basket weaving" but not "basketball." A search for "basket*" on the other hand will find both.
## search for a single term like this
brainstorm_bot("neuroscience")
## can also use wildcards at start and end of words:
brainstorm_bot("neuro*")
## or use multiple search terms
brainstorm_bot("neuro*", "robotics")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.