2016 Indicators (by geography) Web Data Service (WDS) – User Guide

Returns 2016 Census indicator data for Canada or a selected province or territory.

Resource URL

https://www12.statcan.gc.ca/rest/census-recensement/2016ind1{.type}?lang={lang}&dguid={dguid}&theme={theme}

Resource information

Response formats
JSON, XML
Requires authentication
No
GET
Yes
POST
No

Parameters

Four parameters can be added to the main URL. These parameters are for format type, language, geography and release topic.

Name Required Value and notes
type Yes

json|xml

where:

  • json = json response format
  • xml = xml response format
lang No

E|F (default = E)

where:

  • E = English
  • F = French
dguid No

one dguid (default=2016A000011124)

where:

  • 2016A000011124 = Canada
  • 2016A000210 = Newfoundland and Labrador
  • 2016A000211 = Prince Edward Island
  • 2016A000212 = Nova Scotia
  • 2016A000213 = New Brunswick
  • 2016A000224 = Quebec
  • 2016A000235 = Ontario
  • 2016A000246 = Manitoba
  • 2016A000247 = Saskatchewan
  • 2016A000248 = Alberta
  • 2016A000259 = British Columbia
  • 2016A000260 = Yukon
  • 2016A000261 = Northwest Territories
  • 2016A000262 = Nunavut
theme No

Integer 0-13 (default=0)

where:

  • 0 = All release topics
  • 1 = Population and dwelling counts
  • 2 = Age and sex
  • 3 = Type of dwelling
  • 4 = Families, households and marital status
  • 5 = Language
  • 6 = Income
  • 7 = Immigration and ethnocultural diversity
  • 8 = Housing
  • 9 = Aboriginal peoples
  • 10 = Education
  • 11 = Labour
  • 12 = Journey to work
  • 13 = Language of work

Resource parameters

GEO_UID
The geographic identifier which include geography boundary vintage, level and code, e.g., Canada = 2016A000011124
GEO_NAME_NOM
The name of the geographic area, e.g., Newfoundland and Labrador
RELEASE_ID
The release topic identifier
IND_ID
The indicator identifier
IND_NAME_NOM
Name of the indicator
IND_DATA_DONNEE
The indicator data point value

Sourcing / Citation

Source: Statistics Canada, 2016 Census of Population.

How to cite: Statistics Canada. 2017. Census Program key indicators by geography. 2016 Census. Ottawa. Released November 29, 2017.
https://www12.statcan.gc.ca/census-recensement/stats/statgeo2016.cfm?Lang=E&GEOCODE=01

Example request

GET

https://www12.statcan.gc.ca/rest/census-recensement/2016ind1.json?lang=E&dguid=2016A000011124&theme=5

Example result

//{
    "COLUMNS":[
    	"GEO_UID",
        "GEO_NAME_NOM",
        "RELEASE_ID",
        "IND_ID",
        "IND_NAME_NOM",
        "IND_DATA_DONNEE"
    ],
    "DATA":[
    	[
    		"2016A000011124","Canada",5,20,"English-French bilingualism rate (%)",17.9
        ],
        [
        	"2016A000011124","Canada",5,21,"Population with more than one language spoken at home (%)",19.4
        ],
        [
        	"2016A000011124","Canada",5,22,"Official language minority (%)",22.8
        ],
        [
        	"2016A000011124","Canada",5,23,"Population with a mother tongue other than English or French",7974370.0
        ]
    ]
    }
    
Date modified: