Collar
Open the demo

Collar › Rules › Intervals › R49

Rules · Intervals

R49 · Code not in list

Warning Intervals

Codes are what legends, filters, exports and models group by. A code that is not in the project's list (a typo, a lower-case variant, a vendor's synonym) becomes its own category: it gets no colour, falls out of filters and splits a domain in two. Add it, map it as a synonym, or replace it.

01

What it checks

Reports a value in a list-coded column of any hole table that is not a code in that column's list. Hole type on the collar is checked by R17.

02

Why it matters

Legends, filters, exports and models group by code. An unknown code (a typo, a lower-case variant, a vendor synonym) becomes its own category: it gets no colour, falls out of filters and splits a domain in two.

03

What to do

Collar offers: Replace the code with its list match, Map it as a synonym, or Add it to the list. Replace a typo, map a code another source uses consistently, and add a code only for something new.

04

The fixes Collar offers

  • Add the code to its list.
  • Record the code as a synonym of an existing code.
  • Replace a cell's code with a code from the list.

From Collar 1.1.0's rule catalogue. The same text is in the app under Help.