Returns a random sample of rows from the imputed facility data table. Useful for computing outlier summaries without reading the full table.

bq_get_imputed_sample(con = NULL, frequency = "monthly", n = 500000L)

Arguments

con

A DBI BigQuery connection (or NULL to create one)

frequency

Either "weekly" or "monthly"

n

Maximum number of rows to sample

Value

data.table with sampled imputed data