Description Usage Arguments Value Examples
'wiki_define()' displays plaintext extract(s) of the given term(s) from ' the Wikipedia article(s).
1 | wiki_define(term = NULL, sentences = 5L)
|
term |
A non-empty character string or vector giving the name(s) of the term to be searched |
sentences |
An integer (or whole number) giving the number of sentences to return |
An extract from the Wikipedia article
1 2 3 4 5 | wiki_define('R (programming language)')
animals <- data.frame(name = c("dog", "cat"))
animals$definition <- wiki_define(animals$name, sentences = 1)
print(animals)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.