Learn R Programming

SciencesPo (version 1.3.6)

head: Return the first n elements of a SQLiteConnection object

Description

If a database connection is selected, returns a dataframe of table names. If a table name is also supplied, the first n rows from the table are returned.

Usage

head(x, ...)

## S3 method for class 'SQLiteConnection': head(x, table = NULL, n = 10L, temp = FALSE, ...)

Arguments

x
A database connection object or a table name.
table
character specifying a table
n
integer: Number of rows to output
temp
logical should the function list the temp tables
...
Additional arguments