Overwrites the outbreak_data table with the latest computed outbreak indices. Designed to be called after clean/aggregate to keep the Shiny app read-only.

bq_write_outbreak_data(dt, con = NULL)

Arguments

dt

data.table with columns: date, code_name, name, value, Year, Month

con

A DBI BigQuery connection (or NULL to create one)