Description Usage Arguments Value
Download a tbl from a db connection and write to a csv
1 | backup_tbl(tbl_name, src, output_dir)
|
tbl_name |
the name of a database table |
src |
a dplyr-managed connection to a database |
output_dir |
directory where the csv is to be saved |
A copy of the table is downloaded from the database and returned. A
blank data-frame is returned if the table could not be downloaded. The
contents of the table are written to [output_dir]/[tbl_name].csv
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.