NEW
Also known as: Lookup Table, Code Lists
Reference tables that standardize permissible code values and their descriptive meanings across systems.
DESCRIPTION
Code tables define allowed values for fields like country, status, or category and provide human-readable labels. They ensure consistency, simplify validation, and support analytics and interoperability. Effective code table management includes versioning, deprecation, and multilingual labels where needed. Code tables can be published as shared codelists or embedded in applications. Standards like ISO 3166 exemplify authoritative codelists.
ALTERNATIVE DEFINITIONS
Wikipedia
Reference data is data that defines the permissible values to be used by other data fields.
Defines reference data purpose aligned with code tables.
Wikipedia
In computer science, a lookup table is an array that replaces runtime computation with a simpler array indexing operation.
Describes a technical mechanism often used for code-value lookups.
Wikipedia
ISO 3166-1 is part of the ISO 3166 standard published by the International Organization for Standardization (ISO), and defines codes for the names of countries, dependent territories, and special areas of geographical interest.
Gives an authoritative example of a global codelist standard.
RELATED TERMS
Reference Data Enumeration Value Set Business Glossary Metadata Management Validation Rules ISO Codes Simple Knowledge Organization System Master Data Management Data Quality
COMPETING TERMS
Free-Text Values
RELATIONS
- Broader: Reference Data
KNOWLEDGE AREAS
Reference & Master Data Data Management Metadata Management Data Modeling
TARGET AUDIENCE
Data Steward Data Modeler Data Architect Data Engineer BI Specialist Analytics Engineer
EXTERNAL SOURCES
- Wikipedia - Reference data
- ISO - Official country codes standard
- GS1 - Global identification standards
- UK Government - Codelists standard guidance
TOP QUESTIONS
Why are Code Tables essential?
They enforce standardized values, improving data quality, interoperability, and reliable analytics across systems.
Category: Relevancy
What’s a common mistake with Code Tables?
Hardcoding values in application logic instead of centralized governance causes inconsistency and maintenance issues.
Category: Mistakes
How should Code Tables be versioned?
Track effective dates, deprecations, and changes, and communicate impact to downstream systems.
Category: Requirements
How do Code Tables relate to controlled vocabularies?
Code tables are a practical form of controlled vocabularies, binding codes to defined concepts and labels.
Category: Example
What risks come from unmanaged Code Tables?
Inconsistent classification, reporting errors, and failed integrations can result.
Category: Risk
How to start implementing Code Tables?
Catalog fields needing standardization, adopt authoritative codelists, and establish stewarded update processes.
Category: Requirements
Can Code Tables support multiple languages?
Yes, by storing language-tagged labels for each code and locale.
Category: Example
What is the difference between Code Tables and enumerations?
Enumerations are in-code restrictions; code tables externalize values with governance and metadata.
Category: Opinion
Which standards exemplify Code Tables?
ISO 3166 country codes and GS1 product identifiers are widely used, authoritative codelists.
Category: Example