SQL Interface to 'Snowflake', 'Redshift', 'Postgres', 'SQLite', and 'DuckDB'
Overview
Run 'SQL' queries across 'Snowflake', 'Amazon Redshift', 'PostgreSQL', 'SQLite', and 'DuckDB' from R with a single function. Optionally stream and cache large query results to a local 'DuckDB' database for efficient work with larger-than-memory datasets.
- DuckDB local caching: stream Snowflake / Postgres / Redshift query results into
analytics.duckdbviacache_table_name. - Snowflake connector auto-install + version enforcement (min 2.7.4) with resilient import logic.
- Batch streaming for Snowflake when
fetch_pandas_batches()available, fallback to full fetch otherwise. - Unified row count completion messages for all caching paths.
- Added SQLite examples & clarified credential YAML schema (including DuckDB + SQLite entries).
- Refactored internal connection helper; simplified error messaging.
- Documentation overhaul (README) to cover caching workflow, limitations & credential schema.
- Expanded package Title and Description to reflect multi-database + DuckDB caching functionality.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-30
- ERROR12 OK, 1 ERROR2026-09-04
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 6 earlier changesHide 6 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-24
- ERROR12 OK, 1 ERROR2026-05-17
- OK13 OK2026-05-15
- ERROR12 OK, 1 ERROR2026-05-13
- OK14 OK2026-03-10
Documentation
- Help pages
- 3 (1 internal)includes a package overview page
- Examples that run
- 0%1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
PRs over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/mermelstein/snowquery on 2026-10-18.
Dependencies
Code & Tests
People & History
Package metadata
- First published
- 2023-07-13
- Total releases
- 5 / 3 yrs
- License
- GPL (>= 3) OSI
- Download size
- 10 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("snowquery")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.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.