ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS 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
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Create Target Group

Available with Business Analyst license.

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Creates target groups of profile segments.

Learn more about how Create Target Group works

Usage

  • Use the output from the Profile Segmentation Report as a guide for creating target groups.

  • Customer segments that have a high percentage and high index values tend to be your best customers. Look for these segments to create core targets.

  • Once the target groups are created, you can use them in conjunction with the Segmentation Penetration Map tool. These maps allow you to thematically map standard levels of geography in a study area by the percent penetration of a collection of segments.

Syntax

arcpy.ba.CreateTargetGroupFromList(InputTargetGroupStringRepresentation, InputTargetGroupFolder, {InputTargetGroupComments})
ParameterExplanationData Type
InputTargetGroupStringRepresentation

Lists segments in each target.

String
InputTargetGroupFolder

Name of the target group to be created.

String
InputTargetGroupComments
(Optional)

Optional comments for target group. These comments can include information such as author, source, date, and vintage.

String

Code sample

CreateTargetGroupFromList example (stand-alone script)

# Name: CreateTargetGroupFromList.py
# Description: Creates a target group of selected segments from a list.
# Author: Esri

# Import system modules
import arcview
import arcpy

arcpy.ImportToolbox(r"C:\Program Files (x86)\ArcGIS\Desktop10.8\Business Analyst\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")
 
try:
# Acquire extension license 
  arcpy.CheckOutExtension("Business") 
 
# Define input and output parameters for the Create Target Group tool
  InputTargetGroupStringRepresentation = "2B:Pleasantville"
  InputTargetGroupFolder = "SampleTargetGroup"
 
# Create Target Group 
  arcpy.CreateTargetGroupFromList_ba(InputTargetGroupStringRepresentation, InputTargetGroupFolder)
 
# Release extension license 
arcpy.CheckInExtension("Business")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Requires Business Analyst
  • Standard: Requires Business Analyst
  • Advanced: Requires Business Analyst

Related topics

  • An overview of the Segmentation Profiles toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2022 Esri. | Privacy | Legal