wiki_con(language, project = c("wikipedia", "commons", "species",
"wikisource", "wikiquote", "wikinews", "wikibooks", "wikiversity",
"wikivoyage"), w_timeout = 5, ua = NULL)
The language code and project names provided by the user are checked against an object containing all 'legitimate' permutations of languages and project types - in other words, all Wikipedia wikis that are not private, closed, dead, or otherwise restricted. This list is stored as an .RData file, "wikis", which will be updated as the package is updated.
To allow for the likelihood that the active projects change in quantity and variety over time,
a function, RDataRebuild
, is provided in this package to allow the end user to update the wiki
listings whenever they want.
RDataRebuild