Skip To Content

Generate Customer Segmentation Profile (Business Analyst)

Available with Business Analyst license.

Summary

Creates a segmentation profile with an existing customer layer.

If block groups are used as the segmentation layer, the segmentation code of each block group will be appended to each customer.

Usage

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

  • This tool uses a point-in-polygon approach to append a segmentation code to each customer. This tool should only be used with existing customer layers that do not have a segmentation code appended.

  • Choosing a lower level of geography for the segmentation layer—for example, block groups—will provide a higher degree of accuracy.

Syntax

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

An input point feature class that represents existing customers.

Feature Layer
in_segmentation_base

The population or household base for the profile being created.

String
out_profile

The name of the segmentation profile feature 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")

Environments

Licensing information

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

Related topics