Data collections

The GeoEnrichment service uses the concept of a data collection to define the data attributes returned by the enrichment service. Each data collection has a unique name that acts as an ID that is passed in the dataCollections parameter of the GeoEnrichment service.

Some data collections (such as default) can be used in all supported countries. Other data collections may only be available in one or a collection of countries. Data collections may only be available in a subset of countries because of differences in the demographic data that is available for each country. A list of data collections for all available countries can be generated with the data collection discover method seen below:

Return a list of data collections that can be run for any country.

http://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/dataCollections

Note:

An examination of the entire global listing of variables, and associated datasets, can be conveyed with the use of this data browser.

Request parameters

ParameterDetails

addDerivativeVariables

Optional parameter to specify a list of field names that include variables for the derivative statistics.

Examples

Example 1 - Return a data collection with the additional variables and associated metadata for percent's, averages and index values:

addDerivativeVariables=["all"]

Example 2 - Return a data collection with the additional variables and associated metadata for index values:

addDerivativeVariables=["index"]

Additional notes

  • The enumerated list of accepted values are as follows:

    addDerivativeVariables=["percent","index","average","all","*"]

  • Support the use of the derivative statistics can also be performed in the enrich operation through the analysisVariables parameter.
  • See the example 5 request which returns the variables and associated metadata for a data collection that provides data on travel spending.

outFields

Optional parameter to specify a list of output fields in the response.

Examples

Example 1 - Include only ID and Alias fields of variables in the output:

outFields=["id","alias"]

Example 2 - Include all output fields:

outFields=[*]

Example 3 - Include no output fields:

outFields=none

Additional notes

  • Using this optional parameter can significantly improve performance of requests by reducing the size of the ouput in countries where there are a lot of data collections.
  • Using this parameter is especially important in the Unites States, where there are many data collections.

suppressNullValues

Optional parameter to return only values that are not NULL in the output response. Adding the optional suppressNullValues parameter to any data collections discovery method will reduce the size of the output that is returned.

Default value

false

Example

suppressNullValues=true

Additional notes

  • Setting this optional parameter to true will significantly reduce the size of the output of the data collection response.
  • You will have to handle duck typed cases where some metadata may not be returned for a given variables because a value is set to NULL.

f

Optional parameter to specify the output response format.

Default value

json

The output response will be returned in JSON format.

Examples

Example 1 - Request the output geometries in JSON format:

f=json

Additional notes

  • Supported formats include JSON and PJSON.

Example 1: Return a list of data collections that can be run in any country.

In this example you can see all the data collections and variables available for any country.

Request URL:

http://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/dataCollections?f=pjson

JSON response example 1:

{
  "DataCollections" : [ {
    "dataCollectionID" : "KeyGlobalFacts",
    "metadata" : {
      "title" : "Key Global Facts",
      "name" : "KeyGlobalFacts",
      "shortDescription" : "Key global demographic facts",
      "longDescription" : "Key demographic facts for the all countries supported by the geoenrichment service, variables include population, households, gender, and average household size.  The source for the data from the U.S. is Esri, Environics for Canada, and Michael Bauer Research (BMBR) for the remaining countries.",
      "url" : "",
      "keywords" : "Global, Key, Facts, Demographics, Indicators, Population",
      "creationDate" : 0,
      "lastRevisionDate" : 0,
      "webmap" : "",
      "coverage" : "North America, Europe, and the rest of the world",
      "author" : "Esri",
      "countries" : null,
      "royalties" : [ {
        "provider" : "MBR",
        "costUnits" : 5
      } ],
      "IsRoyalties" : true,
      "mobileinfographics" : "{\"icon\":true}",
      "icon" : "key",
      "categories" : [ {
        "id" : "Population",
        "name" : "Population",
        "alias" : "Population",
        "description" : "Population Category",
        "displayOrder" : "100"
      } ],
      "filters" : [ {
        "id" : "Gender",
        "name" : "Gender",
        "aliasname" : "Gender",
        "type" : "Enumeration",
        "enumValues" : "Male,Female"
      } ],
      "datasets" : null,
      "hierarchies" : null
    },
    "data" : [ {
      "id" : "TOTPOP",
      "alias" : "Total Population",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : null,
      "fieldCategory" : "Key Demographic Indicators",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : 20,
      "units" : "count",
      "vintage" : null,
      "hideInDataBrowser" : true,
      "filteringTags" : [ ],
      "provider" : "MBR",
      "derivative" : false
    }, {
      "id" : "TOTHH",
      "alias" : "Total Households",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : null,
      "fieldCategory" : "Key Demographic Indicators",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "count",
      "vintage" : null,
      "hideInDataBrowser" : true,
      "filteringTags" : [ ],
      "provider" : "MBR",
      "derivative" : false
    }, {
      "id" : "AVGHHSZ",
      "alias" : "Average Household Size",
      "type" : "esriFieldTypeDouble",
      "precision" : 2,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : null,
      "fieldCategory" : "Key Demographic Indicators",
      "indexBase" : 2.58,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : 10,
      "units" : "count",
      "vintage" : null,
      "hideInDataBrowser" : true,
      "filteringTags" : [ ],
      "provider" : "MBR",
      "derivative" : false
    }, {
      "id" : "TOTMALES",
      "alias" : "Male Population",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : null,
      "fieldCategory" : "Age: 5 Year Increments",
      "indexBase" : null,
      "percentBase" : "TOTPOP_CY",
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "count",
      "vintage" : null,
      "hideInDataBrowser" : true,
      "filteringTags" : [ {
        "id" : "Gender",
        "name" : "Gender",
        "value" : "Male"
      } ],
      "provider" : "MBR",
      "derivative" : false
    }, {
      "id" : "TOTFEMALES",
      "alias" : "Female Population",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : null,
      "fieldCategory" : "Age: 5 Year Increments",
      "indexBase" : null,
      "percentBase" : "TOTPOP_CY",
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "count",
      "vintage" : null,
      "hideInDataBrowser" : true,
      "filteringTags" : [ {
        "id" : "Gender",
        "name" : "Gender",
        "value" : "Female"
      } ],
      "provider" : "MBR",
      "derivative" : false
    } ]
  } ]
}

Example 2: View a description for a single data collection within a given country.

You can use the child resources within a discovery page to view a particular data collection available for Sweden.

Request URL:

http://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/dataCollections/se/EducationalAttainment?f=pjson

JSON response example 2:

{
 "DataCollections": [
  {
   "dataCollectionID": "EducationalAttainment",
   "metadata": {
    "title": "Educational Attainment",
    "name": "Educational Attainment",
    "shortDescription": "Sweden Educational Attainment",
    "longDescription": "Educational Attainment for Sweden includes the population by educational attainment data variables. This collection contains data from Michael Bauer Research.",
    "url": "",
    "keywords": "Sweden, Education, Educational Attainment, Primary, Secondary, Post-secondary, Upper Secondary, Post-graduate",
    "creationDate": 1434130200000,
    "lastRevisionDate": 1434130200000,
    "webmap": "",
    "author": "Esri",
    "countries": "SE",
    "royalties": [
     {
      "Provider": "MBR",
      "costUnits": 8
     }
    ],
    "IsRoyalties": true,
    "categories": [
     {
      "id": "Education",
      "name": "Education",
      "alias": "Education",
      "description": "Education Category",
      "displayOrder": "75"
     }
    ],
    "filters": [
     {
      "id": "Year",
      "name": "Year",
      "aliasname": "Year",
      "type": "Enumeration",
      "enumValues": "2013"
     },
     {
      "id": "Source",
      "name": "Source",
      "aliasname": "Source",
      "type": "Enumeration",
      "enumValues": "MBR"
     }
    ],
    "datasets": "SWE_MBR2013",
    "hierarchies": "census"
   },
   "data": [
    {
     "id": "EDUC01_CY",
     "alias": "2013 Pop 16+/Educ: Primary and Secondary Less Than 9 Years (ISCED97 1) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "length": null,
     "averageBase": null,
     "averageBaseAlias": null,
     "description": "2013 Population 16 years and over by Education: primary and secondary education less than 9 years (ISCED97 1) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "indexBase": null,
     "percentBase": null,
     "percentBaseAlias": null,
     "popularity": null,
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC02_CY",
     "alias": "2013 Pop 16+/Educ: Primary and Secondary 9-10 Years (ISCED97 2) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "length": null,
     "averageBase": null,
     "averageBaseAlias": null,
     "description": "2013 Population 16 years and over by Education: primary and secondary education 9-10 years (ISCED97 2) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "indexBase": null,
     "percentBase": null,
     "percentBaseAlias": null,
     "popularity": null,
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC03_CY",
     "alias": "2013 Pop 16+/Educ: Upper Secondary 2 Years or Less (ISCED97 3C) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "length": null,
     "averageBase": null,
     "averageBaseAlias": null,
     "description": "2013 Population 16 years and over by Education: upper secondary education, 2 years or less (ISCED97 3C) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "indexBase": null,
     "percentBase": null,
     "percentBaseAlias": null,
     "popularity": null,
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC04_CY",
     "alias": "2013 Pop 16+/Educ: Upper Secondary 3 Years (ISCED97 3A) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "length": null,
     "averageBase": null,
     "averageBaseAlias": null,
     "description": "2013 Population 16 years and over by Education: upper secondary education 3 years (ISCED97 3A) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "indexBase": null,
     "percentBase": null,
     "percentBaseAlias": null,
     "popularity": 100,
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC05_CY",
     "alias": "2013 Pop 16+/Educ: Post-secondary Less Than 3 Years (ISCED97 4+5B) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "length": null,
     "averageBase": null,
     "averageBaseAlias": null,
     "description": "2013 Population 16 years and over by Education: post-secondary education, less than 3 years (ISCED97 4+5B) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "indexBase": null,
     "percentBase": null,
     "percentBaseAlias": null,
     "popularity": null,
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC06_CY",
     "alias": "2013 Pop 16+/Educ: Post-secondary 3 Years or More (ISCED97 5A) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "length": null,
     "averageBase": null,
     "averageBaseAlias": null,
     "description": "2013 Population 16 years and over by Education: post-secondary education 3 years or more (ISCED97 5A) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "indexBase": null,
     "percentBase": null,
     "percentBaseAlias": null,
     "popularity": null,
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC07_CY",
     "alias": "2013 Pop 16+/Educ: Post-graduate (ISCED97 6) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "length": null,
     "averageBase": null,
     "averageBaseAlias": null,
     "description": "2013 Population 16 years and over by Education: post-graduate education (ISCED97 6) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "indexBase": null,
     "percentBase": null,
     "percentBaseAlias": null,
     "popularity": null,
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC08_CY",
     "alias": "2013 Pop 16+/Educ: No Information (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "length": null,
     "averageBase": null,
     "averageBaseAlias": null,
     "description": "2013 Population 16 years and over by Education: no information about level of educational attainment (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "indexBase": null,
     "percentBase": null,
     "percentBaseAlias": null,
     "popularity": null,
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    }
   ]
  }
 ]
}

Example 3: Suppress null values for a given request

Applying the suppressNullValues parameter reduces the size of your output.

Request URL:

http://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/dataCollections/se/EducationalAttainment?f=pjson&suppressNullValues=true

JSON response example 3:

{
 "DataCollections": [
  {
   "dataCollectionID": "EducationalAttainment",
   "metadata": {
    "title": "Educational Attainment",
    "name": "Educational Attainment",
    "shortDescription": "Sweden Educational Attainment",
    "longDescription": "Educational Attainment for Sweden includes the population by educational attainment data variables. This collection contains data from Michael Bauer Research.",
    "url": "",
    "keywords": "Sweden, Education, Educational Attainment, Primary, Secondary, Post-secondary, Upper Secondary, Post-graduate",
    "creationDate": 1434130200000,
    "lastRevisionDate": 1434130200000,
    "webmap": "",
    "author": "Esri",
    "countries": "SE",
    "royalties": [
     {
      "Provider": "MBR",
      "costUnits": 8
     }
    ],
    "IsRoyalties": true,
    "categories": [
     {
      "id": "Education",
      "name": "Education",
      "alias": "Education",
      "description": "Education Category",
      "displayOrder": "75"
     }
    ],
    "filters": [
     {
      "id": "Year",
      "name": "Year",
      "aliasname": "Year",
      "type": "Enumeration",
      "enumValues": "2013"
     },
     {
      "id": "Source",
      "name": "Source",
      "aliasname": "Source",
      "type": "Enumeration",
      "enumValues": "MBR"
     }
    ],
    "datasets": "SWE_MBR2013",
    "hierarchies": "census"
   },
   "data": [
    {
     "id": "EDUC01_CY",
     "alias": "2013 Pop 16+/Educ: Primary and Secondary Less Than 9 Years (ISCED97 1) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "description": "2013 Population 16 years and over by Education: primary and secondary education less than 9 years (ISCED97 1) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC02_CY",
     "alias": "2013 Pop 16+/Educ: Primary and Secondary 9-10 Years (ISCED97 2) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "description": "2013 Population 16 years and over by Education: primary and secondary education 9-10 years (ISCED97 2) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC03_CY",
     "alias": "2013 Pop 16+/Educ: Upper Secondary 2 Years or Less (ISCED97 3C) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "description": "2013 Population 16 years and over by Education: upper secondary education, 2 years or less (ISCED97 3C) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC04_CY",
     "alias": "2013 Pop 16+/Educ: Upper Secondary 3 Years (ISCED97 3A) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "description": "2013 Population 16 years and over by Education: upper secondary education 3 years (ISCED97 3A) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "popularity": 100,
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC05_CY",
     "alias": "2013 Pop 16+/Educ: Post-secondary Less Than 3 Years (ISCED97 4+5B) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "description": "2013 Population 16 years and over by Education: post-secondary education, less than 3 years (ISCED97 4+5B) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC06_CY",
     "alias": "2013 Pop 16+/Educ: Post-secondary 3 Years or More (ISCED97 5A) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "description": "2013 Population 16 years and over by Education: post-secondary education 3 years or more (ISCED97 5A) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC07_CY",
     "alias": "2013 Pop 16+/Educ: Post-graduate (ISCED97 6) (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "description": "2013 Population 16 years and over by Education: post-graduate education (ISCED97 6) (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    },
    {
     "id": "EDUC08_CY",
     "alias": "2013 Pop 16+/Educ: No Information (MBR)",
     "type": "esriFieldTypeDouble",
     "precision": 0,
     "description": "2013 Population 16 years and over by Education: no information about level of educational attainment (MBR)",
     "fieldCategory": "2013 Educational Attainment",
     "units": "COUNT",
     "vintage": "2013",
     "hideInDataBrowser": false,
     "filteringTags": [
      {
       "id": "Year",
       "name": "Year",
       "value": "2013"
      },
      {
       "id": "Source",
       "name": "Source",
       "value": "MBR"
      }
     ],
     "derivative": false
    }
   ]
  }
 ]
}

Example 4: Optionally return a subset of output fields in the data collection

Using the optional outfields parameter you can significantly improve the performance of requests by reducing the size of the output.

Request URL:

http://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/DataCollections/se/EducationalAttainment?f=pjson&outfields=["id","alias"]

JSON response example 4:

In this example, only the ID and Alias of each data collection field is returned,

{
 "DataCollections": [
  {
   "dataCollectionID": "EducationalAttainment",
   "metadata": {
    "title": "Educational Attainment",
    "name": "Educational Attainment",
    "shortDescription": "Sweden Educational Attainment",
    "longDescription": "Educational Attainment for Sweden includes the population by educational attainment data variables. This collection contains data from Michael Bauer Research.",
    "url": "",
    "keywords": "Sweden, Education, Educational Attainment, Primary, Secondary, Post-secondary, Upper Secondary, Post-graduate",
    "creationDate": 1434130200000,
    "lastRevisionDate": 1434130200000,
    "webmap": "",
    "author": "Esri",
    "countries": "SE",
    "royalties": [
     {
      "Provider": "MBR",
      "costUnits": 8
     }
    ],
    "IsRoyalties": true,
    "categories": [
     {
      "id": "Education",
      "name": "Education",
      "alias": "Education",
      "description": "Education Category",
      "displayOrder": "75"
     }
    ],
    "filters": [
     {
      "id": "Year",
      "name": "Year",
      "aliasname": "Year",
      "type": "Enumeration",
      "enumValues": "2013"
     },
     {
      "id": "Source",
      "name": "Source",
      "aliasname": "Source",
      "type": "Enumeration",
      "enumValues": "MBR"
     }
    ],
    "datasets": "SWE_MBR2013",
    "hierarchies": "census"
   },
   "data": [
    {
     "id": "EDUC01_CY",
     "alias": "2013 Pop 16+/Educ: Primary and Secondary Less Than 9 Years (ISCED97 1) (MBR)"
    },
    {
     "id": "EDUC02_CY",
     "alias": "2013 Pop 16+/Educ: Primary and Secondary 9-10 Years (ISCED97 2) (MBR)"
    },
    {
     "id": "EDUC03_CY",
     "alias": "2013 Pop 16+/Educ: Upper Secondary 2 Years or Less (ISCED97 3C) (MBR)"
    },
    {
     "id": "EDUC04_CY",
     "alias": "2013 Pop 16+/Educ: Upper Secondary 3 Years (ISCED97 3A) (MBR)"
    },
    {
     "id": "EDUC05_CY",
     "alias": "2013 Pop 16+/Educ: Post-secondary Less Than 3 Years (ISCED97 4+5B) (MBR)"
    },
    {
     "id": "EDUC06_CY",
     "alias": "2013 Pop 16+/Educ: Post-secondary 3 Years or More (ISCED97 5A) (MBR)"
    },
    {
     "id": "EDUC07_CY",
     "alias": "2013 Pop 16+/Educ: Post-graduate (ISCED97 6) (MBR)"
    },
    {
     "id": "EDUC08_CY",
     "alias": "2013 Pop 16+/Educ: No Information (MBR)"
    }
   ]
  }
 ]
}

Example 5: Return derivative statistics for a data collection

Specifies a list of field names that make up the travel consumer spending data collection. This list will include variables for the averages and index values.

Request URL:

http://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/DataCollections/US/TravelCEX?addDerivativeVariables=["average","index"]&f=pjson

JSON response example 5:

{
 "DataCollections": [
  {
   "dataCollectionID": "TravelCEX",
    "metadata" : {
      "title" : "Travel",
      "name" : "TravelCEX",
      "shortDescription" : "Travel",
      "longDescription" : "The Travel Spending data collection includes all spending on travel and expenditures made on trips.  Expenditures represent the 2015 annual averages and totals. Data is reported by product or service and includes total expenditures, average spending per household, and a Spending Potential Index (SPI).  This collection contains data from Esri's 2016 Consumer Spending database.",
      "url" : "",
      "keywords" : "spending, expenditures, spend, travel, trips, airlines, planes, flying, fares, lodging",
      "creationDate" : 1410912000000,
      "lastRevisionDate" : 1427760000000,
      "webmap" : "",
      "author" : "Esri",
      "countries" : "US",
      "IsRoyalties" : false,
      "categories" : [ {
        "id" : "Spending",
        "name" : "Spending",
        "alias" : "Spending",
        "description" : "Household Consumer Spending",
        "displayOrder" : "60"
      } ],
      "filters" : [ {
        "id" : "Source",
        "name" : "Source",
        "aliasname" : "Source",
        "type" : "Enumeration",
        "enumValues" : "Esri and Bureau of Labor Statistics"
      }, {
        "id" : "Year",
        "name" : "Year",
        "aliasname" : "Year",
        "type" : "Enumeration",
        "enumValues" : "2016"
      } ],
      "datasets" : "USA_ESRI_2016",
      "hierarchies" : "census"
    },
    "data" : [ {
      "id" : "X7001_X",
      "alias" : "Travel",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : "TOTHH_CY",
      "averageBaseAlias" : null,
      "description" : "2016 Travel",
      "fieldCategory" : "2016 Travel (Consumer Spending)",
      "indexBase" : 1861.21,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "currency",
      "vintage" : "2016",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Year",
        "name" : "Year",
        "value" : "2016"
      }, {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      } ],
      "derivative" : false
    }, {
      "id" : "X7001_X_I",
      "alias" : "Travel: Index",
      "type" : "esriFieldTypeInteger",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2016 Travel: Index",
      "fieldCategory" : "2016 Travel (Consumer Spending)",
      "indexBase" : 1861.21,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "other",
      "vintage" : "2016",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Year",
        "name" : "Year",
        "value" : "2016"
      }, {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      } ],
      "derivative" : true
    }, {
      "id" : "X7001_X_A",
      "alias" : "Travel: Average",
      "type" : "esriFieldTypeDouble",
      "precision" : 2,
      "length" : null,
      "averageBase" : "TOTHH_CY",
      "averageBaseAlias" : null,
      "description" : "2016 Travel: Average",
      "fieldCategory" : "2016 Travel (Consumer Spending)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "other",
      "vintage" : "2016",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Year",
        "name" : "Year",
        "value" : "2016"
      }, {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      } ],
      "derivative" : true
    },

   ...

  		{
     "id": "X7026_X",
      "alias" : "Trips-Other Entertainment Services",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : "TOTHH_CY",
      "averageBaseAlias" : null,
      "description" : "2016 Entertainment on Trips - Other Entertainment Services",
      "fieldCategory" : "2016 Travel (Consumer Spending)",
      "indexBase" : 23.18,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "currency",
      "vintage" : "2016",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2016"
      } ],
      "derivative" : false
    }, {
      "id" : "X7026_X_I",
      "alias" : "Trips-Other Entertainment Services: Index",
      "type" : "esriFieldTypeInteger",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2016 Entertainment on Trips - Other Entertainment Services: Index",
      "fieldCategory" : "2016 Travel (Consumer Spending)",
      "indexBase" : 23.18,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "other",
      "vintage" : "2016",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2016"
      } ],
      "derivative" : true
    }, {
      "id" : "X7026_X_A",
      "alias" : "Trips-Other Entertainment Services: Average",
      "type" : "esriFieldTypeDouble",
      "precision" : 2,
      "length" : null,
      "averageBase" : "TOTHH_CY",
      "averageBaseAlias" : null,
      "description" : "2016 Entertainment on Trips - Other Entertainment Services: Average",
      "fieldCategory" : "2016 Travel (Consumer Spending)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "other",
      "vintage" : "2016",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2016"
      } ],
      "derivative" : true
    }
   ]
  }
 ]
}

Notes:

  • The response has been abbreviated in the example where "..." is noted.

The following table lists the data collections and countries that are currently available:

Note:

The primary data collections are used in each country's summary report.

Primary Data Collection Name(s)CountriesSupported Languages

KeyGlobalFacts

All

English

KeyWEFacts

Western Europe

English

KeyUSFacts

US

English

KeyCanFacts

Canada (CA)

English

ALFacts

ALSpend

Albania (AL)

English

DZFacts

Algeria (DZ)

English

ADFacts

Andorra (AD)

English

AOFacts

Angola (AO)

English

ARFacts

Argentina (AR)

English

AMFacts

Armenia (AM)

English

AWFacts

Aruba (AW)

English

AUFacts

AUSpend

Australia (AU)

English

ATFacts

ATSpend

Austria (AT)

English

AZFacts

Azerbaijan (AZ)

English

BSFacts

Bahamas (BS)

English

BHFacts

BUSpend

Bahrain (BH)

English

BDFacts

Bangladesh (BD)

English

BYFacts

BYSpend

Belarus (BY)

English

BEFacts

BESpend

Belgium (BE)

English

BMFacts

Bermuda (BM)

English

BOFacts

Bolivia (BO)

English

BAFacts

BASpend

Bosnia and Herzegovina (BA)

English

BWFacts

Botswana (BW)

English

BRFacts

BRSpend

Brazil (BR)

English

BGFacts

BGSpend

Bulgaria (BG)

English

CMFacts

Cameroon (CM)

English

KYFacts

Cayman Islands (KY)

English

CLFacts

CLSpend

Chile (CL)

English

CNFacts

CNSpend

China (CN)

English

COFacts

COSpend

Colombia (CO)

English

CRFacts

CRSpend

Costa Rica (CR)

English

CIFacts

Côte d'Ivoire (CI)

English

HRFacts

HRSpend

Croatia (HR)

English

CYFacts

CYSpend

Cyprus (CY)

English

CZFacts

CZSpend

Czech Republic (CZ)

English

DKFacts

DKSpend

Denmark (DK)

English

DOFacts

Dominican Republic (DO)

English

ECFacts

Ecuador (EC)

English

EGFacts

Egypt (EG)

English

SVFacts

El Salvador (SV)

English

EEFacts

EESpend

Estonia (EE)

English

FOFacts

Faroe Islands (FO)

English

FIFacts

FISpend

Finland (FI)

English

FRFacts

FRSpend

France (FR)

English

PFFacts

French Polynesia (PF)

English

GEFacts

Georgia (GE)

English

DEFacts

DESpend

Germany (DE)

English

GHFacts

Ghana (GH)

English

GRFacts

GRSpend

Greece (GR)

English

GLFacts

Greenland (GL)

English

GPFacts

Guadaloupe (GP)

English

GTFacts

Guatamala (GT)

English

HNFacts

Honduras (HN)

English

HKFacts

HKSpend

Hong Kong (HK)

English

HUFacts

HUSpend

Hungary (HU)

English

ISFacts

ISSpend

Iceland (IS)

English

INFacts

INSpend

India (IN)

English

IDFacts

Indonesia (ID)

English

IEFacts

IESpend

Ireland (IE)

English

ILFacts

ILSpend

Israel (IL)

English

ITFacts

ITSpend

Italy (IT)

English

JMFacts

Jamaica (JM)

English

JPFacts

JPSpend

Japan (JP)

English

JOFacts

Jordan (JO)

English

KZFacts

Kazakhstan (KZ)

English

KEFacts

Kenya (KE)

English

XKFacts

Kosovo (XK)

English

KWFacts

Kuwait (KW)

English

KGFacts

Kyrgyzstan (KG)

English

LVFacts

LVSpend

Latvia (LV)

English

LBFacts

Lebanon (LB)

English

LSFacts

Lesotho (LS)

English

LIFacts

LISpend

Liechtenstein (LI)

English

LTFacts

LTSpend

Lithuania (LT)

English

LUFacts

LUSpend

Luxembourg (LU)

English

MOFacts

Macau (MO)

English

MKFacts

MKSpend

Macedonia (MK)

English

MWFacts

Malawi (MW)

English

MYFacts

MYSpend

Malaysia (MY)

English

MTFacts

MTSpend

Malta (MT)

English

MQFacts

Martinique (MQ)

English

MUFacts

MUSpend

Mauritius (MU)

English

MXFacts

MXSpend

Mexico (MX)

English

MDFacts

MDSpend

Moldova (MD)

English

MCFacts

Monaco (MC)

English

MNFacts

Mongolia (MN)

English

MEFacts

MESpend

Montenegro (ME)

English

MAFacts

Morocco (MA)

English

MZFacts

Mozambique (MZ)

English

NAFacts

Namibia (NA)

English

NLFacts

NLSpend

Netherlands (NL)

English

NCFacts

New Caledonia (NC)

English

NZFacts

NZSpend

New Zealand (NZ)

English

NIFacts

Nicaragua (NI)

English

NGFacts

Nigeria (NG)

English

NOFacts

NOSpend

Norway (NO)

English

OMFacts

Oman (OM)

English

PKFacts

Pakistan (PK)

English

PAFacts

Panama (PA)

English

PYFacts

Paraguay (PY)

English

PEFacts

Peru (PE)

English

PHFacts

PHSpend

Philippines (PH)

English

PLFacts

PLSpend

Poland (PL)

English

PTFacts

PTSpend

Portugal (PT)

English

PRFacts

Puerto Rico (PR)

English

QAFacts

Qatar (QA)

English

REFacts

RESpend

Réunion (RE)

English

ROFacts

ROSpend

Romania (RO)

English

RUFacts

RUSpend

Russia (RU)

English

SAFacts

SASpend

Saudi Arabia (SA)

English

RSFacts

RSSpend

Serbia (RS)

English

SGFacts

SGSpend

Singapore (SG)

English

SKFacts

SKSpend

Slovakia (SK)

English

SIFacts

SISpend

Slovenia (SI)

English

ZAFacts

South Africa (ZA)

English

KRFacts

KRSpend

South Korea (KR)

English

ESFacts

ESSpend

Spain (ES)

English

LKFacts

Sri Lanka (LK)

English

SDFacts

Sudan (SD)

English

SZFacts

Swaziland (SZ)

English

SEFacts

SESpend

Sweden (SE)

English

CHFacts

CHSpend

Switzerland (CH)

English

SYFacts

Syria (SY)

English

TWFacts

TWSpend

Taiwan (TW)

English

TJFacts

Tajikistan (TJ)

English

TZFacts

Tanzania (TZ)

English

THFacts

THSpend

Thailand (TH)

English

TTFacts

Trinidad and Tobago (TT)

English

TNFacts

Tunisia (TN)

English

TRFacts

TRSpend

Turkey (TR)

English

UGFacts

Uganda (UG)

English

UAFacts

UASpend

Ukraine (UA)

English

AEFacts

United Arab Emirates (AE)

English

GBFacts

GBSpend

United Kingdom (GB)

English

UYFacts

Uruguay (UY)

English

VEFacts

Venezuela (VE)

English

VNFacts

Vietnam (VN)

English

ZMFacts

Zambia (ZM)

English