Customer Demographic Profile Report (Business Analyst)

概要

Summarizes the demographic makeup of the geographies where your customers live. Based on the information in this report, you can get a sense of the demographic makeup of your customer base.

Learn more about how Customer Demographic Profile Report works

使用法

構文

CustDemoProfile_ba (CustomerLayer, InputGeographyLevel, OutputDirectoryParameterName, {UseSelectedFeatures}, {TitleParameterName}, {ReportFormats})
パラメータ説明データ タイプ
CustomerLayer

The point input feature class containing the customer distribution. Typically, this will be a Business Analyst customer layer.

Feature Layer
InputGeographyLevel

The features containing the demographic variables used to profile your customers. Typically, this should be set to the block group layer.

Feature Layer
OutputDirectoryParameterName

The output directory that will contain the report.

Folder
UseSelectedFeatures
(オプション)

Generates a report on selected features of the customer layer.

  • TrueGenerates the Customer Demographic Report on selected features.
  • FalseGenerates the Customer Demographic Report on all features.
Boolean
TitleParameterName
(オプション)

Title for the report.

String
ReportFormats
(オプション)

Select the desired report output format

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

コード サンプル

CustDemoProfile Example (Stand-alone Script)
# Name: CustDemoProfile.py
# Description: Summarizes the demographics for customers in the San Francisco market.
# Author: ESRI

# Import system modules
import arcview
import arcpy

arcpy.ImportToolbox("C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")
 
try:
# Acquire extension license 
arcpy.CheckOutExtension("Business") 
 
# Define input and output parameters for the Customer Demographic Profile Report tool
Customers = "C:/temp/sf_cust.shp"
GeoLayer = "C:/Program Files/ArcGIS/Desktop10.0/Business Analyst/Data/BDS/esri_bg.bds"
OutPath = "C:/temp/Output_Segmentation1"
 
# Create Customer Demographic Profile Report
arcpy.CustDemoProfile_ba(Customers, GeoLayer, OutPath)
 
# Release extension license 
arcpy.CheckInExtension("Business") 
 
except:
  print arcpy.GetMessages(2)

環境

このツールは、ジオプロセシング環境では使用できません

関連項目

ライセンス情報

ArcView: 要 Business Analyst
ArcEditor: 要 Business Analyst
ArcInfo: 要 Business Analyst

10/4/2010