Gap Analysis Report (Business Analyst)

许可等级:BasicStandardAdvanced

摘要

Creates a report to analyze a market by displaying total households, percent core households, percent developmental households, actual customers, customer penetration, expected customers, and the gap for a given level of geography.

Learn more about how the Gap Analysis Report works

用法

语法

GapAnalysisReport_ba (InputGeographyLevel, BaseProfile, TargetProfile, SegmentMethod, OutputDirectoryParameterName, {CustomerLayer}, {UseSelectedFeatures}, {AllZips}, {IndexThreshold}, {PenetrationThreshold}, {TargetGroup}, {CoreTarget}, {DevelopmentalTarget}, {TitleParameterName}, {CreateThematicMap}, {ThematicMapField}, {OutputFeatureClass}, {ReportFormats})
参数说明数据类型
InputGeographyLevel

The input feature class containing the demographic variables used to profile your customers. Typically, this should be set to the block group layer.

Feature Layer
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
SegmentMethod

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
CustomerLayer
(可选)

The point input feature class containing customers. Typically, this will be a Business Analyst customer layer.

Feature Layer
UseSelectedFeatures
(可选)

Generates a report on selected features of the customer layer.

  • TrueGenerates the Gap Analysis Report on selected features.
  • FalseGenerates the Gap Analysis Report on all features. This is the default.
Boolean
AllZips
(可选)

The option to use all ZIP Codes in the report.

  • USE_ALL_ZIPSGenerates a Gap Analysis report on all ZIP Codes. This is the default.
  • USE_SELECTED_ZIPSGenerates a Gap Analysis report only on ZIP Codes that contain segments in your Core and Developmental groups.
Boolean
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 Groups that contain 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 and index well. 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
CreateThematicMap
(可选)

Generate a thematic map on a selected variable.

  • CREATE_THEMATICGenerates a thematic map.
  • NO_THEMATICDoes not generate a thematic map. This is the default.
Boolean
ThematicMapField
(可选)

The field to generate the thematic map.

  • GapRefers to the difference between the actual number of customers you currently have versus the total potential number of customers who you would expect to be your customer in your market area.
  • Expected CustomersThe estimated number of adults or households that use a particular product or service.
  • Actual Customer HouseholdsThe total counts of customers expressed as households.
  • Customer HH% PercentageThe percentage of customers as compared to the total households.
  • Percent PenetrationThe measure of the percent of adults or households that use a particular product or service compared to the Total Households or Total Adults in the geography. The Index
  • Indexmeasures the likelihood of adults or households in a specified area to exhibit certain consumerbehavior compared to the U.S. national average. The index is tabulated to represent a value of 100 as the overall demand for the base area. A value of more than 100 represents high demand; a value of less than 100 represents low demand.
String
OutputFeatureClass
(可选)

The feature class that will contain the thematic map.

Feature Class
ReportFormats
(可选)

The output report format.

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

代码实例

GapAnalysisReport Example (Stand-alone Script)
# Name: GapAnalysisReport.py
# Description: Analyzes the San Francisco market using customers points and Tapestry profiles by ZIP Code.
# Author: Esri
 
# Import system modules

import arcview
import arcpy

arcpy.ImportToolbox("C:\Program Files (x86)\ArcGIS\Desktop10.2\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")
 
try:
# Acquire extension license 
  arcpy.CheckOutExtension("Business") 
 
  arcpy.overwriteoutput = 1
 
# Define input and output parameters for the Gap Analysis Report tool
  Customers = "C:/temp/sf_cust.shp"
  GeoLayer = "C:/ArcGIS/Business Analyst/US_2013/Data/BDS/esri_zip5.bds"
  BaseSeg = "C:/My Output Data/Projects/Default Project/Segmentation/Profiles/US Households/profile.xml"
  TargetSeg = "C:/My Output Data/Projects/Default Project/Segmentation/Profiles/US Households/profile.xml"
  OutPath = "C:/temp/Gap"
 
# Create Gap Analysis Report
  arcpy.GapAnalysisReport_ba(Customers, GeoLayer, 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