> ## Documentation Index
> Fetch the complete documentation index at: https://offthepace.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# dim_drivers

> One row per driver_id.

<Note>Part of the [Reference](/transform/families/reference) family.</Note>

One row per driver\_id. Derived from stg\_laps   driver\_id is the FastF1 three-letter code (e.g. VER, HAM); debut\_year and career\_races\_in\_dataset reflect only the seasons present in the Bronze layer.

## Lineage

```mermaid theme={null}
flowchart LR
  stg_laps --> dim_drivers
  dim_drivers --> fct_driver_skill_features
  dim_drivers --> fct_lap_residuals
  style dim_drivers fill:#e40404,stroke:#e40404,color:#fff
```

## Overview

| Property          | Value                                      |
| ----------------- | ------------------------------------------ |
| Layer             | `reference`                                |
| Family            | [Reference](/transform/families/reference) |
| Contract enforced | No                                         |
| Upstream          | [`stg_laps`](../stg/stg_laps)              |

**2 tests** [guard](/transform/ci/overview) this model  -  2 generic, 0 singular.

## Columns

| Column                    | Type      | Nullable | Tests                                                                        | Description                                                                           |
| ------------------------- | --------- | -------- | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `driver_id`               | `varchar` | Yes      | [`not_null`](/transform/ci/structural), [`unique`](/transform/ci/structural) | FastF1 three-letter driver code (e.g. VER, HAM).                                      |
| `driver_number`           | `varchar` | Yes      |                                                                              | Most recent car number observed for the driver (drivers occasionally change numbers). |
| `debut_year`              | `integer` | Yes      |                                                                              | Earliest season the driver appears in the dataset.                                    |
| `career_races_in_dataset` | `hugeint` | Yes      |                                                                              | Count of distinct races the driver contested across the ingested seasons.             |
