Description Usage Arguments Examples
Upload data.frame to TD
1 2 3 4 5 6 7 8 9 10 |
conn |
|
dbname |
Target destination database name. |
table |
Target table name. |
df |
Input data.frame. |
mode |
Write mode. "bulk_import" or "embulk". Default: "bulk_import" |
embulk_dir |
Path to embulk. [optional] |
overwrite |
Flag for overwriting the table if exists. It doesn't overwrite database. This flag sets "replace" mode for embulk-output-td. |
append |
Flag for append data into the table if exists. It doesn't overwrite database. This flag sets "append" mode for embulk-output-td. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
td_upload_embulk("mydb", "iris", iris)
# With overwrite option
td_upload_embulk("mydb", "iris", iris, overwrite = TRUE)
# With append option
td_upload_embulk("mydb", "iris", iris, append = TRUE)
# With overwrite option
td_upload_embulk("mydb", "iris", iris, "/path/to/embulk", overwrite = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.