Description Usage Arguments See Also Examples
View source: R/database_dump.R
This funcion uses the following shell utilities: the mysqldump program to dump a database table. the 7zr program to compress the resulting .sql text file into a .sql.7z file. If mysqldump and 7zr are not available on your system, this function will not work.
1 | dumptable(databasename, tablename, dumpfolder = "/mnt/sdb/data_raw/sqldump/")
|
databasename |
character name of the database |
tablename |
character name of the table |
dumpfolder |
character path where the .sql.7z file will be saved, defaults to a folder on the server, which might not exist on your system. |
1 2 3 4 | ## Not run: # Dump a database table
dumptable("tradeflows", "raw_comext_monthly_201709")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.