Description Usage Arguments Details Value Examples
Currently, this will only work for tables that already exist with compatible schema for the table.
1 2 | db_load_from_file(dest, table.name, file.name, sep = " ", skip = 1L,
append = FALSE)
|
dest |
Vertica connection src to the DB. |
table.name |
The name of the table created in Vertica matching the schema of the file. |
file.name |
Path to file with data. |
sep |
Delimiter in the file. |
skip |
Number of lines to skip at the beginning of the file (useful if contains headers). |
append |
TRUE if copied data will be added to existing data in table. FALSE to overwrite table data. |
This loading is fast and is used (by default) in copy_to.
A new tbl_vertica reference to the loaded table.
1 2 3 4 5 | ## Not run:
vertica <- src_vertica("VerticaDSN")
foo <- db_load_from_file(vertica,"foo","./foo.csv",sep=",")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.