Normalise an id column to the text every generation must publish
Source:R/app_bundle.R
app_id_chr.RdThe R-side twin of the SQL cast. An id reaches a published object by several
routes — a SELECT this package writes, a SELECT * of a precomputed table, a
column already read into R — and only the first was covered, so v7's
zone_taxon.parquet still carried taxon_id as a DOUBLE and published
"22725044.0" while taxon.parquet beside it said "22725044". One contract,
two spellings, and every join between them empty.
Details
Whole numbers become digits only; NA stays NA; a trailing .0 on a string is
stripped (it means whole); anything genuinely fractional is an error, never a
rounded neighbour — see app_taxon_table().