获得 Business Analyst 许可后可用。
描述
Measures the likely demand for a product or service for your market area by a specific geography level by household counts and volume (sales) from market potential data.
Learn more about how Market Potential Volume Report (Business Analyst) works
使用方法
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.
语法
arcpy.ba.MarketPotentialVolumeReport(InputGeographyLevel, BaseProfile, TargetProfile, OutputDirectoryParameterName, {TitleParameterName}, {SegmentationBase}, {CreateThematicMap}, {ThematicMapField}, {OutputFeatureClass}, {ReportFormats})
参数 | 说明 | 数据类型 |
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 (可选) | 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 [ReportFormats,...] (可选) | Select the desired report output format.
| String |
代码示例
MarketPotentialVolumeReport example (stand-alone script)
# Name: MarketPotentialVolumeReport.py
# Description: Generates a market potential report based on ZIP Codes.
# Author: Esri
# Import system modules
import arcview
import arcpy
arcpy.ImportToolbox(r"C:\Program Files (x86)\ArcGIS\Desktop10.8\Business Analyst\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_2022/Data/Demographic Data/ZIPCodes_zp_esri.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")
环境
此工具不使用任何地理处理环境。
许可信息
- Basic: 需要 Business Analyst
- Standard: 需要 Business Analyst
- Advanced: 需要 Business Analyst