> ## 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.

# circuit_id_from_name

> Derive a stable physical-circuit identifier from a circuit's display name.

Derive a stable physical-circuit identifier from a circuit's display name. The seed key (circuit\_key) is really a grand-prix/event slug, so a single physical venue can carry several keys: renamed events (mexican\_grand\_prix → mexico\_city\_grand\_prix), and double-headers at one track (british\_grand\_prix + 70th\_anniversary\_grand\_prix at Silverstone; austrian\_grand\_prix + styrian\_grand\_prix at the Red Bull Ring). Slugifying the circuit\_name collapses those into one circuit\_id so "equal-car track record at a circuit" pools all races run at the same venue.

## Signature

```sql theme={null}
{{ circuit_id_from_name(name_col) }}
```
