Etiqueta | Explicación | Tipo de datos |
Customer Layer
| The input point feature class that represents existing customers. | Feature Layer |
Segmentation Base
| The segmentation base for the profile being created. Available options are provided by the segmentation dataset in use. | String |
Output
Profile | The name of the segmentation profile file to be created. | File |
Volume Info Field
(Opcional) | 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 |
Disponible con licencia de Business Analyst.
Resumen
Creates a segmentation profile with an existing customer layer.
Uso
-
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.
Parámetros
arcpy.ba.GenerateCustomerProfile(in_customers_layer, in_segmentation_base, out_profile, {in_volume_field})
Nombre | Explicación | Tipo de datos |
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 (Opcional) | 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 |
Muestra de código
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")
Entornos
Información de licenciamiento
- Basic: Requiere Business Analyst
- Standard: Requiere Business Analyst
- Advanced: Requiere Business Analyst