Доступно с лицензией 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.
Синтаксис
arcpy.ba.MarketPotentialReport(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 (Дополнительный) | 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 [ReportFormats,...] (Дополнительный) | Select the desired report output format.
| String |
Пример кода
MarketPotentialReport example (stand-alone script)
# Name: MarketPotentialReport.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