Description Usage Arguments Details Value Author(s) See Also Examples
provide the list of the contributions of a wikipedia page: discussions for Talk pages, or revisions for Subject pages.
1 |
page |
numeric identifier or character title of the specific wikipedia page |
domain |
a character value specifying the language of the wikipedia page.The default value is "en" for "english language". |
rvprop |
Which properties to get for each revision (separate with '|'):
Default: user|userid|timestamp |
This function uses the API query syntax: "prop=revisions". For more details, see https://www.mediawiki.org/wiki/API:Backlinks If the page is ambiguous, the contributions correspond to the modification on this ambiguous page, not on the possible linked pages. If the user is anonymous, the user in the output corresponds to the IP address, and the userid is zero.
an object of class contribsClass
:
call
the command line
page
title and identification number of the Wikipedia page
contribs
a data frame containing asked properties of the contribs, by default : user, userid, timestamp.
If the user does not exist or has no contribution, this item is not created.
testWikiPage
a list of four elements,
takeOnlyFirst
a boolean indicating if the class of page
parameter is invalid,
for example vector, list, matrix..., and in that case, only the first element is considered.
redirPage
title of the redirected page. This item is NULL if the page is not redirected.
test
an integer with value:
4 for invalid domain,
3 for an empty parameter page,
2 when Wikipedia does not have an article with this exact name,
1 for ambiguous page, direct or redirect,
0 for valid an unambiguous page, direct or redirect.
warnMessage
is a vector of warning messages.
Avner Bar-Hen, Louise Baschet, Francois-Xavier Jollois, Jeremie Riou
print.contribsClass userInfo
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.