Label | Explanation | Data Type |
Input 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 |
Output
Profile | The name of the segmentation profile file to be created. | File |
Available with Business Analyst license.
Summary
Creates a segmentation profile by summarizing segments from standard geography boundaries within the input area.
Usage
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.
Parameters
arcpy.ba.GenerateMarketAreaProfile(in_features, segmentation_base, out_profile)
Name | Explanation | Data Type |
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 |
Code sample
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
Licensing information
- Basic: Requires Business Analyst
- Standard: Requires Business Analyst
- Advanced: Requires Business Analyst