The Region response

When retrieving a region from the Datagarden API the response will include the region object defined by a number of attributes. These attributes will slighty differ for Continents, Countries and subregions as well as tthe listing or the detail response. This page gives an overview of any attributes that you may find in region data.

Field
In region type
Optional
Description
name
All region types
No
The name of the region in English if available.
parent_region
All region types
No
Name of the parent region.
iso_cc_2
Country and subregion
No
Iso alpha 2 country code of the country or the region's country.
iso_cc_3
Country
No
Iso alpha 3 country code of the country.
un_sdg_region
Country
Yes
The UN Sustainable Development Goals region for the country. See United Nations website for definition.
un_sub_region
Country
Yes
The UN sub region for the country. See United Nations website for definition of the UN sub regions.
region_level
SubRegion
No
The level of the region in the region hierarchy being the highest region level.
region_type
SubRegion
No
The type of the region (State, Province, County, etc).
local_region_code
SubRegion
No
The adminstrative code for the region, ususally taken from country speicific regional division codes.
local_region_code_type
SubRegion
No
The name of the type for the local region code, usually a name defined by the country statistical agency.
url
All region types
No
The url of the region.
iso3116_region_code
SubRegion
Yes
The iso3116 region code of the region.
iso6391_language_code
Country
Yes
The iso6391 language code of the country.