MRI Understanding Market Report (Business Analyst)

Summary

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

Usage

Syntax

UnderstandingMarketReport_ba (CustomerAlias, SSAdditionalGroup, {SSSortSegments}, {SSSortFields}, {SSSortWay}, BaseProfile, TargetProfile, {TitleParameterName}, OutputDirectoryParameterName, {ReportFormats})
ParameterExplanationData Type
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
(Optional)

Select to enable sorting in your segmentation report.

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

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
(Optional)

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
(Optional)

Title for the report.

String
OutputDirectoryParameterName

The output directory that will contain the report.

Folder
ReportFormats
(Optional)

Select the desired report output format.

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

Code Sample

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)

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: Requires Business Analyst
ArcEditor: Requires Business Analyst
ArcInfo: Requires Business Analyst

11/8/2010