Match Level Summary Report (Business Analyst)

概要

Creates a report that assigns customer records to one of four match levels based on the geographic code assigned to each customer using the address information from your customer file.

Learn more about how Match Level Summary Report (Business Analyst) works

使用法

構文

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

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

Feature Layer
CustomerLayerDescr

Description or alias for the term customer. For example, this could be patients, subscribers, customers, and so forth.

String
OutputDirectoryParameterName

The output directory that will contain the report.

Folder
UseSelectedFeatures
(オプション)

Generates a report on selected features of the customer layer.

  • TRUEGenerates the Match Level Summary Report on selected features.
  • FALSEGenerates the Match Level Summary Report on all features. This is the default.
Boolean
TitleParameterName
(オプション)

Title for the report.

String
ReportFormats
(オプション)

Select the desired report output format.

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

コード サンプル

MatchLevelSR Example (Stand-alone Script)
# Name: MatchLevelSR.py
# Description: Generates a report with how accurately a customer file geocoded 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 Match Level Summary Report tool
Customers = "C:/temp/sf_cust.shp"
OutPath = "C:/temp/Output_Segmentation"
 
# Create Match Level Summary Report
arcpy.MatchLevelSR_ba(Customers, "Customers", OutPath)
 
# Release extension license 
arcpy.CheckInExtension("Business") 
 
except:
  print arcpy.GetMessages(2)

環境

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

関連項目

ライセンス情報

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

10/4/2010