ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Profile Segmentation Report

获得 Business Analyst 许可后可用。

  • 描述
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

Shows the Tapestry segments and summary groups that most accurately reflect your customer records and compares your customer profile to the Profile Segmentation Report of your base geography.

Learn more about how the Profile Segmentation Report works

使用方法

  • Usually, the Target Segmentation Profile is based on customer records.

  • If you want to use volumetric data instead of the distribution of customers in each segment, you must create the profile with volume information.

  • The Base Segmentation Profile can be generated using the Create Profile by Area Summation tool.

  • Customers in the Target Segmentation Profile should be wholly contained within the Base Segmentation Profile.

  • If you are unclear what to use as the Base Segmentation Profile, you can use the whole United States.

  • The segmentation base can be generated using total adult population or total households.

  • Total adult population includes individuals 18 years old or older.

  • By default, percent penetration is calculated by dividing the target total for each segment by the base total and multiplying by 100. You can change the base multiplier to 1,000 by adjusting this value in Business Analyst > Preferences on the Analysis tab.

语法

arcpy.ba.CustTapestryProfile(BaseProfile, TargetProfile, {SelectedBaseProfileResult}, {SelectedTargetProfileResult}, {SortEnable}, {FieldsSort}, {SortWay}, {TitleParameterName}, OutputDirectoryParameterName, {ReportFormats})
参数说明数据类型
BaseProfile

The base profile used in the calculation of the index and percent penetration. This profile is usually based on the geographic extent of your customers.

Folder
TargetProfile

The target profile that will be compared to the base profile. Typically, this is based on your customers and is generated using the Segmentation Profile tools.

Folder
SelectedBaseProfileResult
(可选)

The new name of the base profile that will appear on your report.

String
SelectedTargetProfileResult
(可选)

The new name of the target profile that will appear on your report.

String
SortEnable
(可选)

Provides options to sort the Profile Segmentation Report.

  • True —Allows user-defined sorting.
  • False —Does not allow user-defined sorting and defaults to sorting the report by Percent Composition.
Boolean
FieldsSort
(可选)

Select the method that will be used to sort the volumetric data in the Customer Profile Segmentation Report Report.

  • Number in Target Profile —Sorts report based on the total counts of the target profile by segment.
  • Percents of total target —Sorts report based on percent value of the total counts of the target profile by segment.
  • Number in Base Profile —Sorts report based on the total counts of the base profile by segment.
  • Percents of total base —Sorts report based on the percent value of the total counts of the base profile by segment.
  • Penetration Per 100 —Sorts report based on the penetration rate per 100 households or adults in the base profile.
  • Index —Sorts report based on Index value.
String
SortWay
(可选)

Select the sorting order of the sort field.

  • Ascending —Sorts the sort field from low to high value.
  • Descending —Sorts the sort field from high to low value.
String
TitleParameterName
(可选)

Title for the report.

String
OutputDirectoryParameterName

The output directory that will contain the report.

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

The format of the output report

  • Simple XML
  • PDF
  • HTML
  • CSV
  • ZIP
  • XLSX
  • Stripped XLSX
String

代码示例

CustTapestryProfile example (stand-alone script)

# Name: CustTapestryProfile.py
# Description: Generates a Tapestry report based on pre-generated profiles.
# Author: Esri

# Import system modules
import arcview
import arcpy

arcpy.ImportToolbox(r"C:\Program Files (x86)\ArcGIS\Desktop10.8\Business Analyst\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")
 
try:
# Acquire extension license 
  arcpy.CheckOutExtension("Business") 
 
# Define input and output parameters for the Profile Segmentation Report tool
  BaseSeg = "C:/temp/Profile/Profile.xml"
  TargetSeg = "C:/temp/Profile1/Profile.xml"
  OutPath = "C:/temp/Output_Segmentation2"
 
# Create Profile Segmentation Report
  arcpy.CustTapestryProfile_ba(BaseSeg, TargetSeg, OutPath)
 
# Release extension license 
arcpy.CheckInExtension("Business")

环境

此工具不使用任何地理处理环境。

许可信息

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

相关主题

  • An overview of the Segmentation Analysis toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2022 Esri. | 隐私政策 | 法律声明