Description Usage Arguments Value Examples
related_words
grabs terms that are in some way associated
with the words
argument.
1 | related_words(key, words, use_canonical = FALSE, ...)
|
key |
a Wordnik API key. These can be obtained at the Wordnik developer portal. |
words |
a vector of words. |
use_canonical |
whether to use the stemmed, canonical form of the word
(i.e. 'cat', for 'cats') instead of the actual |
... |
further arguments to pass to httr's GET. |
a data.frame of 3 columns: word
(the original term),
type
(the type of relationship) and related_word
.
1 2 3 4 | ## Not run:
cat_adjacent <- related_words(key = "madeupkey", words = "cat")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.