write_naaccr_xml {naaccr} | R Documentation |
Write records to a NAACCR-formatted XML file
Description
Write records to a NAACCR-formatted XML file
Usage
write_naaccr_xml(
records,
con,
version = NULL,
format = NULL,
base_dictionary = NULL,
user_dictionary = NULL,
encoding = "UTF-8"
)
Arguments
records |
A |
con |
Either a character string naming a file or a
|
version |
An integer specifying the NAACCR format version for parsing
the records. Use this or |
format |
A |
base_dictionary |
URI for the dictionary defining the NAACCR data items.
If this is |
user_dictionary |
URI for the dictionary defining the user-specified
data items. If |
encoding |
String specifying the character encoding for the output file. |
Value
Invisibly returns the
XMLInternalDocument
object which
was written to con
.