dfciv2corpus: Creating an ISC corpus from a data frame of class dfciv

Description Usage Arguments Value Examples

Description

dfciv2corpus transforms a data frame of class dfciv to a corpus of Italian Supreme Court decisions and exports the result to the built-in directory data/corpus.

Usage

1

Arguments

dfciv

a data frame of class dfciv.

export

logical, if TRUE exports the corpus to txt files. Default is FALSE.

Value

a ISC corpus built from a dfciv data frame with user defined meta attributes (see xml2dfciv function).

Examples

1
2
3
4
5
6
## Not run: 
library(Supreme)
data("dfciv")
corpus <- dfciv2corpus(dfciv, TRUE)

## End(Not run)

paolofantini/Supreme documentation built on May 24, 2019, 6:14 p.m.