Learn R Programming

tosca (version 0.3-4)

readWiki: Read Pages from Wikipedia

Description

Downloads pages from Wikipedia and extracts some meta information with functions from the package WikipediR. Creates a textmeta object including the requested pages.

Usage

readWiki(
  category,
  subcategories = TRUE,
  language = "en",
  project = "wikipedia"
)

Value

textmeta object

Arguments

category

character articles of which category should be downloaded, see pages_in_category, argument categories

subcategories

logical (default: TRUE) should subcategories be downloaded as well

language

character (default: "en"), see pages_in_category

project

character (default: "wikipedia"), see pages_in_category

Examples

Run this code
if (FALSE) corpus <- readWiki(category="Person_(Studentenbewegung)",
subcategories = FALSE, language = "de", project = "wikipedia")

Run the code above in your browser using DataLab