Usage
recent_changes(language = NULL, project = NULL, domain = NULL,
properties = c("user", "userid", "comment", "parsedcomment", "flags",
"timestamp", "title", "ids", "sizes", "redirect", "loginfo", "tags", "sha1"),
type = c("edit", "external", "new", "log"), tag = NULL, dir = "newer",
limit = 50, top = FALSE, clean_response = FALSE, ...)
Arguments
language
The language code of the project you wish to query,
if appropriate.
project
The project you wish to query ("wikiquote"), if appropriate.
Should be provided in conjunction with language
.
domain
as an alternative to a language
and project
combination,
you can also provide a domain ("rationalwiki.org") to the URL constructor, allowing
for the querying of non-Wikimedia MediaWiki instances.
properties
Properties you're trying to retrieve about each entry, Options include
"user" (the username of the person responsible for that entry), "userid" (the userID of said
person), "comment" (the edit summary associated with the entry), "parsedcomment" (the same,
type
The type of entry you want to retrieve; can be any permutation of "edit" (edits to existing pages),
"external" (external actions that impact on the project - primarily wikidata changes),
"new" (the creation of new pages) and "log" (log entries). By defaul
tag
Only return items with particular "tags", such as "mobile edit". NULL by
default.
dir
Should it go from newest to oldest ("newer"), or oldest to newest ("older")?
By default, set to "newer".
limit
The number of entries you'd like to return. By default, set to 50, which is
also the maximum number per-request for logged-out users.
top
Should the request only return "top" entries - in other words, the most recent
entry on a page? Set to FALSE by default.
clean_response
whether to do some basic sanitising of the resulting data structure.
Set to FALSE by default.
...
further arguments to pass to httr's GET.