URL | http://baoapi.esri.com/rest/report/GetSummarizations |
---|
Get a list of summarization variables and their metadata which are accessible with the API subscriber account.
The Get Summarizations utility service returns a list of available summarization variables and some associated metadata based on the specific API account type used to access the service. The result of this service is an ArrayOfSummarizationInfo. This can be used in subsequent analysis in the Summarizations parameter in Benchmark Report.
The Get Summarizations service returns a list of available summarization variables based on the specific subscription level including their name, alias, the variable group category names they belong to, the number of decimal spaces the values for these variables use and for some fields, the recommended percentage field to use for any analysis is also returned. These variables include business, demographic and Census data and projections for 1990, 2000, 2009 and 2014 that is aggregated to the U.S. Census block group level.
Some applications of Get Summarizations include the following:
Decimals
, Percentage
, AvgBase
, IndexBase
, and Units
properties are only available for some variables.
You can provide arguments to the Get Summarizations utility service as defined in the parameters table below.
Parameter | Details |
---|---|
Token (Required) |
Description:
A valid API token string.
Syntax: Notes: The value associated with the Token parameter is for example purposes only. See Get Token for more information on obtaining a token. |
ActiveDatasetID |
Description:
Specify a dataset to perform Online API tasks or operations.
Default: USA Notes: See the Get Datasets task to dynamically query the available dataset IDs. |
Callback |
Description: Wrap the JSON or PJSON response in a named function that can be executed by client-side JavaScript upon receipt.
Default: Notes:
|
f |
Description:
The response format.
Default: HTML
Syntax: |
Length |
Description:
The number of analysis/summarization variable records returned beginning at the StartIndex parameter value
Default: (all records)
Syntax: |
Visibility |
Description:
A keyword representing the set of fields/properties which are included in each analysis/summarization variable record included in the output
Default: $default
Syntax: Notes: |
Query |
Description:
Field/property name followed by a string query on that field/property.
Default: null
Syntax: Notes:
|
Start |
Description:
Zero-based index specifying the starting analysis/summarization variable record when one or more records are returned.
Default: 0
Syntax: Notes: |
Example 1:Get a list of summarization variables accessible from a given API subscription account.
Request Example (1)
Notes: See Get Token for more information on obtaining a token.
Variable availability is API account dependent.
JSON Response Syntax
{ "result": <ArrayOfSummarizationInfo> }
JSON Response Example
{ "result": [ { "Name": "TOTPOP_CY", "Alias": "2010 Total Population", "Category": "2010 Key Demographic Indicators (Esri)", "LongDescription": "2010 Total Population (Esri)", "Keywords": "2010\/2015 Demographics (Esri Data)", "Units": "count", "Mappable": true }, { "Name": "HHPOP_CY", "Alias": "2010 Household Population", "Category": "2010 Key Demographic Indicators (Esri)", "LongDescription": "2010 Household Population (Esri)", "Keywords": "2010\/2015 Demographics (Esri Data)", "Percentage": "TOTPOP_CY", "Units": "count", "Mappable": true }, { "Name": "FAMPOP_CY", "Alias": "2010 Family Population", "Category": "2010 Key Demographic Indicators (Esri)", "LongDescription": "2010 Family Population (Esri)", "Keywords": "2010\/2015 Demographics (Esri Data)", "Percentage": "TOTPOP_CY", "Units": "count", "Mappable": true }, { "Name": "GQPOP_CY", "Alias": "2010 Group Quarters Population", "Category": "2010 Key Demographic Indicators (Esri)", "LongDescription": "2010 Group Quarters Population (Esri)", "Keywords": "2010\/2015 Demographics (Esri Data)", "Percentage": "TOTPOP_CY", "Units": "count", "Mappable": true }, ... { "Name": "MOEMEDYBLT", "Alias": "MOE Median Yr Struct Blt: HUs", "Category": "2005-2009 ACS Housing Units by Year Structure Built", "LongDescription": "2005-2009 MOE Median Year Structure Built (Total Housing Units)", "Keywords": "ACS (2005-2009);Housing", "Units": "count", "Mappable": true } ] }