read.atekst: Parse an atekst .txt file

Description Usage Arguments Examples

Description

Parses an atekst .txt-file. The function returns a data frame with the headline, paper, date, time, mode (net/print), url, and text for each article.

Usage

1

Arguments

file

Path to a .txt-file downloaded from atekst. Typically called something like "Utvalgte_dokumenter-100-01.01.2015.txt".

Examples

1
2
corpus <- read.atekst("Utvalgte_dokumenter-100-01.01.2015.txt")
save(corpus, file = "atekst-corpus.RData")

mikaelpoul/atekstR documentation built on May 22, 2019, 10:51 p.m.