bef.mediawiki.api.define: Basic Mediawik API with one task to retrieve descriptions

Description Usage Arguments Value Examples

View source: R/bef.mediawiki.api.R

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)

rbefdata documentation built on May 19, 2017, 9:20 p.m.

Search within the rbefdata package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.