Generate Segmentation Profile Report (Business Analyst)

获得 Business Analyst 许可后可用。

描述

Creates a report that displays segments of your customers and compares them to the study area (base profile).

使用方法

  • The report displays the count, percent, and index of each segment of your customers.

  • The report will calculate the volume information if the Base Profile input contains volume information.

  • This tool requires a local Business Analyst dataset.

语法

arcpy.ba.GenerateSegmentationProfileReport(target_profile, base_profile, {report_title}, {report_folder}, {report_format})
参数说明数据类型
target_profile

A segmentation profile representing the segments to be profiled. The target profile usually represents your customer segmentation profile.

File
base_profile

A segmentation profile representing the base profile segments. This is the segmentation used for comparison. The base profile usually represents your market area segmentation profile.

File
report_title
(可选)

The title of the report.

String
report_folder
(可选)

The output location to which the report will be saved.

Folder
report_format
[report_format,...]
(可选)

The report output format. The default value is PDF. Additional available formats are XLSX, HTML, CSV, and PAGX.

String

派生输出

名称说明数据类型
output_report

The output report file.

File

代码示例

GenerateSegmentationProfileReport example (stand-alone script)

The following Python window script demonstrates how to use the GenerateSegmentationProfileReport tool.

import arcpy
arcpy.ba.GenerateSegmentationProfileReport(r"C:\Users\MyProject\customerprofile.sgprofile", r"C:\Users\MyProject\MarketAreaprofile.sgprofile", r"C:\Users\MyProject\Reports_Output", "PDF")

许可信息

  • Basic: 需要 Business Analyst
  • Standard: 需要 Business Analyst
  • Advanced: 需要 Business Analyst

相关主题