Create Target Group (Business Analyst)
用法
-
Use the output from the Profile Segmentation Report as a guide for creating target groups.
-
Customer segments that have a high percentage and high index values tend to be your best customers. Look for these segments to create core targets.
-
Once the target groups are created, you can use them in conjunction with the Segmentation Penetration Map tool. These maps allow you to thematically map standard levels of geography in a study area by the percent penetration of a collection of segments.
语法
CreateTargetGroupFromList_ba (InputTargetGroupStringRepresentation, InputTargetGroupFolder, {InputTargetGroupComments})
参数 | 说明 | 数据类型 |
InputTargetGroupStringRepresentation |
Lists segments in each target. | String |
InputTargetGroupFolder |
Name of the target group to be created. | String |
InputTargetGroupComments (可选) |
Optional comments for target group. These comments can include information such as author, source, date, and vintage. | String |
代码实例
CreateTargetGroupFromList Example (Stand-alone Script)
# Name: CreateTargetGroupFromList.py
# Description: Creates a target group of selected segments from a list.
# Author: Esri
# Import system modules
import arcview
import arcpy
arcpy.AddToolbox("C:\Program Files (x86)\ArcGIS\Desktop10.2\Business Analyst\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")
try:
# Acquire extension license
arcpy.CheckOutExtension("Business")
# Define input and output parameters for the Create Target Group tool
Segments = "Core=7,8,9;"
# Create Target Group
arcpy.CreateTargetGroupFromList_ba(sSegments, "SampleTargetGroup")
# Release extension license
arcpy.CheckInExtension("Business")
except:
print arcpy.GetMessages(2)
环境
此工具不使用任何地理处理环境
相关主题
许可信息
ArcGIS for Desktop Basic: 需要 Business Analyst
ArcGIS for Desktop Standard: 需要 Business Analyst
ArcGIS for Desktop Advanced: 需要 Business Analyst
4/27/2014