Retrieves the latest version of each observation, analogous to get_data for SQLite.

bq_get_data(
  con = NULL,
  frequency = "monthly",
  id_list = NULL,
  version_id = NULL
)

Arguments

con

A DBI BigQuery connection (or NULL to create one)

frequency

Either "weekly" or "monthly"

id_list

Named list of ID columns and values to filter on (optional)

version_id

Maximum version to include (NULL = latest)

Value

data.table with the requested data