GetSampleFromDb {dils} | R Documentation |
Access a database table directly. Return a data.frame whose rows are the sample.
GetSampleFromDb(n, db)
n |
numeric, size of sample to be taken. |
db |
connection, connection to the database table containing the data. |
data.frame, size n random subset of the rows of filename
Stephen R. Haptonstahl srh@haptonstahl.org
https://github.com/shaptonstahl/
ScalablePCA
,
GetSampleFromDataFrame
,
GetSampleFromFile
## Not run: x <- dils:::GetSampleFromDb(10, my.db)