Skip to content

sqldf

0.4-12Package record

Manipulate R Data Frames Using SQL

24packages dependsuggested by 4
253.5Kdownloads / year
42.4%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.4-12
  • satisfy CRA checks. No code changes.

From inst/NEWS in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4-12
READMEYes · 7,294 wordsVignettesNoNEWSYes · 33% structured · mentions 0.4-12Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
3includes a package overview page
Examples that run
50%1 run in a plain check · 1 never run
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
67%

Also includes 2 demo scripts (run with demo())

Downloads

253.5K
CRAN downloads in the past year
Rank #865 · ~694/day · ~21.1K/mo
Daily download trend is not available in this view yet.
15.7K30 days
49.8K90 days
253.5K1 year
Compare downloads with other packages →
Also on1.6K r2u77 autocran6.5K conda_forge190 bioconda670 c2d4u

Repository

252Stars
79Forks
17Open issues
0Open PRs
0Releases
131Commits
8Commit identities
131 commits · Last activity 2026-09-12 · 0% stars, 30d · Default branch at 0.4-14, ahead of CRAN 0.4-12 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
50%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
548

Stars over time

2025-06-10 · 2492026-07-07 · 252
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/ggrothendieck/sqldf on 2026-10-18.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing sqldf adds 18 packages (10 with compiled code, 9.2 MB of source tarballs). Heaviest: RSQLite 4.2 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (4)
Imports (2)
LinkingTo (0)
none
Suggests (6)
Enhances (0)
none
Reverse dependencies
24direct
4indirect
Depends 3 · Imports 21
Suggested by 4
Show all 28 packagesHide all 28 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0-1.0 (2007)
Releases (28)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.4-12Latest
    record
    2026-01-30 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.4-11
    record
    2017-06-28 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 0.4-10
    record
    2014-11-07 · diff ↗
  • 0.4-9
    record
    2014-10-27 · diff ↗
Show 37 earlier eventsHide 37 earlier events

Package metadata

First published
2007-07-21
Total releases
28 / 19 yrs
License
GPL-2 OSI
Minimum R
≥ 3.1.0
Download size
60 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sqldf")
Grothendieck, G. (2026). sqldf: Manipulate R Data Frames Using SQL (Version 0.4-12) [Computer software]. https://doi.org/10.32614/CRAN.package.sqldf

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sqldf version 0.4-12 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy