Description Usage Arguments Examples
Build anor database in mysql
1 2 3 4 5 6 7 8 9 10 |
filename |
Path of raw data, will be read by fread |
mysql.connect.params |
Mysql parameters, [host, dbname, table.name, user, password etc.] |
dat |
Object of data.table, as the input data to build database |
fread.params |
Other parameters be used in |
new.colnames |
New colnames of table, default is to retain the original |
verbose |
Ligical indicating wheather show the log message |
... |
Other parameters be used in dbWriteTable |
1 2 3 4 5 6 | test.dat <- system.file('extdata', 'demo/sqlite.dat.txt', package = 'anor')
## Not run:
mysql.build(test.dat, list(host = 'host', dbname = 'db',
table.name = 'table', user = 'user', password = 'password'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.