Skip to contents

The one check that cannot pass on a mismatch: it recomputes the tile id for cells taken from cell_model itself and compares them with the ids stored beside those cells. Counting rows, listing views, or querying a tile cannot distinguish a right width from a wrong one — a wrong tile id is still a valid tile id, so the query simply returns nothing.

Usage

cell_model_tile_check(con, n = 20L)

Arguments

con

a DBI connection to a serving database with a cell_model table/view

n

how many cells to sample

Value

TRUE, invisibly; errors on mismatch