Generate SDCX Index (Business Analyst)

Available with Business Analyst license.

Summary

Creates an index for a Statistical Data Collection (SDCX). The index will improve performance when using the custom data in analysis tools such as Enrich Layer.

Usage

  • A Statistical Data Collection must exist before you can generate an index.

  • The index must be rebuilt if there are changes to the feature class that references the .sdcx file or if there are changes to the .sdcx file.

  • Three files, with the extensions .ppi, .ddi, and .pdi.prj, are created when the SDCX index is generated. These three files have the same name as the Input SDCX File parameter.

Syntax

GenerateSDCXIndex(sdcx_file)
ParameterExplanationData Type
sdcx_file

The input Statistical Data Collection file (.sdcx).

File

Derived Output

NameExplanationData Type
updated_sdcx_file

The updated SDCX index file.

File

Code sample

GenerateSDCXIndex example (Python window)

The following Python window script demonstrates how to use the GenerateSDCXIndex tool.

import arcpy
arcpy.ba.GenerateSDCXIndex(r"C:\ArcGIS\Project\MyProject\MyBlocksData.sdcx")

Environments

Licensing information

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

Related topics