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 Prospecting By Demographic Data

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

Summary

Searches for areas that contain a specific type of demographic attribute.

Learn more about how Customer Prospecting By Demographic Data works

Illustration

Customer Prospecting

Usage

  • In ArcMap, analysis will only be completed on features that are within the active study area or analysis extent.

  • Before running this tool, set up your customer profile (DMQ file) using the Customer Profiling tool.

  • Set your boundary layer to include the market to prospect.

  • Run your initial customer prospecting on large geographies, such as census tracts, to get a general idea of the distribution of your potential customers. Drill down into large concentrations of these boundaries and run the tool again using the block group level. This will allow you to create submarkets within your primary market to focus your analysis.

Syntax

DemoCustomerProspecting_ba (InputBoundaryLayer, InputGeographyLevel, OutputFeatureClass, {WayToDefineDemoQuery}, {DMQFile}, {DemographicQueryWhereClause})
ParameterExplanationData Type
InputBoundaryLayer

The input feature layer that determines the extent at which the analysis will query and return results from the geography level layer.

Feature Layer
InputGeographyLevel

The input feature class that contains the data to be used in the demographic query.

Feature Layer
OutputFeatureClass

The feature class that will contain the customer profile features.

Feature Layer
WayToDefineDemoQuery
(Optional)

The parameters to be queried against the geography level.

  • USE_DMQ_FILE —Allows you to point to an existing DMQ file.
  • EDIT_QUERY_IN_PLACE —Allows you to manually create your own DMQ file in the Demographic Query WHERE Clause dialog box. This is the default.
Boolean
DMQFile
(Optional)

The definition input file generated in customer prospecting that sets the parameters to filter the geography level.

File
DemographicQueryWhereClause
(Optional)

Allows you to manually enter the field statistics for the demographic query.

String

Code Sample

DemoCustomerProspecting Example (Stand-alone Script)
# Name: DemoCustomerProspecting.py
# Description: Imports pre-generated customer profile (*.dmq file) to locate block groups that meet the criteria set in that profile.
# 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 the parameters for the Customer Prospecting by Demographic Data tool
  Extent = "C:/temp/Boundary.shp"
  GeoLevel = "C:/ArcGIS/Business Analyst/US_2014/Data/Demographic Data/esri_bg.bds"
  OutputFile= "C:/temp/Demo_Prospect.shp"
  DmqFile= "C:/temp/DMQ_output.dmq"
 
# Create Customer Prospecting output file
  arcpy.DemoCustomerProspecting_ba(Extent, GeoLevel, OutputFile, "USE_DMQ_FILE", DmqFile)
 
# 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 Analysis 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