WikiSocio: A MediaWiki API Wrapper

Share:

MediaWiki is wiki platform. Providing the infrastructure of Wikipedia, it also offers very sophisticated archiving functionalities. This package is built to store these wiki's archives to R object - data-frame, lists, vector and variables. All data are downloaded with the help of MediaWiki REST API. For instance, you can get all revisions made by a contributor - contrib_list(), all the revisions of a page page_revisions(), or create corpus of contributors - corpus_contrib_create() - and pages corpus_page_create(). Then, you can make these corpus rich of data about contributors or pages - corpus_contrib_data() or corpus_page_data().

Author
person("Leo", "Joubert", email = "joubert.leo@gmail.com", role = c("aut", "cre"))
Date of publication
2016-02-23 19:25:38
Maintainer
Leo Joubert <joubert.leo@gmail.com>
License
GPL-3
Version
0.7.0

View on CRAN

Man pages

contrib_list
Getting the list of the contribution of a contributor.
corpus_contrib_create
Creating a contributor corpus
corpus_contrib_data
Adding data to a contributor corpus
corpus_contrib_select
Selecting the member of a corpus, based on their...
corpus_page_create
Creating a page corpus
corpus_page_data
Adding page data to a page corpus
graph_page
Graph a wiki page
page_anon
Giving the proportion of anonmous contribution in a revisions...
page_cat
List all categories where the page is located
page_infos
Getting some quantitative infos about a wiki page
page_islink
Test if page(s) is(are) linked
page_links
List of inter-articles links on a wiki page
page_ranking
Extracting the first contributors freom a list of revisions
page_revisions
Downloading the list of contributions for one page
period
Recode a date vector into periods
xpath
Query a page by xpath means

Files in this package

WikiSocio
WikiSocio/NAMESPACE
WikiSocio/R
WikiSocio/R/contrib.R
WikiSocio/R/corpus.R
WikiSocio/R/format.R
WikiSocio/R/graph.R
WikiSocio/R/page.R
WikiSocio/MD5
WikiSocio/DESCRIPTION
WikiSocio/man
WikiSocio/man/page_infos.Rd
WikiSocio/man/contrib_list.Rd
WikiSocio/man/page_links.Rd
WikiSocio/man/corpus_page_data.Rd
WikiSocio/man/xpath.Rd
WikiSocio/man/corpus_contrib_select.Rd
WikiSocio/man/corpus_page_create.Rd
WikiSocio/man/graph_page.Rd
WikiSocio/man/corpus_contrib_create.Rd
WikiSocio/man/page_ranking.Rd
WikiSocio/man/page_anon.Rd
WikiSocio/man/page_cat.Rd
WikiSocio/man/corpus_contrib_data.Rd
WikiSocio/man/period.Rd
WikiSocio/man/page_revisions.Rd
WikiSocio/man/page_islink.Rd