Tutorial: Find data using data collections

Learn how to use the Data Collection Finder tool to find data collections.

Global and local facts for Tokyo.

A data collection is a predefined and categorized list of analysis variables. Each collection has a unique name that acts as an ID that is passed in the datacollections parameter of the enrich method. Some data collections (such as the default Key Global Facts) can be used in all supported countries and regions. Other data collections may only be available in a subset of countries or regions because of differences in available demographic data provided by data partners.

In this tutorial you learn how to:

  • Get key facts
  • Get spending facts
  • Get education expenditure data

Prerequisites

Steps

Get key facts

  1. Go to the Data Collection Finder tool.
  2. In the Country/Region/Territory dropdown, select Japan.
  3. In the Hierarchy dropdown, select Standard (ID: census).
  4. In the Data Collections dropdown, select Key Facts (ID: KeyFacts).
  5. Browse through the variables within the collection. Some include:
    • 2022 Total Population (ID:TOTPOP_CY)
    • 2022 Total Households (ID:TOTHH_CY)
  6. Make a request to the GeoEnrichment service and specify the country or area code and the data collection ID.
cURLcURLHTTP
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

curl https://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/enrich? \
-d "studyAreas=[{'geometry':{'x': 139.78444, 'y': 35.68109}}]" \
-d "dataCollections=["KeyFacts"]" \
-d "f=pjson" \
-d "token=<ACCESS_TOKEN>"

Get spending facts

  1. Go to the Data Collection Finder tool.
  2. In the Country/Region/Territory dropdown, select Japan.
  3. In the Hierarchy dropdown, select Standard (ID:census).
  4. In the Data Collections dropdown, select Spending (ID:Spending).
  5. Browse through the variables within the collection. Some include:
    • 2022 Clothing Expenditures: Total (ID:CS04_CY)
    • 2022 Recreational & Cultural Service Expenditures: Index (ID: CS16IDX_CY)
  6. Make a request to the GeoEnrichment service and specify the country or area code and the data collection ID.
cURLcURLHTTP
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

curl https://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/enrich? \
-d "studyAreas=[{'geometry':{'x': 139.78444, 'y': 35.68109}}]" \
-d "dataCollections=["Spending"]" \
-d "f=pjson" \
-d "token=<ACCESS_TOKEN>"

Get education data

  1. Go to the Data Collection Finder tool.
  2. In the Country/Region/Territory dropdown, select Japan.
  3. In the Hierarchy dropdown, select Esri Japan (ID: EsriJapan).
  4. In the Data Collections dropdown, select Education (ID:EducationEsriJapan).
  5. Browse through the variables within the collection. Some include:
    • 2018 Educational Expenses (ID: C0477)
    • 2018 Tuition Fees (ID: C0478)
  6. Make a request to the GeoEnrichment service and specify the country or area code and the data collection ID.
cURLcURLHTTP
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

curl https://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/enrich? \
-d "studyAreas=[{'geometry':{'x': 139.78444, 'y': 35.68109}}]" \
-d "dataCollections=["EducationEsriJapan"]" \
-d "f=pjson" \
-d "token=<ACCESS_TOKEN>"

What's next?

Learn how to use additional tools, APIs, and location services in these tutorials:

Query demographic data

Query demographic information for locations around the world with the GeoEnrichment service.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.