Reads a table of the Indigenous Population Profile, 2021 Census of Population
(Statistics Canada catalogue 98-510-X2021001 to 98-510-X2021016), as the data
service mirrors it, into one row per geography, gender, age group,
characteristic and group: First Nations, Metis, Inuit, the other identity
groups and non-Indigenous people (or, in the household tables, Indigenous and
non-Indigenous households), each in its own rows. The data service keeps
these tables under census2021_ipp/.
Value
A data frame of class rmbl_census_profile: geo,
dguid, geolvl, residence (on or off reserve, in the
tables that split it), gender, age, chaid,
characteristic, level, parid, rootid,
sample, group, value, quality, tnrsf,
tnrlf.
Details
The profile gives each characteristic in a hierarchy shown only by
indentation (“Total - Highest certificate, diploma or degree”,
“High (secondary) school diploma or equivalency certificate”, ...):
the level, the parent and the topic's total (rootid) are worked out
from it, so a share can be taken of its parent. A topic marked "25%
sample data" comes from the long-form sample (sample = "25%"); the
others from the full count ("100%"). Counts are randomly rounded to
multiples of 5 (of 10 below 10) by Statistics Canada, and a cell suppressed
to protect confidentiality (x), too unreliable (F), not
available (..) or not applicable (...) has no value here;
E values are kept and marked. The global non-response rates of the
geography (tnrsf, tnrlf, in percent) are kept: Statistics
Canada suppresses an area whose long-form rate is 50% or more, and a high
rate means a larger error than the sample alone.
References
Statistics Canada (2023). Indigenous Population Profile, 2021 Census of Population. Statistics Canada Catalogue no. 98-510-X2021001. Released June 21, 2023. Published at www12.statcan.gc.ca/census-recensement/2021/dp-pd/ipp-ppa/index.cfm?Lang=E (the site answers scripts with 403); the Wayback Machine holds a copy of that address captured on 8 March 2026 (web.archive.org, snapshot 20260308015010).
Statistics Canada (2022). Guide to the Census of Population, 2021. Catalogue no. 98-304-X.
Examples
p <- cnsprof(indiex("censuspop"))
head(p[p$characteristic == "Foster children" & p$geo == "Canada", ])
#> ╭── Indigenous Population Profile, tidied ────────────────────────────────────╮
#> │ Edition 2021 Census of Population (DGUID vintage) │
#> │ Rows 6 │
#> │ Geographies Canada │
#> │ Groups Total │
#> │ Characteristics 1 │
#> │ Samples 25% │
#> │ Quality ok 6 │
#> │ Non-response short form 3.1%; long form 4.3% │
#> │ │
#> │ geo dguid geolvl residence │
#> │ ------ -------------- ------- ----------------------------------- │
#> │ Canada 2021A000011124 Country Total - Residence on or off reserve │
#> │ Canada 2021A000011124 Country On reserve │
#> │ Canada 2021A000011124 Country Off reserve │
#> │ Canada 2021A000011124 Country Total - Residence on or off reserve │
#> │ Canada 2021A000011124 Country On reserve │
#> │ Canada 2021A000011124 Country Off reserve │
#> │ │
#> │ geo gender age group chaid characteristic │
#> │ ------ -------------- ------------------ ----- ----- --------------- │
#> │ Canada Total - Gender Total - Age groups Total 38 Foster children │
#> │ Canada Total - Gender Total - Age groups Total 38 Foster children │
#> │ Canada Total - Gender Total - Age groups Total 38 Foster children │
#> │ Canada Total - Gender 0 to 14 years Total 38 Foster children │
#> │ Canada Total - Gender 0 to 14 years Total 38 Foster children │
#> │ Canada Total - Gender 0 to 14 years Total 38 Foster children │
#> │ │
#> │ geo level parid rootid value sample quality tnrsf tnrlf │
#> │ ------ ----- ----- ------ ------ ------ ------- ----- ----- │
#> │ Canada 2 37 13 43,535 25% ok 3.100 4.300 │
#> │ Canada 2 37 13 3,100 25% ok 3.100 4.300 │
#> │ Canada 2 37 13 40,435 25% ok 3.100 4.300 │
#> │ Canada 2 37 13 27,535 25% ok 3.100 4.300 │
#> │ Canada 2 37 13 2,455 25% ok 3.100 4.300 │
#> │ Canada 2 37 13 25,080 25% ok 3.100 4.300 │
#> │ │
#> │ 6 values of 1 characteristics in 1 geographies. │
#> │ None carries a quality flag. │
#> │ │
#> │ One row per geography, group and characteristic: the value with its │
#> │ level and parent in the profile's hierarchy, ready for profshr(). │
#> │ Counts are randomly rounded to multiples of 5 (10 below 10). │
#> │ Statistics Canada suppresses an area whose long-form non-response │
#> │ is 50% or more; a high rate means a larger error than the sample. │
#> ╰─────────────────────────────────────────────────────────────────────────────╯
