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:
tipoProvtype of decision (D, I, O, S) - S stands for *Sentenza* (final decision)
annoDecyear of decision
numDecnumber of decision
numSeznumber of ISC section
annoNrgSicyear of filing lawsuit
nrgSicnumber of filing lawsuit
annoProvOrigyear of appealed decision
numProvOrignumber of appealed decision
autoritaauthority of appealed decision
localitalocation of appealed decision
materiasubject 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.