Segmentation Charts (Business Analyst)

Résumé

Graphically displays index values for each segment when comparing two or more profiles. These charts are used to graphically illustrate the values in a Customer Tapestry Profile Report.

Learn more about how Segmentation Charts works

Usage

Syntaxe

SegmentationCharts_ba (ChartType, BaseSegmentationProfile, SegmentationProfiles, TargetGroup, ChartY, ChartIndex, ChartPrc, {ReportTitle}, OutputDirectory, {ChartPreferencesXml}, {ReportFormats})
ParamètreExplicationType de donnée
ChartType

Selects the segmentation chart type.

  • GAME_PLANDivides segments into four quadrants based on percent composition and index. Use this chart to identify core, developmental, and niche target groups.
  • MULTI_PROFILE_CHARTThis is the same as the Profile Comparison Chart, except you can choose up to three additional profiles to view. The first profile is compared to the base profile as a bar chart, and the other three profiles are compared to the base profile as line charts.
  • PROFILE_COMPARISON_CHARTCompares one segmentation profile to a base profile and graphically represents the Customer Tapestry Profile Report.
String
BaseSegmentationProfile

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

Folder
SegmentationProfiles
[SegmentationProfiles,...]

One or more segmentation profiles used to generate the Multi Profile Chart. The target profiles that will be compared to the base profile. Typically, this is based on your customers and is generated using the Segmentation Profile tools.

Folder
TargetGroup

Selects the segmentation group.

  • LifemodesSegments that share an experience, such as being born in the same time period, or a trait, such as affluence.
  • UrbanizationSegments that share a locale, from the urban canyons of the largest cities to the rural lanes of villages or farms.
String
ChartY

This value controls the x-axis position along the y-axis in the chart.

Double
ChartIndex

Defines the x-axis of the chart. This value is used to determine the threshold index of your analysis. Anything above this axis would exceed the index threshold.

Double
ChartPrc

Defines the y-axis of the chart. This value is used to determine the percent composition threshold of your analysis. Anything to the right of this axis would exceed the threshold.

Double
ReportTitle
(Facultatif)

Title for the report.

String
OutputDirectory

The output directory that will contain the report.

Folder
ChartPreferencesXml
(Facultatif)

Used for determining preferences set to the chart.

File
ReportFormats
[ReportFormats,...]
(Facultatif)

The desired report output format.

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

Exemple de code

SegmentationCharts Example (Stand-alone Script)
# Name: SegmentationCharts.py
# Description: Calculates how well customers in the San Francisco penetrate the households in that market.
# Author: ESRI

# Import system modules
import arcview
import arcpy

arcpy.ImportToolbox("C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")

try:
# Acquire extension license 
  arcpy.CheckOutExtension("Business") 
 
# Define input and output parameters for the Segmentation Chart
  BaseSeg = "San Francisco Area Profile" 
  TargetSeg = "Profile_0" 
  numX = 10.5
  numIndex = 100
  numComp = 4
  Title = "My Chart Title"
  OutPath = "C:/temp/Segmentation_Chart"
 
# Create Segmentation Chart
  arcpy.SegmentationCharts_ba("PROFILE_COMPARISON_CHART", BaseSeg, TargetSeg, "Lifemodes", numX, numIndex, numComp, Title, OutPath)
 
# Release extension license 
  arcpy.CheckInExtension("Business") 
 
except:
   print arcpy.GetMessages(2)

Environnements

Cet outil ne fait appel à aucun environnement de traitement de données géographiques

Rubriques associées

Informations de licence

ArcView : RequiertBusiness Analyst
ArcEditor : RequiertBusiness Analyst
ArcInfo : RequiertBusiness Analyst

10/4/2010