Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Fix nested list formatting, resolve markdown warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
markzegarelli committed Sep 18, 2023
1 parent d3704d3 commit af966c0
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions docs/data/sources/lookup-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ To set up this integration, you need the following:

- An event property or user property to create a mapping from.
- A CSV that has the data you want to map to:
- The first row should contain column names/headers
- The first column must correspond to the mapping property value and must contain *unique* values. Keep in mind that Lookup Tables are looking for exact matches, and are *case-sensitive*.
- Columns must be separated by commas
- Rows must be separated by line breaks
- If a field value contains commas or quotes, it should be wrapped within double quotation marks. The first double quote signifies the beginning of the column data, and the last double quote marks the end. If the value contains a string with double quotes, these are replaced by two double quotes `""`

- The first row should contain column names/headers
- The first column must correspond to the mapping property value and must contain *unique* values. Keep in mind that Lookup Tables are looking for exact matches, and are *case-sensitive*.
- Columns must be separated by commas
- Rows must be separated by line breaks
- If a field value contains commas or quotes, it should be wrapped within double quotation marks. The first double quote signifies the beginning of the column data, and the last double quote marks the end. If the value contains a string with double quotes, these are replaced by two double quotes `""`

### Amplitude setup

Expand Down Expand Up @@ -60,13 +61,13 @@ With Amplitude's Lookup Table feature, you can import your own data and map it t
- **Bulk filter long lists**. You want to see user behavior for a specific region and you have a list of all the customers and their regions. Use this to map each customer to a region, creating a new "Region" property. Now you can filter specifically to each region in a chart.

## CSV example
The following CSV will create a new property called `Language` that maps to the `SKU` property. This CSV is an example implementation of the **Bulk update property values** use case from the previous section.

The following CSV will create a new property called `Language` that maps to the `SKU` property. This CSV is an example implementation of the **Bulk update property values** use case from the previous section.

| SKU | Language |
|-----------|----------|
| en_US | English |
| fr_FR | French |
| de_DE | German |
| SKU | Language |
| ----- | -------- |
| en_US | English |
| fr_FR | French |
| de_DE | German |

[Click to download this example CSV](../../assets/csv/lookup-table-example.csv)

0 comments on commit af966c0

Please sign in to comment.