Skip To Content

Summary Reports

Доступно с лицензией Business Analyst.

Краткая информация

Populates and creates demographic style summary reports for any boundary layer using Esri report templates.

Использование

  • Input layers should be polygons within the extent of the active dataset.

  • Template names generally describe the type of data to be contained within.

  • Reports can be generated for boundary layers or for multiple polygons within a boundary layer. Use the Summarization Options parameter to set how reports will be generated when one or more features are present.

  • Данные Business Analyst, используемые в суммировании и отчетах, задаются через параметр среды Источник данных.

Синтаксис

SummaryReports_ba (in_features, report_templates, reports_folder, {summarization_options}, {single_report}, {formats}, {store_id_field}, {store_name_field}, {store_address_field}, {store_latitude_field}, {store_longitude_field}, {ring_id_field}, {area_description_field}, {title}, {subtitle})
ПараметрОбъяснениеТип данных
in_features

The boundary layer containing one or more polygons used to create reports.

Feature Layer
report_templates
[report_templates,...]

Select one or more summary report templates. You must be signed in to ArcGIS Online or have Данные Business Analyst installed.

String
reports_folder

Select the output location to save summary reports.

Folder
summarization_options
(Дополнительный)

How the data will be displayed on a report.

  • INDIVIDUAL_FEATURES Returns selected report templates for each individual trade area polygon. This is the default.
  • WHOLE_LAYER Returns selected report templates representing only the full extent of the trade area.
  • BOTH_FEATURES_AND_LAYERReturns selected report templates for both individual features and the whole layer.
String
single_report
(Дополнительный)

Generates reports per boundary or stitches all reports into a single report file.

  • CREATE_SINGLE_REPORT Stitches all reports together into a single output.
  • CREATE_REPORT_PER_TEMPLATE Generates separate files for each selected report. This is the default.
Boolean
formats
[formats,...]
(Дополнительный)

Select the desired report output format. The default value is PDF.

String
store_id_field
(Дополнительный)

The store ID associated with each boundary.

Field
store_name_field
(Дополнительный)

The store name associated with each boundary.

Field
store_address_field
(Дополнительный)

The store address associated with each trade area.

Field
store_latitude_field
(Дополнительный)

The field containing your latitude coordinates (y field).

Field
store_longitude_field
(Дополнительный)

The field containing your longitude coordinates (x field).

Field
ring_id_field
(Дополнительный)

The ring ID associated with each boundary.

Field
area_description_field
(Дополнительный)

Additional descriptive information associated with each boundary.

Field
title
(Дополнительный)

Title on the report header.

String
subtitle
(Дополнительный)

Subtitle on the report header. The default value is Prepared by Business Analyst Pro.

String

Пример кода

SummaryReports example (Python window)

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

import arcpy
arcpy.env.baDataSource = "ONLINE;US;"
arcpy.ba.SummaryReports("TradeArea50", "Age 50+ Profile", r"C:\Temp", "INDIVIDUAL_FEATURES", "CREATE_REPORT_PER_TEMPLATE", "PDF", "ID", None, None, "STORE_LAT", "STORE_LONG", "RING", "AREA_DESC", "Age 50 Plus Store Trade Area", "Prepared By Business Analyst Pro")

Информация о лицензиях

  • ArcGIS Desktop Basic: Требует Business Analyst
  • ArcGIS Desktop Standard: Требует Business Analyst
  • ArcGIS Desktop Advanced: Требует Business Analyst

Связанные разделы