Learn R Programming

act (version 1.3.1)

examplecorpus: Example corpus for the act package

Description

Example corpus with data loaded from the example annotations files that come with the package

Usage

data(examplecorpus)

Arguments

Format

An object of class "corpus"

Details

You can download the corresponding media files from www.oliverehmer.de in the section "Digital Humanities". Alternatively you can use the download commands in the example section.

See Also

, corpus_new, corpus_import

Examples

Run this code
library(act)

# Summary of the data in the corpus
examplecorpus

# Summary of the data in th second transcripts in the corpus
examplecorpus@transcripts[[2]]

if (FALSE) {
# Download example corpus with media files
destinationpath <- "/EXISTING_FOLDERON_YOUR_COMPUTER/examplecorpus"
temp <- tempfile()
download.file(options()$act.examplecorpusURL, temp)
unzip(zipfile=temp, exdir=destinationpath)
}

Run the code above in your browser using DataLab