Description Usage Arguments Value Note Author(s)
Dumps the contents of a table (saved as a text file) into a SQLite database, performing some filtering along the way.
1 | makeDb(dbfile, textfile, tablename, sep = "\t", cutoff = 5)
|
dbfile |
Character string giving the file
name/location of the database to be created. Generally
ends in |
textfile |
The text file containing the table to be
dumped into |
tablename |
Character string containing name to give
the table inside |
sep |
The separator used in |
cutoff |
Rows in |
No return, but writes the file dbfile
containing
table tablename
by filtering textfile
according to cutoff
.
The workhorse of this function is a modified version of
read.csv.sql
, found in the sqldf
package.
Alyssa Frazee
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.