Given input_id, return formats table and table of variables and units

query.format.vars(bety, input.id = NA, format.id = NA, var.ids = NA)

Arguments

bety

database connection

var.ids

optional vector of variable IDs. If provided, limits results to these variables

input_id, format.id

numeric. Defaults to format.id if both provided