Core and Developmental Segments Segmentation Report (Business Analyst)

许可等级:BasicStandardAdvanced

摘要

Displays core and developmental segments in a table with customer count and percent, market area count and percent, and index.

用法

语法

CoreDevelopmentalSegments_ba (BaseProfile, TargetProfile, SegmentMethod, OutputDirectoryParameterName, {IndexThreshold}, {PenetrationThreshold}, {TargetGroup}, {CoreTarget}, {DevelopmentalTarget}, {TitleParameterName}, {ReportFormats})
参数说明数据类型
BaseProfile

The base profile used in the calculation of the index. This profile is usually based on the geographic extent of your customers.

Folder
TargetProfile

The target profile that will be compared to the base profile. Typically, this is based on your customers and is generated using the Segmentation Profile tools.

Folder
SegmentMethod

Select the method to determine how your segments will be assigned to the Core and Developmental categories.

  • Use Threshold ValuesThis option allows Business Analyst to define how your Core and Developmental segments are assigned based on the thresholds set here.
  • Use Target GroupThis option allows you to predefine what segments are classified as either Core or Developmental. To use this option, you must first create custom target groups with these assignments.
String
OutputDirectoryParameterName

The output directory that will contain the report.

Folder
IndexThreshold
(可选)

The value used to determine the threshold index of your analysis.

Double
PenetrationThreshold
(可选)

Defines the percentage of customers that meets or exceeds the percent composition threshold.

Double
TargetGroup
(可选)

The predefined Target Group that contains your Core and Developmental segments.

String
CoreTarget
(可选)

The Core Target group. Core targets should be defined as the segments that make up a good percentage of your customer base. To use this option, you must first create custom target groups with these assignments.

String
DevelopmentalTarget
(可选)

The Developmental Target group. Developmental targets should be defined as the segments that make up a good percentage of your customer base but don't index as well as your Core segments. To use this option, you must first create custom target groups with these assignments.

String
TitleParameterName
(可选)

Title for the report.

String
ReportFormats
(可选)

Select the desired report output format

  • Simple XML
  • PDF
  • HTML
  • CSV
  • ZIP
  • XLSV
  • Stripped XLSX
String

代码实例

CoreDevelopmentalSegments Example (Stand-alone Script)
# Name: CoreDevelopmentalSegments.py
# Description: Creates a Core and Developmental report using a target profile based on customers from the San Francisco tutorial data and using the US total households as the base profile.
# Author: Esri

# Import system modules

import arview
import arcpy

arcpy.ImportToolbox("C:\Program Files (x86)\ArcGIS\Desktop10.2\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")
 
try:
# Acquire extension license 
  arcpy.CheckOutExtension("Business")
 
# Define input and output parameters for the Core and Developmental Segments Report tool
  BaseSeg = "C:/My Output Data/Projects/Test/Segmentation/Profiles/Profile_Base/Profile.xml"
  TargetSeg = "C:/My Output Data/Projects/Test/Segmentation/Profiles/Profile_Target/Profile.xml"
  OutPath = "C:/temp/Output_Segmentation"
 
# Create Core and Developmental Segments Report    
  arcpy.CoreDevelopmentalSegments_ba(BaseSeg, TargetSeg, "110", "4", OutPath)
 
# 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