Learn R Programming

WikiSocio (version 0.7.0)

A MediaWiki API Wrapper

Description

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().

Copy Link

Version

Install

install.packages('WikiSocio')

Monthly Downloads

1

Version

0.7.0

License

GPL-3

Maintainer

Leo Joubert

Last Published

February 23rd, 2016

Functions in WikiSocio (0.7.0)

page_infos

Getting some quantitative infos about a wiki page
corpus_contrib_select

Selecting the member of a corpus, based on their contributions.
xpath

Query a page by xpath means
page_ranking

Extracting the first contributors freom a list of revisions
corpus_contrib_create

Creating a contributor corpus
page_links

List of inter-articles links on a wiki page
page_anon

Giving the proportion of anonmous contribution in a revisions list
graph_page

Graph a wiki page
period

Recode a date vector into periods
corpus_page_create

Creating a page corpus
page_revisions

Downloading the list of contributions for one page
contrib_list

Getting the list of the contribution of a contributor.
page_islink

Test if page(s) is(are) linked
page_cat

List all categories where the page is located
corpus_contrib_data

Adding data to a contributor corpus
corpus_page_data

Adding page data to a page corpus