readWikinews: Read files from Wikinews

Description Usage Arguments Value

View source: R/readWikinews.R

Description

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

Usage

1
2
3
4
5
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


tosca documentation built on Oct. 28, 2021, 5:07 p.m.