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 customers.

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

Параметры

ПодписьОписаниеТип данных
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
Output Report Folder
(Дополнительный)

The output location where the report will be saved.

Folder
Report Output Formats
(Дополнительный)

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

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 where 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 function.

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

Связанные разделы