Description Usage Arguments Details Value Note Examples
xml2dfciv
transforms the original xml documents (decisions in civil matters from Italian Supreme Court)
to a data frame of class dfciv
.
1 | xml2dfciv(path)
|
path |
character string containing the path of xml input documents. |
Each original document has a xml tree structure starting at snintegrale
top element
and branching to testo
and dispositivo
leave elements, respectively containing
the content of the document body and the case decision.
Document attributes are:
tipoProv
type of decision (D, I, O, S) - S stands for *Sentenza* (final decision)
annoDec
year of decision
numDec
number of decision
numSez
number of ISC section
annoNrgSic
year of filing lawsuit
nrgSic
number of filing lawsuit
annoProvOrig
year of appealed decision
numProvOrig
number of appealed decision
autorita
authority of appealed decision
localita
location of appealed decision
materia
subject of appealed decision
dfciv
a data frame of class dfciv
.
Each row is a final decision (tipoProv == "S"
) and
the columns contain attributes and testo
and dispositivo
texts for each document.
xml2dfciv
transforms the xml tree to a list
which in turn is transformed to a data frame
.
You can obtain the dfciv
data frame loading this
compressed xml file and then running the code in the example.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.