CMD + K

r-sqldf

Community

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.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-sqldf

Usage Tracking

0.4_11
0.4_10
2 / 8 versions selected
Total downloads: 0

About

Summary

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.

Information Last Updated

Sep 18, 2025 at 12:32

License

GPL-2.0-only

Total Downloads

98.6K

Platforms

noarch Version: 0.4_10
Linux 64 Version: 0.4_10
macOS 64 Version: 0.4_10
Win 64 Version: 0.4_10