Learn R Programming

fastglm (version 0.1.4)

fastglm_source_dbi: Create a source from indexed database queries

Description

Each query must return a stable, disjoint chunk in a deterministic order. The database snapshot must remain unchanged throughout fitting and inference.

Usage

fastglm_source_dbi(
  connection,
  queries,
  formula,
  prototype,
  weights = NULL,
  offset = NULL
)

Value

A resettable `fastglm_source`.

Arguments

connection

a DBI connection.

queries

character vector of read-only SELECT queries, one per chunk.

formula, prototype, weights, offset

passed to [fastglm_source()].