Disponible con licencia de Business Analyst.
Resumen
Creates a segmentation profile by summarizing segments from standard geography boundaries within the input area.
Uso
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.
Sintaxis
arcpy.ba.GenerateMarketAreaProfile(in_features, segmentation_base, out_profile)
Parámetro | Explicación | Tipo de datos |
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 |
Muestra de código
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")
Entornos
Información de licenciamiento
- Basic: Requiere Business Analyst
- Standard: Requiere Business Analyst
- Advanced: Requiere Business Analyst