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...

Benchmark Report

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

Summary

A comparative report that benchmarks two or more trade areas based on selected volumetric data (typically demographic data).

Usage

  • When selecting more than a handful of variables or trade areas to be displayed as columns, choose the export option for Excel instead of a Crystal Report .RPT due to formatting restrictions.

  • All results will automatically be stored in the Project/Reports folder.

  • The Benchmarks can only be made on variables that exist in both trade areas being compared.

  • Variables and trade areas can be shown as either rows or columns.

  • When benchmarking all trade areas against a single trade area, the average or the median of all the trade areas is calculated and used as the benchmark.

Syntax

BenchmarkReport_ba (IN_IN_BDS_FEATURE_LAYER, IN_SELECTED_SUMMARIZATIONS, BOUNDARY_LAYERS, {IN_TA_FIELDS}, {IN_BENCHMARK_OPTIONS}, {ReportFormats}, {IN_BENCHMARK_TA}, {InLayoutOptions}, {InSortTA}, {InSortTADescend}, {InSortTAField}, {OutFolder}, {NeedReportOutput}, {OutReportName}, {Benchmark Report}, {NeedExcelOutput}, {NeedTableOutput}, {UseOnlineData})
ParameterExplanationData Type
IN_IN_BDS_FEATURE_LAYER

The input layer containing the variables to be used in the report.

Feature Layer
IN_SELECTED_SUMMARIZATIONS
[IN_SELECTED_SUMMARIZATIONS,...]

The selected variables from the Input Data Layer to be used in the report.

String
BOUNDARY_LAYERS
[[Layer, {Area ID Field}, {Store Name Field}, {Area Description Field}, {Selection}, {Single ID}],...]

The trade area(s) or boundary layers to be used for benchmarking.

Value Table
IN_TA_FIELDS
[IN_TA_FIELDS,...]
(Optional)

The fields of the trade areas that will appear on the report.

String
IN_BENCHMARK_OPTIONS
(Optional)

Determines the desired approach to compare the trade area values against a benchmark.

  • NONE —Compares the selected variables in the report against the totals of those variables in all the trade areas.
  • USE_AVERAGE —Compares the selected variables in the report against an average of those variables in all trade areas.
  • USE_MEDIAN —Compares the selected variables in the report against a median of those variables in all trade areas.
  • USE_TRADE AREA —Compares the selected variables in the report against the totals of those variables in a selected trade area.
String
ReportFormats
(Optional)

Select the desired report output format.

  • Simple XML
  • PDF
  • HTML
  • CSV
  • ZIP
  • XLSV
  • Stripped XLSX
String
IN_BENCHMARK_TA
(Optional)

The trade used as the benchmark to compare against all other trade areas.

String
InLayoutOptions
(Optional)

Determines the orientation of the selected variables in the report.

  • VARIABLES_IN_COLUMNS —Outputs the report with the variables in columns and the trade areas in row.
  • VARIABLES_IN_ROWS —Outputs the report with the variables in rows and the trade areas in columns.
String
InSortTA
(Optional)

Defines how the report will be sorted.

  • True —Sorts the report by the trade area.
  • False —Does not sort the trade area.
Boolean
InSortTADescend
(Optional)

Determines if the trade areas will be sort in descending order.

  • True —The trade areas will be sorted in descending order.
  • False —The trade areas will not be sorted in descending order.
Boolean
InSortTAField
(Optional)

The field in the trade area that will be used for sorting.

String
OutFolder
(Optional)

The report output directory folder.

Folder
NeedReportOutput
(Optional)

Determines if a formatted report will be generated.

  • CREATE_REPORT —Select this option to generate a formatted report.
  • DONT_CREATE_REPORT —Will not generate a formatted report.
Boolean
OutReportName
(Optional)

The name that will appear on the report.

String
Benchmark Report
(Optional)

Names the report for use/access in the Business Analyst reports wizard.

String
NeedExcelOutput
(Optional)

Select this option to export the report as an Excel output.

  • CREATE_EXCEL —Output is in Excel format.
  • DONT_CREATE_EXCEL —Output will not be in Excel format.
Boolean
NeedTableOutput
(Optional)

Select this option to export the report as a dBASE output.

  • CREATE_TABLE —Output is in dBASE format.
  • DONT_CREATE_TABLE —Output will not be in dBASE format.
Boolean
UseOnlineData
(Optional)

Access online Business Analyst data to use in the analysis.

  • Checked—Allows you to acess online Business Analyst data.
  • Unchecked—You will only have access to locally loaded Business Analyst data.

Select to access online Business Analyst data to use in the analysis.

  • True —Allows you to acess online Business Analyst data.
  • False —You will only have access to locally loaded Business Analyst data. This is the default.
Boolean

Code Sample

BenchmarkReport Example (Stand-alone Script)
# Name: BenchmarkReport.py
# Description: Benchmarks current total households and current year total population from drive time trade areas generated for the same location from different years.
# 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 Benchmark Report tool
  InputPath = "C:/ArcGIS/Business Analyst/US_2014/Data/Demographic Data/esri_bg.bds"
  Vars = "TOTHH_CY;TOTHH_FY"
  TAnew = "C:/My Output Data/Projects/Default Projects/Trade Areas/Drive Time New.shp' AREA_ID;NAME;AREA_DESC;ALL"
  TAold = "C:/My Output Data/Projects/Default Projects/Trade Areas/Drive Time Old.shp' AREA_ID;NAME;AREA_DESC;ALL"
   
 
# Create Benchmark Report output file
  arcpy.BenchmarkReport_ba(InputPath, Vars, TAnew, TAold)
 
# 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