Generate Customer Segmentation Profile (Business Analyst)

Available with Business Analyst license.

Summary

Creates a segmentation profile with an existing customer layer.

Usage

  • The Customer Layer parameter value must be a point feature class.

  • A customer profile is a summary of segments that have been assigned to a point.

  • Each point is assigned to a standard geography that contain households or population counts for each segment, depending on the segmentation system you are using.

  • Each geography can contain households or population belonging to one or more segments. As a result, each point can be assigned to more than one segment.

  • The segment count for each point is based on the number of segments and count for each point. If there is a single segment, the count will be one for each point. However, if there are multiple segments, the count for each segment will be proportionally calculated.

Syntax

arcpy.ba.GenerateCustomerProfile(in_customers_layer, in_segmentation_base, out_profile, {in_volume_field})
ParameterExplanationData Type
in_customers_layer

The input point feature class that represents existing customers.

Feature Layer
in_segmentation_base

The segmentation base for the profile being created. Available options are provided by the segmentation dataset in use.

String
out_profile

The name of the segmentation profile file to be created.

File
in_volume_field
(Optional)

The field containing volume information from which the profile can optionally be created. For example, you can create a profile using the sales for each customer.

Field

Code sample

GenerateCustomerProfile example (Python window)

The following Python window script demonstrates how to use the GenerateCustomerProfile tool.

import arcpy
arcpy.ba.GenerateCustomerProfile(r"C:\Project1.gdb\Customers", "Total Adult Population", "\Documents\ArcGIS\Projects\Project1.gdb\CustomerSegmentation")

Licensing information

  • Basic: Requires Business Analyst
  • Standard: Requires Business Analyst
  • Advanced: Requires Business Analyst

Related topics