Description Usage Arguments Warnings Examples
Connects to wikipedia API and retrieves an xml file with the whole revision history of an specific page.
1 | getPageXML(titles, file, language = "en", limit = "max")
|
titles, |
titles of pages that need to be retrieved. |
file, |
indicates where the xl file needs to be saved. |
language, |
indicates the version of wikipedia to retrieve results from. Default is English wikipedia. |
limit, |
indicated the maximum amount of revisions that need to be retrieved. If set to "max" the function retrieved the whole revision history. |
This function relies on current version of the Wikipedia API and may need to be updated when API changes.
1 | getPageXML("Patum_de_Berga", file = 'Patum_de_Berga.xml')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.