Creating the Census Block Group selection tool
In this step, you'll create the GeoEnrichment Python toolbar and Census Block Group Initial Selection tool. The GeoEnrichment toolbar will serve as the container for all the three tools that will be built in this chapter. The tool that will be created in this section is the Census Block Group Initial Selection tool. This tool is designed to create an initial selection set of census block groups that meet the average household income and the percentage of the population between the ages of 20-50, which is the criteria defined by the user.
The user interface for the tool will appear as shown in the following screenshot:
After creating the initial selection set of census block groups that match these criteria, the tool will then remove any census block groups that intersect the half-mile buffer zone of an existing coffee shop. Finally, the tool will copy the remaining census block group features to an output feature class. These census block groups...