Sample a day of transactions for a given number of users

sample_day_of_transactions(rs, date1, n_users, drop_existing_table = FALSE)

Arguments

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

Value

tibble a tibble with the results for the day from the db