MRI Understanding Market Report (Business Analyst)

汇总

Compares the Tapestry profile of your Core and Developmental customers to the Tapestry profile of a syndicated survey.

用法

语法

UnderstandingMarketReport_ba (CustomerAlias, SSAdditionalGroup, {SSSortSegments}, {SSSortFields}, {SSSortWay}, BaseProfile, TargetProfile, {TitleParameterName}, OutputDirectoryParameterName, {ReportFormats})
参数说明数据类型
CustomerAlias

Description or alias for the term customer. For example, this could be patients, subscribers, customers, and so forth.

String
SSAdditionalGroup
[SSAdditionalGroup,...]

Select from a list of licensed MRI variables to run versus your target profile. The report template is formatted for four MRI variables.

String
SSSortSegments
(可选)

Select to enable sorting in your segmentation report.

  • TRUEWill allow report sorting
  • FALSEWill not allow report sort. This is the default.
Boolean
SSSortFields
(可选)

Select the method to sort the segmentation report.

  • Expected number of Households/AdultsSorts the report based on the number of housesholds/adults per Tapestry Segment ID.
  • IndexSorts the report based on the Index of each Tapestry Segment.
String
SSSortWay
(可选)

Select the method to sort the segmentation report.

  • AscendingSorts the report based on Tapestry Segments from lowest to highest segment ID.
  • DescendingSorts the report based on Tapestry Segments from highest to lowest segment ID.
String
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
TitleParameterName
(可选)

Title for the report.

String
OutputDirectoryParameterName

The output directory that will contain the report.

Folder
ReportFormats
(可选)

Select the desired report output format.

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

代码示例

UnderstandingMarketReport Example (Stand-alone Script)
# Name: UnderstandingMarketReport.py
# Description: Generates a Segmentation Market Report.
# 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 MRI Segmentation Report tool
  BaseSeg = "C:/temp/Profile/Profile.xml"
  TargetSeg = "C:/temp/Profile1/Profile.xml"
  OutPath = "C:/temp/Output_Segmentation"
 
# Create MRI Segmentation Report
  arcpy.MRISegmentationReport_ba("customer", "Financial", BaseSeg, TargetSeg, OutPath)
 
# Release extension license 
  arcpy.CheckInExtension("Business") 
 
except:
 print arcpy.GetMessages(2)

环境

此工具不使用任何地理处理环境

相关主题

许可信息

ArcView: 需要 Business Analyst
ArcEditor: 需要 Business Analyst
ArcInfo: 需要 Business Analyst

10/4/2010