as.xml-method: convert data.frame to XML

Description Usage Arguments

Description

convert data.frame to XML

Usage

1
2
3
4
5
6
7
8
as.xml(.Object, ...)

## S4 method for signature 'data.frame'
as.xml(.Object, meta, body, file, root = "collection",
  element = "text", clean = TRUE, verbose = TRUE)

## S4 method for signature 'list'
as.xml(.Object, filename = NULL)

Arguments

.Object

object to convert (data.frame)

...

further parameters

meta

character string, the column names of the metadata

body

character string, the column names of the text body, the column names will be turned into the value of a type attribute

file

filename including the path to which the XML will be written

root

name of the root node

element

the name no the element to which the paragraphs will be attached

clean

logical, if TRUE, whitespace will be removed from all columns

verbose

logical

filename

a filename


PolMine/ctk documentation built on May 8, 2019, 3:20 a.m.