Description Usage Arguments Examples
View source: R/exploratory_functions.R
This function returns a data.frame corresponding to rows in a database table that have been (somewhat) randomly sampled.
1 | get_table_sample(conn, table_name, samp_num)
|
conn: |
ODBC database connection handle |
table_name: |
character vector indicating the name of the table to be sampled from |
samp_num: |
integer indicating the number of rows to sample |
1 | get_table_sample(conn, 'jerrys_table', 15) # for sampling 15 rows from jerrys_table
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.