| census_languages | R Documentation |
The C-16 mother tongue tables stack state, district and subdistrict rows,
and a subdistrict carries its parent's district_code. Filtering on
district_code != "000" therefore keeps subdistricts too, and summing the
result double counts: 640 districts become 6,231 rows, and district totals
inflate by a median factor of two.
census_languages(level = c("district", "subdistrict"), language_group = NULL)
level |
|
language_group |
Optionally restrict to one language group, as listed in
the |
area_name does not separate the two levels either, because in 392 of the
640 districts the headquarters tehsil carries the district's own name.
Subdistricts do partition their district, so the district value for any
(district_code, language_code) is half the group sum. The tables this
returns are that split, applied once at build time.
A tibble at the requested level, one row per language per area.
census_2011_linguistic_diversity for one row per district with entropy already computed.
census_languages("district") |> head()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.