Description Usage Arguments Value See Also Examples
View source: R/xml2relational.r
Saves a list of dataframes created from an XML source with
toRelational()
to CSV files, one file per dataframe (i.e.
table in the relational data model). File names are identical to the
dataframe/table names.
1 | savetofiles(ldf, dir, sep = ",", dec = ".")
|
ldf |
A list of dataframes created by
|
dir |
The directory to save the CSV files in. Per default the working directory. |
sep |
Character symbol to separate fields in the CSV fil, comma by default. |
dec |
Decimal separator used for numeric fields in the CSV file, point by default. |
No return vaue.
Other xml2relational:
getCreateSQL()
,
getInsertSQL()
,
toRelational()
1 2 3 4 5 | # Find path to custmers.xml example file in package directory
path <- system.file("", "customers.xml", package = "xml2relational")
db <- toRelational(path)
savetofiles(db, dir = tempdir())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.