ArcGIS REST API

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.

Note:

There are a few countries that don't have all 5 variables in the KeyGlobalFacts data collection.

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 an array of string values that describe what derivative variables to include in the output.

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

addDerivativeVariables=all

outSR

Optional parameter to request the output geometries in a specified spatial reference system.

Default value

4326

suppressNullValues

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

Default value

false

f

Optional parameter to specify the output response format.

Default value

json

Optional parameters

addDerivativeVariables

Optional parameter to specify an array of string values that describe what derivative variables to include in the output.

Examples

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

addDerivativeVariables=all

Example 2 - Return a statistical 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.

outSR

Optional parameter to request the output geometries in a specified spatial reference system.

When returnGeometry is set to true, this optional parameter can be specified to explicitly indicate the spatial reference system of the output geometry. The parameter value can be specified as the well-known ID describing the projected coordinate system or geographic coordinate system.

Default value

4326

The standard latitude and longitude-based geographic coordinate system based on the WGS 1984 datum will be used.

Examples

Example 1 - Specify the output geometry in the Web Mercator (Auxiliary Sphere) projected coordinate system based on the WGS 1984 datum:

outSR=3857

Additional notes

suppressNullValues

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

Default value

false

Examples

suppressNullValues=true

Additional notes

  • Setting this optional parameter to true will significantly reduce the size of the output of the statistical 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 HTML format.

Examples

Example 1 - Request the output geometries in JSON format:

f=json

Additional notes

  • Supported formats include JSON and XML.

Example usage

Request 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.

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" : [ ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "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" : [ ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "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,
      "indexType" : "value",
      "popularity" : 10,
      "units" : "count",
      "vintage" : null,
      "hideInDataBrowser" : true,
      "filteringTags" : [ ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "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"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "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"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }
   ]
  }
 ]
}

Request 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.

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" : "EducationalAttainment",
      "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" : "Source",
        "name" : "Source",
        "aliasname" : "Source",
        "type" : "Enumeration",
        "enumValues" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "aliasname" : "Year",
        "type" : "Enumeration",
        "enumValues" : "2017"
      } ],
      "datasets" : "SWE_MBR_2017",
      "hierarchies" : "census"
    },
    "data" : [ {
      "id" : "EDUC01_CY",
      "alias" : "2017 Pop 16+/Edu: Primary/Secondary < 9 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2017 Pop Age 16+ by Education: primary and secondary education less than 9 Years (ISCED97 1)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : 100,
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC02_CY",
      "alias" : "2017 Pop 16+/Edu: Primary/Secondary  9-10 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2017 Pop Age 16+ by Education: primary and secondary education 9-10 years (ISCED97 2)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC03_CY",
      "alias" : "2017 Pop 16+/Edu: Upper Secondary < 2 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2017 Pop Age 16+ by Education: upper secondary education, 2 years or less (ISCED97 3C)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC04_CY",
      "alias" : "2017 Pop 16+/Edu: Upper Secondary 3 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2017 Pop Age 16+ by Education: upper secondary education 3 years (ISCED97 3A)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : 90,
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC05_CY",
      "alias" : "2017 Pop 16+/Edu: Post-secondary < 3 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2017 Pop Age 16+ by Education: post-secondary education, less than 3 years (ISCED97 4+5B)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC06_CY",
      "alias" : "2017 Pop 16+/Edu: Post-secondary > 3 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2017 Pop Age 16+ by Education: post-secondary education 3 years or more (ISCED97 5A)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : 80,
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC07_CY",
      "alias" : "2017 Pop 16+/Edu: Post-Graduate",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2017 Pop Age 16+ by Education: post-graduate education (ISCED97 6)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC08_CY",
      "alias" : "2017 Pop 16+/Edu: No Information",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2017 Pop Age 16+ by Education: no information about level of educational attainment",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }
   ]
  }
 ]
}

Request example 3

Suppress null values for a given request. Applying the suppressNullValues parameter reduces the size of your output.

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" : "EducationalAttainment",
      "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" : "Source",
        "name" : "Source",
        "aliasname" : "Source",
        "type" : "Enumeration",
        "enumValues" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "aliasname" : "Year",
        "type" : "Enumeration",
        "enumValues" : "2017"
      } ],
      "datasets" : "SWE_MBR_2017",
      "hierarchies" : "census"
    },
    "data" : [ {
      "id" : "EDUC01_CY",
      "alias" : "2017 Pop 16+/Edu: Primary/Secondary < 9 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "description" : "2017 Pop Age 16+ by Education: primary and secondary education less than 9 Years (ISCED97 1)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "popularity" : 100,
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC02_CY",
      "alias" : "2017 Pop 16+/Edu: Primary/Secondary  9-10 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "description" : "2017 Pop Age 16+ by Education: primary and secondary education 9-10 years (ISCED97 2)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC03_CY",
      "alias" : "2017 Pop 16+/Edu: Upper Secondary < 2 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "description" : "2017 Pop Age 16+ by Education: upper secondary education, 2 years or less (ISCED97 3C)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC04_CY",
      "alias" : "2017 Pop 16+/Edu: Upper Secondary 3 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "description" : "2017 Pop Age 16+ by Education: upper secondary education 3 years (ISCED97 3A)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "popularity" : 90,
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC05_CY",
      "alias" : "2017 Pop 16+/Edu: Post-secondary < 3 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "description" : "2017 Pop Age 16+ by Education: post-secondary education, less than 3 years (ISCED97 4+5B)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC06_CY",
      "alias" : "2017 Pop 16+/Edu: Post-secondary > 3 Years",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "description" : "2017 Pop Age 16+ by Education: post-secondary education 3 years or more (ISCED97 5A)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "popularity" : 80,
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC07_CY",
      "alias" : "2017 Pop 16+/Edu: Post-Graduate",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "description" : "2017 Pop Age 16+ by Education: post-graduate education (ISCED97 6)",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }, {
      "id" : "EDUC08_CY",
      "alias" : "2017 Pop 16+/Edu: No Information",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "description" : "2017 Pop Age 16+ by Education: no information about level of educational attainment",
      "fieldCategory" : "2017 Educational Attainment (MBR)",
      "units" : "count",
      "vintage" : "2017",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2017"
      } ],
      "derivative" : false,
      "provider" : "MBR"
    }
   ]
  }
 ]
}

Request 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.

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" : "EducationalAttainment",
      "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" : "Source",
        "name" : "Source",
        "aliasname" : "Source",
        "type" : "Enumeration",
        "enumValues" : "MBR"
      }, {
        "id" : "Year",
        "name" : "Year",
        "aliasname" : "Year",
        "type" : "Enumeration",
        "enumValues" : "2017"
      } ],
      "datasets" : "SWE_MBR_2017",
      "hierarchies" : "census"
    },
    "data" : [ {
      "id" : "EDUC01_CY",
      "alias" : "2017 Pop 16+/Edu: Primary/Secondary < 9 Years"
    }, {
      "id" : "EDUC02_CY",
      "alias" : "2017 Pop 16+/Edu: Primary/Secondary  9-10 Years"
    }, {
      "id" : "EDUC03_CY",
      "alias" : "2017 Pop 16+/Edu: Upper Secondary < 2 Years"
    }, {
      "id" : "EDUC04_CY",
      "alias" : "2017 Pop 16+/Edu: Upper Secondary 3 Years"
    }, {
      "id" : "EDUC05_CY",
      "alias" : "2017 Pop 16+/Edu: Post-secondary < 3 Years"
    }, {
      "id" : "EDUC06_CY",
      "alias" : "2017 Pop 16+/Edu: Post-secondary > 3 Years"
    }, {
      "id" : "EDUC07_CY",
      "alias" : "2017 Pop 16+/Edu: Post-Graduate"
    }, {
      "id" : "EDUC08_CY",
      "alias" : "2017 Pop 16+/Edu: No Information"
    }
   ]
  }
 ]
}

Request 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.

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 expenditures on apparel, shoes, jewelry, and dry cleaning.  Consumer Spending data are derived from the 2015 and 2016 Consumer Expenditure Surveys, Bureau of Labor Statistics. 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 2018 Consumer Spending database.",
      "url" : "",
      "keywords" : "spending, expenditures, spend, travel, trips, airlines, planes, flying, fares, lodging",
      "creationDate" : 1495725960526,
      "lastRevisionDate" : 1495725960526,
      "webmap" : "",
      "author" : "Esri",
      "countries" : "US",
      "IsRoyalties" : false,
      "categories" : [ {
        "id" : "Spending",
        "name" : "Spending",
        "alias" : "Spending",
        "description" : "Spending Category",
        "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" : "2018"
      } ],
      "datasets" : "USA_ESRI_2018",
      "hierarchies" : "census"
    },
    "data" : [ {
      "id" : "X7001_X",
      "alias" : "Travel",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : "TOTHH_CY",
      "averageBaseAlias" : "2018 Total Households",
      "description" : "2018 Travel",
      "fieldCategory" : "2018 Travel (Consumer Spending)",
      "indexBase" : 2153.78,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "indexType" : "average",
      "popularity" : null,
      "units" : "currency",
      "vintage" : "2018",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2018"
      } ],
      "derivative" : false
    }, {
      "id" : "X7001_X_I",
      "alias" : "Travel: Index",
      "type" : "esriFieldTypeInteger",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2018 Travel: Index",
      "fieldCategory" : "2018 Travel (Consumer Spending)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "count",
      "vintage" : "2018",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2018"
      } ],
      "derivative" : true
    }, {
      "id" : "X7001_X_A",
      "alias" : "Travel: Average",
      "type" : "esriFieldTypeDouble",
      "precision" : 2,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2018 Travel: Average",
      "fieldCategory" : "2018 Travel (Consumer Spending)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "currency",
      "vintage" : "2018",
      "hideInDataBrowser" : false,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2018"
      } ],
      "derivative" : true
    },

   ...

  		{
     "id": "X7026_A",
      "alias" : "Avg: Trips-Other Entertainment Services",
      "type" : "esriFieldTypeDouble",
      "precision" : 2,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2018 Entertainment on Trips - Other Entertainment Services: Average",
      "fieldCategory" : "2018 Travel (Consumer Spending)",
      "indexBase" : 27.79,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "indexType" : "value",
      "popularity" : null,
      "units" : "currency",
      "vintage" : "2018",
      "hideInDataBrowser" : true,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2018"
      } ],
      "derivative" : false
    }, {
      "id" : "X7026_A_I",
      "alias" : "Avg: Trips-Other Entertainment Services: Index",
      "type" : "esriFieldTypeInteger",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2018 Entertainment on Trips - Other Entertainment Services: Average: Index",
      "fieldCategory" : "2018 Travel (Consumer Spending)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "count",
      "vintage" : "2018",
      "hideInDataBrowser" : true,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2018"
      } ],
      "derivative" : true
    }, {
      "id" : "X7026_I",
      "alias" : "Index: Trips-Other Entertainment Services",
      "type" : "esriFieldTypeDouble",
      "precision" : 0,
      "length" : null,
      "averageBase" : null,
      "averageBaseAlias" : null,
      "description" : "2018 Entertainment on Trips - Other Entertainment Services: Index",
      "fieldCategory" : "2018 Travel (Consumer Spending)",
      "indexBase" : null,
      "percentBase" : null,
      "percentBaseAlias" : null,
      "popularity" : null,
      "units" : "count",
      "vintage" : "2018",
      "hideInDataBrowser" : true,
      "filteringTags" : [ {
        "id" : "Source",
        "name" : "Source",
        "value" : "Esri and Bureau of Labor Statistics"
      }, {
        "id" : "Year",
        "name" : "Year",
        "value" : "2018"
      } ],
      "derivative" : false
    }
   ]
  }
 ]
}

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

Primary data collections

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