Description Usage Arguments Value Examples
word_top_example
grabs, as it suggests, the top example for
each entry in words
.
1 | word_top_example(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 5 columns; provider
, year
,
rating
, word
and example
.
1 2 3 4 | ## Not run:
examples <- word_top_example(key = "madeupkey", words = c("cat", "dog", "turnip"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.