Summary
Calculates percent change for polygon or line features that correspond with point features representing two comparison time periods.
Usage
- Generally, Input Current Period Point Features and Input Previous Period Point Features feature layers will be created by performing a date and time selection on a larger dataset and saving the selection to a new layer.
-
Generates a Current_Count, Previous_Count, Difference, and Percent Change fields in the output feature class.
- Current_Count—The number of Input Current Period Point Features that are coincident with the Input Comparison Polygon or Line Features.
- Previous_Count—The number of Input Previous Period Point Features that are coincident with the Input Comparison Polygon or Line Features.
- Difference—The difference between the Current_Count and the Previous_Count fields.
- Percent Change—Calculated using the following formula: ((C - P) / P) * 100 where C is the current count and P is the previous count. If the Current_Count is 0 then the percent change value is null. When the percent change value is null these features are designated as no percentage in output symbology classification.
- When a line feature class is used in the Input Comparison Polygon or Line Features parameter a Standard or Advanced License is required.
Syntax
PercentChange_crime (Input_Current_Period_Point_Features, Input_Previous_Period_Point_Features, Input_Comparison_Polygon_or_Line_Features, Output_Feature_Class, {Search_Radius})
Parameter | Explanation | Data Type |
Input Current Period Point Features | Point features filtered to the most recent comparison time period. Example: Crimes from the last 14 days. |
Feature Layer |
Input Previous Period Point Features | Point features filtered to the time period immediately preceding the current period. This time period should be of equal length to the current period. Example: If the current period contained features from the date range of January 15 - 28, the previous period would contain features from the date range of January 1-14. |
Feature Layer |
Input Comparison Polygon or Line Features |
Coincident polygon or line features by which comparison time periods will be counted and compared. Example: Police Districts, City Council Districts, Road Centerlines and so on. |
Feature Layer |
Output Feature Class | Output polygon or line feature class containing difference counts and percent change calculations for the time period comparison. | Feature Class |
Search Radius (Optional) | Maximum linear distance from the comparison line features that a point feature will be considered coincident. | Linear Unit |
Licensing information
- ArcGIS Desktop Basic: Limited
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes