sample_day_of_transactions.RdSample a day of transactions for a given number of users
sample_day_of_transactions(rs, date1, n_users, drop_existing_table = FALSE)
| rs | RPostgres connection to database |
|---|---|
| date1 | date to query |
| n_users | number of users |
| drop_existing_table | whether to drop an existing partitioned table for this date |
tibble a tibble with the results for the day from the db