Wikimedia_query | R Documentation |
Wikimedia_query Use httr package to retrieve responses in JSON format about an article from Wikimedia API.
Wikimedia_query( query, project = "en.wikipedia.org", headers = my_headers, attempts = 2 )
query |
A list with de (key, values) pairs with the search. |
project |
The Wikimedia project to search. |
headers |
A vector with aditional query headers for the request. |
attempts |
On errors, the maximun number of times the query is launched if repetition_on_error is not zero (default 2) |
The response in JSON format or NULL on errors.
Angel F. Zazo, Departament of Computer Science and Automatics, University of Salamanca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.