| get_population | R Documentation |
MOHFW population projections (2011-2036) at state or district level, based on the 2011 Census. District projections are available using either Census 2011 boundaries (640 districts, 5-year intervals) or current LGD boundaries (785 districts, annual).
get_population(
year = NULL,
geography = c("state", "district"),
state = NULL,
boundary = c("census2011", "lgd"),
geometry = FALSE,
by_age = FALSE
)
year |
Integer or integer vector of projection years. If NULL (default), returns all available years. |
geography |
Geographic level: |
state |
Optional. Filter to specific state(s) by name or
abbreviation (e.g., |
boundary |
For district geography, which boundary system:
|
geometry |
If |
by_age |
If |
State-level data covers 2011-2036 for 38 entries (36 states/UTs plus India total plus Ladakh). Values are in absolute numbers.
The source data rounds Persons, Male, and Female independently (in
thousands), so population may differ from males + females by up
to 1000 at the state level.
District-level Census 2011 data has projections at 5-year intervals (2011, 2016, 2021, 2026, 2031). LGD district data has annual projections from 2012 to 2031.
A year absent from the table is estimated from the two nearest table
years by geometric (exponential) growth, applied separately to males,
females and population:
P_t = P_1 (P_2 / P_1)^{(t - t_1) / (t_2 - t_1)}
Estimated districts need not sum exactly to the estimated state.
Telangana and Ladakh are included as separate entries even though they did not exist as states at the time of the 2011 Census.
A tibble (or sf object if geometry = TRUE) with columns:
year, state_name_harmonized, males, females, population,
district for district-level data, and age_group if by_age = TRUE.
# State-level projections for 2021
get_population(2021, "state")
# District-level for Kerala
get_population(2021, "district", state = "Kerala")
# LGD boundary districts
get_population(2021, "district", boundary = "lgd")
# Age-stratified state projections
get_population(2021, "state", by_age = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.