Доступно с лицензией Business Analyst.
Сводка
Creates a segmentation profile by summarizing segments from standard geography boundaries within the input area.
Использование
This tool requires segmentation data from a locally installed Business Analyst dataset.
The output profile lists the Segmentation Base parameter count and percent composition for each segment.
The area profile is compared to a user-specified customer profile to define core, niche, and developmental customer groups.
Inputs with up to 2,000 polygons are supported.
Синтаксис
arcpy.ba.GenerateMarketAreaProfile(in_features, segmentation_base, out_profile)
Parameter | Объяснение | Тип данных |
in_features | The input feature class with polygon features used to create a segmentation area profile. | Feature Layer |
segmentation_base | The segmentation base for the profile being created. Available options are provided by the segmentation dataset in use. | String |
out_profile | The name of the segmentation profile file to be created. | File |
Пример кода
The following Python window script demonstrates how to use the GenerateMarketAreaProfile tool.
import arcpy
arcpy.ba.GenerateMarketAreaProfile("TradeArea1", "Total Adult Population", r"C: \MyProject1\GenerateMarketAreaProfile3.sgprofile")
Environments
Информация о лицензиях
- Basic: Требуется Business Analyst
- Standard: Требуется Business Analyst
- Advanced: Требуется Business Analyst