Standardize notebook table-relationship documentation cells

This commit is contained in:
2026-05-22 14:21:51 -07:00
parent c95f22fcdb
commit 03239ad007
9 changed files with 147 additions and 191 deletions

View File

@@ -1116,6 +1116,27 @@
"else:\n",
" print('WRITE_BACK_TO_DB is False; no database table was modified.')"
]
},
{
"cell_type": "markdown",
"id": "32",
"metadata": {},
"source": [
"## Tables Created by This Notebook and Their Relationships\n",
"\n",
"### Tables Created / Maintained\n",
"1. `public.master_data_center_spatial_clusters` (optional write)\n",
"- One row per `master_id` with cluster label and clustering metadata.\n",
"- Written only when `WRITE_BACK_TO_DB = True`.\n",
"\n",
"### Key Relationships\n",
"- `public.master_data_centers (master_id)`\n",
" - 1-to-1 (effective) -> `public.master_data_center_spatial_clusters (master_id)`\n",
"\n",
"### Rerun Notes\n",
"- Default behavior (`WRITE_BACK_TO_DB = False`) performs no table writes.\n",
"- With write-back enabled, reruns replace cluster assignments using the current parameters/data."
]
}
],
"metadata": {