Source Dataset Requirements for B2B Site Mastering

You align your source data with the industry-standard schema for company data that is supplied by this template.

The B2B site mastering template includes a predefined, standardized schema for company data. The mastering flow for data products produced by this template includes a schema mapping step in which you identify how columns in your source datasets correspond to the attributes in the supplied schema.

To prepare, review the general Requirements for Source Datasets. Then, identify the column or columns in each of your source datasets that you will map to the B2B site schema:

  • uniqueKey
    The primary key for the dataset. See About Primary Keys for more information.
  • trusted_id
    This is a non-unique key, such as a customer identification number used by your internal systems. The clustering model always clusters together records that have the same trusted id. If the values in this field do not represent a definite match, map an empty placeholder field to trusted_id, and then add the following transformation in the Create tamr_record_id step in the mastering flow: SELECT *, '' as trusted_id;.
  • company_name
  • alternative_names
  • address_line_1
  • address_line_2
  • city
  • region
  • postal_code
  • country
  • phone
  • url

After you map your source data fields to these attributes, Tamr Cloud can enrich your data and consolidate similar records into entities.

Tip: You can also add attributes to the unified schema and map columns that you want to include in the mastered data product to them. The template does not use these additional attributes as part of the mastering process.