census_base_layer: Base layer carrying India's full claimed extent

View source: R/theme.R

census_base_layerR Documentation

Base layer carrying India's full claimed extent

Description

A ggplot2 layer of the state polygons for a census year, drawn as flat fill. Put it under a district choropleth so the national outline stays whole: the census enumerates no districts in the territory India claims but does not administer, so a district layer alone truncates the north by roughly two degrees of latitude.

Usage

census_base_layer(year, fill = "grey80", ...)

Arguments

year

Census year whose boundaries to draw. One of 1941, 1951, 1961, 1971, 1981, 1991, 2001, 2011.

fill

Fill colour for the base. Defaults to the grey plot_map() uses for missing values.

...

Passed to ggplot2::geom_sf().

Details

plot_map() adds this automatically. Use it directly when hand-rolling a map with ggplot2::geom_sf().

Value

A ggplot2 layer.

Examples


ggplot2::ggplot() +
  census_base_layer(2011)


censusindia documentation built on Oct. 15, 2026, 5:08 p.m.