readWiki {tosca}R Documentation

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"
)

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

Value

textmeta object

Examples

## Not run: corpus <- readWiki(category="Person_(Studentenbewegung)",
subcategories = FALSE, language = "de", project = "wikipedia")
## End(Not run)

[Package tosca version 0.3-2 Index]