获得 Business Analyst 许可后可用。
描述
Displays the top characteristics, in each of the selected survey categories, of your Core and Developmental target groups, as well as your overall customer profile.
使用方法
Generates a report with the top 20 characteristics from the selected survey categories.
The Report Type parameter value is based on the Target Group input.
Use one of the two report types, Understanding Your Target or Developing Market Strategies, to prepopulate the survey category.
The Survey Categories parameter can be modified for the selected report type.
The Report Type parameter is not required if using a Python command. However, at least one survey category is required.
语法
arcpy.ba.GenerateSurveyReportForTargets(target_profile, target_group, core_target, developmental_target, report_folder, {report_type}, {survey_categories}, {report_title}, {report_format})
参数 | 说明 | 数据类型 |
target_profile | A segmentation profile representing the segments to be analyzed. The target profile usually represents your customer segmentation profile. | File |
target_group | A collection of segments grouped into targets. Targets represent segments that are selected based on similar characteristics—for example, segments that have high index and percent composition. | File |
core_target | A group of segments that make up a large percentage of your customer base and have an above average index, indicating likelihood to be a customer. | String |
developmental_target | A group of segments that make up a significant percentage of your customers and of the market area but do not have an above average index. | String |
report_folder | The output location where the report will be saved. | Folder |
report_type (可选) | Specifies the survey categories to be added to the report.
| String |
survey_categories [survey_categories,...] (可选) | A category that contains the characteristics from the consumer survey. | String |
report_title (可选) | The title of the report. | String |
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 |
代码示例
The following stand-alone script demonstrates how to use the GenerateSurveyReportForTargets function.
import arcpy
arcpy.ba.GenerateSurveyReportForTargets(r"C:\Users\MyProject\customerprofile.sgprofile", r"C:\Users\MyProject\TargetGroup.sgtargetgroup", "Core", "Developmental", r"C:\Users\MyProject\Reports_Output", "CUSTOM", "'Automobiles and Automotive Products';'Baby Products, Toys and Games';'Civic Activities and Political Affiliation'", Survey Target Report", "PDF")
许可信息
- Basic: 需要 Business Analyst
- Standard: 需要 Business Analyst
- Advanced: 需要 Business Analyst