Learn R Programming

WikipediR (version 1.0.0)

wiki_page: Retrieves MediaWiki page content

Description

wiki_page retrieves the DOM of a particular MediaWiki page, as a HTML blob inside a JSON object.

Usage

wiki_page(con, page, properties = c("text","revid"))

Arguments

con
A connector object, generated by wiki_con, that corresponds to the project you're trying to query.
page
The title of the page you want to retrieve
properties
Properties associated with the page, namely "text" (the actual, HTML content) and "revid" (the revision ID of the current version), the latter of which allows you to use wiki_revision to retrieve the

See Also

wiki_diff for retrieving 'diffs' between revisions, wiki_revision for retrieving the text of specified revisions.