Market Potential Report (Business Analyst)
摘要
Measures the likely demand for a product or service for your market area by a specific geography level from market potential data.
用法
-
Total adult population includes individuals 18 years old or older.
-
Typically, this report is generated using an MRI profile as the target profile and the boundary of your market as a geographic base profile.
语法
参数 | 说明 | 数据类型 |
InputGeographyLevel |
The level of geography that will be used to calculate the Market Penetration. | 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 |
OutputDirectoryParameterName |
The output directory that will contain the report. | Folder |
TitleParameterName (可选) |
Title for the report. | String |
SegmentationBase (可选) |
Defines the base for the profile.
| String |
CreateThematicMap (可选) |
Select this option to generate a thematic map on a selected variable.
| Boolean |
ThematicMapField (可选) |
Select the field to generate the thematic map.
| String |
OutputFeatureClass (可选) |
The output feature class for the market potential report. | Feature Class |
ReportFormats (可选) |
Select the desired report output format.
| String |
代码实例
# Name: MarketPotentialReport.py
# Description: Generates a market potential report based on ZIP Codes.
# 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")
# Define input and output parameters for the Market Potential Report tool
GeoLayer = "C:/ArcGIS/Business Analyst/US_2013/Data/BDS/esri_zip5.bds"
Base = "C:/My Output Data/Projects/Default Project/Segmentation/Profiles/Base/Profile.xml"
Target = "C:/My Output Data/Projects/Default Project/Segmentation/Profiles/Target/Profile.xml"
OutPath = "C:/My Output Data/Projects/Default Project/Reports/Market Potential"
# Create a Market Potential Report
arcpy.MarketPotentialReport_ba(GeoLayer, Base, Target, OutPath)
# Release extension license
arcpy.CheckInExtension("Business")
except:
print arcpy.GetMessages(2)