GetSampleFromDb {dils}R Documentation

Sample from the rows of a (possibly large) database table (NOT IMPLEMENTED)

Description

Access a database table directly. Return a data.frame whose rows are the sample.

Usage

  GetSampleFromDb(n, db)

Arguments

n

numeric, size of sample to be taken.

db

connection, connection to the database table containing the data.

Value

data.frame, size n random subset of the rows of filename

Author(s)

Stephen R. Haptonstahl srh@haptonstahl.org

References

https://github.com/shaptonstahl/

See Also

ScalablePCA, GetSampleFromDataFrame, GetSampleFromFile

Examples

## Not run: x <- dils:::GetSampleFromDb(10, my.db)

[Package dils version 0.8.1 Index]