wmflabs_get_allinfo: wmflabs_get_allinfo Obtains information about an article in...

View source: R/wiki_utils.R

wmflabs_get_allinfoR Documentation

wmflabs_get_allinfo Obtains information about an article in the Wikimedia project in JSON format, or NULL on error.

Description

wmflabs_get_allinfo Obtains information about an article in the Wikimedia project in JSON format, or NULL on error.

Usage

wmflabs_get_allinfo(
  article,
  project = "en.wikipedia.org",
  links_in_count_redirects = FALSE
)

Arguments

article

The article to search

project

The Wikimedia project, defaults en.wikipedia.org

links_in_count_redirects

If infotype==links, if redirects are included or not

Value

The number of visits

Note

Is important that the article be don't a redirection: with "prose" infotype the function gets information of the target article, but with "articleinfo" and "links" the information is about the redirection.

Author(s)

Angel F. Zazo, Departament of Computer Science and Automatics, University of Salamanca


wikiTools documentation built on March 24, 2022, 9:05 a.m.