The sqldf() function is typically passed a single argument which is an SQL select statement where the table names are ordinary R data frame names. sqldf() transparently sets up a database, imports the data frames into that database, performs the SQL select or other statement and returns the result using a heuristic to determine which class to assign to each column of the returned data frame. The sqldf() or read.csv.sql() functions can also be used to read filtered files into R even if the original files are larger than R itself can handle. 'RSQLite', 'RH2', 'RMySQL' and 'RPostgreSQL' backends are supported.
Package details |
|
---|---|
Author | G. Grothendieck <ggrothendieck@gmail.com> |
Maintainer | G. Grothendieck <ggrothendieck@gmail.com> |
License | GPL-2 |
Version | 0.4-11 |
URL | https://github.com/ggrothendieck/sqldf https://groups.google.com/group/sqldf |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.