Data quality rule templates

Templates capture expectations for data and bridge business and technical teams. Build one per rule type below.

1 min read

Rule templates allow analysts to capture expectations for data. Templates also help bridge the communications gap between business and technical teams. Consistent formulation of rules makes it easier to translate business needs into code, whether that code is embedded in a rules engine, the data analyzer component of a data profiling tool, or a data integration tool. A template can have several sections, one for each type of business rule to implement.

One template section per business rule type

One or more patterns specify valid values (e.g., telephone number formatting)

Template
Every non-empty phone in customers must match the pattern ^\(\d{3}\) \d{3}-\d{4}$. Target: at least 95% of records pass.
Results
  • (205) 555-0142pass
  • 205-555-0142does not match pattern
  • (334) 555-0199pass
  • (251)5550173does not match pattern
  • (907) 555-0110pass
  • +1 (907) 555-0110does not match pattern
50% pass (3 of 6)Below 95% threshold