db_head: Function to get first _n_ rows of a database table.

View source: R/db_head.R

db_headR Documentation

Function to get first n rows of a database table.

Description

Function to get first n rows of a database table.

Usage

db_head(con, table, n = 5)

Arguments

con

Database connection.

table

Database table name.

n

Number of rows to read. Default is 5.

Value

Tibble

Author(s)

Stuart K. Grange


skgrange/databaser documentation built on Sept. 26, 2024, 8:30 p.m.