readWikinews {tosca}R Documentation

Read files from Wikinews

Description

Reads the XML-files from the Wikinews export page https://en.wikinews.org/wiki/Special:Export.

Usage

readWikinews(
  path = getwd(),
  file = list.files(path = path, pattern = "*.xml$", full.names = FALSE, recursive =
    TRUE)
)

Arguments

path

Path where the data files are.

file

Character string with names of the HTML files.

Value

textmeta-object


[Package tosca version 0.3-2 Index]