brainstorm_bot: Suggest widgets and codes based on search terms

View source: R/bots-brainstorm-bot.R

brainstorm_botR Documentation

Suggest widgets and codes based on search terms

Description

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.

Usage

brainstorm_bot(...)

bot_brainstorm(...)

Arguments

...

terms to search for

Details

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.

Examples

## 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")


tarakc02/discoveryengine documentation built on Sept. 26, 2023, 12:17 a.m.