Description Usage Arguments Value See Also Examples
Instruct MonetDB to read a CSV file, optionally also create the table for it.
1 2 3 4 |
conn |
A MonetDB.R database connection. Created using |
files |
A single string or a vector of strings containing the absolute file names of the CSV files to be imported. |
tablename |
Name of the database table the CSV files should be imported in. Created if necessary. |
header |
Whether or not the CSV files contain a header line. |
best.effort |
Use best effort flag when reading csv files and continue importing even if parsing of fields/lines fails. |
delim |
Field separator in CSV file. |
newline |
Newline in CSV file, usually \n for UNIX-like systems and \r\r on Windows. |
quote |
Quote character(s) in CSV file. |
create |
Create table before importing? |
lower.case.names |
Convert all column names to lowercase in the database? |
col.names |
Optional column names in case the ones from CSV file should not be used |
sep |
alias for |
... |
Additional parameters. Currently not in use. |
Returns the number of rows imported if successful.
dbWriteTable
in DBIConnection-class
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.