Description Usage Arguments Value Examples
View source: R/bef.mediawiki.api.R
This function queries Wikipedia in the language of your choice. You can select the language per two character country code Wikipedia uses in they sub domains.
1 | bef.mediawiki.api.define(term, language = "en")
|
term |
Is the term or string you are searching for on Wikipedia. |
language |
Is the language of the Wikipedia (default: en). You can use two character country codes that Wikipedia uses in their sub domains. |
The function returns a vector with description strings.
1 2 3 4 5 | ## Not run:
descriptions = bef.mediawiki.api.define(term = "Tree")
descriptions = bef.mediawiki.api.define(term = "Baum", language = "de")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.