Skip to content

censusindia

0.2.1Package record

Census of India Data, 1901-2011, with Boundaries and Projections

0packages depend
243downloads / year
80.0%test coverage
13/13flavors OK

Overview

About

Tables from every decennial Census of India from 1901 to 2011: population time series, Primary Census Abstracts at state, district and sub-district level, mother tongue tables, Scheduled Caste and Scheduled Tribe populations, and the 1931 caste tables by religion, together with Ministry of Health and Family Welfare population projections to 2036. Historical series are drawn from Jolad and Singh (2026) doi:10.7910/DVN/ON8CP8. Census variables can be returned with state or district boundaries of the matching census year attached for mapping. Boundary files and the largest village-level tables are downloaded on first use and cached locally.

Changes in 0.2.1

REST API

  • serve() runs a plumber REST API over the accessors and shipped datasets, with paging, GeoJSON geometry and per-request logging.

New data

  • census_1931_castes: 1931 caste populations by religion for 24 provinces, states and agencies.
  • census_1931_exterior_castes: castes the 1931 Census classed as exterior, by province.

Data fixes

  • population_projections_state adds a merged "Dadra & Nagar Haveli and Daman & Diu" row (the sum of the two old UTs, kept alongside). Drop one form and "India" before summing states.
  • census_subdistricts_2011 now covers all Census 2011 subdistricts and sums to census_2011_pca.
  • census_1971 and census_1981 record an empty rural or urban sector as 0.
  • population_projections_district_lgd and both district age tables have no NA (Theni 2017-2031, Moga and Tapi 80+ 2022-2026 derived). The age tables download again on first use.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK6 OK2026-10-16
Advisories

none known

Documentation

In release 0.2.1
READMEYes · 313 wordsVignettes· In the repository, left out of the releaseNEWSYes · 100% structured · mentions 0.2.1Citation fileNoWebsiteYes
Help pages
52 (1 internal)includes a package overview page
Examples that run
100%30 run in a plain check (15 of them under a condition)
Exported functions with examples
100%
Documented parameters
89%
Return-value docs
100%
Help pages citing references
0%

Downloads

243
CRAN downloads in the past year
Rank #25,450 · ~1/day · ~20/mo
Daily download trend is not available in this view yet.
24330 days
24390 days
2431 year
Compare downloads with other packages →
Also on2 autocran

Repository

2Stars
0Forks
0Open issues
1Open PRs
1Releases
52Commits
2Commit identities
52 commits · Last activity 2026-10-18
Responsiveness
How these are sampled
PRs merged (all time)
50%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
6

PRs over time

2026-10-15 · 02026-10-24 · 1
PracticesBeta

4 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/saketlab/censusindia on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-08-10

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing censusindia adds 26 packages (18 with compiled code, 33 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, s2 2.8 MB.

Depends (1)
R >= 4.1.0
Imports (9)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.2.0 (2026), Copyright holder
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.1Latest
    record
    2026-10-18 · current release · diff ↗ ·
    added 2 exports
    census_api, serve
    ·
    listed once in CRAN's queue
    Seen in one reading of CRAN's incoming queue, at 2026-10-18 07:37 UTC, so it stayed less than the time between readings.
  • 0.2.0
    record
    first seen 2026-10-15 ·
    11 days in CRAN's queue
    Listed in CRAN's incoming queue from 2026-10-03 21:57 to 2026-10-15 06:48 UTC, in 51 readings.
  • R
    R 4.6.0 released · 2026-04-24
Across CRAN, the median accepted release of the past year spent 26 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First seen
2026-10-15
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Copyright
See file COPYRIGHTS for the data included in and downloaded by this package.
Minimum R
≥ 4.1.0
Bundled data
1.3 MB / 20 files
Download size
3.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("censusindia")
Choudhary, S. (2026). censusindia: Census of India Data, 1901-2011, with Boundaries and Projections (Version 0.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.censusindia

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for censusindia version 0.2.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy