ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Customer Geographic Summary Report

  • Summary
  • Usage
  • Syntax
  • Code Sample
  • Environments
  • Licensing Information

Summary

Lists standard geographic distributions for your customer layer.

Usage

  • This report uses a point-in-polygon procedure to assign customers to a given geography and outputs them in a report format.

  • Use this report to outline the frequency and distribution of customer points for the base set of Business Analyst data layers. For example, you may want to know how many customers are in the State of California, in the county of San Diego, and in ZIP Code 92123.

  • Counts of customers will be gathered for the top 20 ranks:

    • States
    • ZIP Codes
    • Counties
    • Core-Based Statistical Areas (CBSA), formerly Metropolitan Statistical Areas
  • The customer layer must be a point feature class.

  • In ArcMap, reports will only be created for customer features that are within the active study area or analysis extent.

  • Customer points that do not fall inside the base Business Analyst layers will not be included in the report. For example, if a customer point is not within the United States state boundaries, it will not be counted in the report statistics.

Syntax

GeographicCustomerSummaryReport_ba (CustomerLayer, ReportFile, {UseSelectedFeatures}, ReportTitle, {ReportFormats})
ParameterExplanationData Type
CustomerLayer

The input feature class containing the points for the customer distribution. In most cases, this will be a Business Analyst customer layer.

Input
ReportFile

Outputs the report to a directory for retrieval later.

File
UseSelectedFeatures
(Optional)

Generates a report on selected features of the customer layer.

  • True —Generates the Customer Geographic Summary Report on selected features.
  • False —Generates the Customer Geographic Summary Report on all features. This is the default.
Boolean
ReportTitle

Name and title for the report.

String
ReportFormats
(Optional)

Select the desired report output format.

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

Code Sample

GeographicSummaryReport Example (Stand-alone Script)
# Name: GeographicSummaryReport.py
# Description: Summarizes the geographic features associated with a sample customer dataset in San Francisco.
# Author: Esri

# Import system modules
import arcview
import arcpy

arcpy.ImportToolbox("C:\Program Files (x86)\ArcGIS\Desktop10.3\Business Analyst\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")
 
try:
# Acquire extension license 
  arcpy.CheckOutExtension("Business")

# Define input and output parameters for the Customer Geographic Summary Report tool
  Cust = "C:/temp/sf_cust.shp"
  OutputFile = "C:/temp/CustGeoRpt.rpt"
  Title = "Customer Summary Report"
 
# Create customer geographic summary reports
  arcpy.GeographicCustomerSummaryReport_ba(Cust, OutputFile, "false", Title)
 
# Release extension license 
  arcpy.CheckInExtension("Business") 
 
except:
  print arcpy.GetMessages(2)

Environments

This tool does not use any geoprocessing environments

Licensing Information

  • ArcGIS for Desktop Basic: Requires Business Analyst
  • ArcGIS for Desktop Standard: Requires Business Analyst
  • ArcGIS for Desktop Advanced: Requires Business Analyst

Related Topics

  • An overview of the Business Analyst Reports toolset
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal