Skip to content

Commit

Permalink
Update reference to correct country lookup table (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
ANich authored Sep 21, 2023
1 parent 627af80 commit ad13d85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cookbooks/looker/countries.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CI:
```
To map (normalize) your input alias to its country code, add a LEFT join from your table or view to the alias `country_lookup`
table: `mozdata.static.country_codes_v1`. For example:
table: `mozdata.static.country_names_v1`. For example:

```sql
SELECT
Expand All @@ -47,7 +47,7 @@ SELECT
...
FROM
your_table
LEFT JOIN mozdata.static.country_codes_v1 country_lookup ON your_table.country_field = country_lookup.name
LEFT JOIN mozdata.static.country_names_v1 country_lookup ON your_table.country_field = country_lookup.name
```

Note: we use `??` as a country-code for empty country data from data sources. This will map to "Unknown Country",
Expand Down

0 comments on commit ad13d85

Please sign in to comment.