Profile Segmentation Report (Business Analyst)

Résumé

Shows the Tapestry segments and summary groups that most accurately reflect your customer records and compares your customer profile to the Profile Segmentation Report of your base geography.

Learn more about how Profile Segmentation Report works

Usage

Syntaxe

CustTapestryProfile_ba (BaseProfile, TargetProfile, {SelectedBaseProfileResult}, {SelectedTargetProfileResult}, {SortEnable}, {FieldsSort}, {SortWay}, {TitleParameterName}, OutputDirectoryParameterName, {ReportFormats})
ParamètreExplicationType de donnée
BaseProfile

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
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
SelectedBaseProfileResult
(Facultatif)

The new name of the base profile that will appear on your report.

String
SelectedTargetProfileResult
(Facultatif)

The new name of the target profile that will appear on your report.

String
SortEnable
(Facultatif)

Provides options to sort the Profile Segmentation Report.

  • TrueAllows user-defined sorting.
  • FalseDoes not allow user-defined sorting and defaults to sorting the report by Percent Composition.
Boolean
FieldsSort
(Facultatif)

Select the method that will be used to sort the volumetric data in the Customer Profile Segmentation Report Report.

  • Number in Target ProfileSorts report based on the total counts of the target profile by segment.
  • Percents of total targetSorts report based on percent value of the total counts of the target profile by segment.
  • Number in Base ProfileSorts report based on the total counts of the base profile by segment.
  • Percents of total baseSorts report based on the percent value of the total counts of the base profile by segment.
  • Penetration Per 100Sorts report based on the penetration rate per 100 households or adults in the base profile.
  • IndexSorts report based on Index value.
String
SortWay
(Facultatif)

Select the sorting order of the sort field.

  • AscendingSorts the sort field from low to high value.
  • DescendingSorts the sort field from high to low value.
String
TitleParameterName
(Facultatif)

Title for the report.

String
OutputDirectoryParameterName

The output directory that will contain the report.

Folder
ReportFormats
(Facultatif)

The format of the output report

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

Exemple de code

CustTepestryProfile Example (Stand-alone Script)
# Name: CustTapestryProfile.py
# Description: Generates a Tapestry report based on pre-generated profiles.
# 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 Profile Segmentation Report tool
  BaseSeg = "C:/temp/Profile/Profile.xml"
  TargetSeg = "C:/temp/Profile1/Profile.xml"
  OutPath = "C:/temp/Output_Segmentation2"
 
  # Create Profile Segmentation Report
  arcpy.CustTapestryProfile_ba(BaseSeg, TargetSeg, 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