---
schema_version: "1"
id: 7499defa803447a988d1cd5cddfa5f6c719b1b2b486e06c046275c12ea4b8657
title: Create the Country-Codes Dataset
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform-pkg-exchange/managed_packaging/guides/second-generation/appexchange/app-analytics/app-analytics-cookbook/app-analytics-cookbook-tcrm-country-codes.md
canonical_url: https://developer.salesforce.com/docs/platform/pkg2-dev/guide/app-analytics-cookbook-tcrm-country-codes.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a7219dcd55d3678550f219db1936bc5701dede6d816ec9d61b81fb816cfbdd82
products:
  - Second-Generation Managed Packaging Developer Guide
  - merged-docs
---

# Create the Country-Codes Dataset

To create visualizations of your country-based data in map format, you normalize the LMA country-code data to CRM Analytics country-code format.

## Before You Begin

| Required Editions                                                                        |
| ---------------------------------------------------------------------------------------- |
| Available in: both Salesforce Classic and Lightning Experience                           |
| Available in: **Enterprise**, **Performance**, **Unlimited**, and **Developer** Editions |

1.  Click [country-codes.csv](https://github.com/datasets/country-codes/blob/master/data/country-codes.csv) to download standardized country code data.

2.  Right-click **Raw** and click **Save Link As**.

3.  Name the file `country-codes.txt`, and save it to your desktop.

4.  In Analytics Studio in CRM Analytics, click **Create**.

5.  Click **Dataset**.

6.  Click **CSV File**.

7.  Select your `country-codes.txt` file.

8.  Click **Next**.

9.  Name your dataset `country-codes`.

10. Select your **PartnerIntelligence** app.

11. Click **Next**.

12. Click **Upload File**.
