Basic Mediawik API with one task to retrieve descriptions

Description

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.

Usage

1
  bef.mediawiki.api.define(term, language = "en")

Arguments

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.

Value

The function returns a vector with description strings.

Examples

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.