Skip to contents

Rolls up the "Data Collection & Stepbacks" subitems of every FY27 logistics board onto the Data Collection View of the FY27 Partnerships Information & Tracking board (18426983068), which the sync owns: values there are overwritten to match the logistics boards.

Called with board_ids, only the partnership rows those boards feed are re-synced (the webhook path). Called without, every row is synced and the "Issues" and "Missing Partnership Rows" tabs of the issues sheet are rewritten (the hourly sweep).

Usage

sync_data_collection(
  board_ids = NULL,
  dry_run = FALSE,
  write_issues = is.null(board_ids)
)

Arguments

board_ids

Optional logistics board ids that changed. A subitem board id is not accepted; pass the parent board.

dry_run

If TRUE, compute everything but write nothing.

write_issues

Whether to rewrite the issues sheet tabs. Defaults to a full sweep only. Requires googlesheets4 to be authenticated.

Value

Invisibly, a list of written (rows and columns changed), issues, missing_rows and crosswalk.