Skip to content

DHS.rates

Calculates Demographic Indicators

v0.9.2 · Jan 11, 2024 · GPL-2

Description

Calculates key indicators such as fertility rates (Total Fertility Rate (TFR), General Fertility Rate (GFR), and Age Specific Fertility Rate (ASFR)) using Demographic and Health Survey (DHS) women/individual data, childhood mortality probabilities and rates such as Neonatal Mortality Rate (NNMR), Post-neonatal Mortality Rate (PNNMR), Infant Mortality Rate (IMR), Child Mortality Rate (CMR), and Under-five Mortality Rate (U5MR), and adult mortality indicators such as the Age Specific Mortality Rate (ASMR), Age Adjusted Mortality Rate (AAMR), Age Specific Maternal Mortality Rate (ASMMR), Age Adjusted Maternal Mortality Rate (AAMMR), Age Specific Pregnancy Related Mortality Rate (ASPRMR), Age Adjusted Pregnancy Related Mortality Rate (AAPRMR), Maternal Mortality Ratio (MMR) and Pregnancy Related Mortality Ratio (PRMR). In addition to the indicators, the 'DHS.rates' package estimates sampling errors indicators such as Standard Error (SE), Design Effect (DEFT), Relative Standard Error (RSE) and Confidence Interval (CI). The package is developed according to the DHS methodology of calculating the fertility indicators and the childhood mortality rates outlined in the "Guide to DHS Statistics" (Croft, Trevor N., Aileen M. J. Marshall, Courtney K. Allen, et al. 2018, <https://dhsprogram.com/Data/Guide-to-DHS-Statistics/index.cfm>) and the DHS methodology of estimating the sampling errors indicators outlined in the "DHS Sampling and Household Listing Manual" (ICF International 2012, <https://dhsprogram.com/pubs/pdf/DHSM4/DHS6_Sampling_Manual_Sept2012_DHSM4.pdf>).

Downloads

411

Last 30 days

9184th

1.1K

Last 90 days

4.8K

Last year

Trend: +5.9% (30d vs prior 30d)

CRAN Check Status

4 NOTE
10 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (4 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Mahmoud Elkasabi <mahmoudelkasabi@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Mahmoud",
                    family = "Elkasabi",
                    role = c("aut", "cre"),
                    email = "mahmoudelkasabi@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Mahmoud Elkasabi <mahmoudelkasabi@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Mahmoud",
                    family = "Elkasabi",
                    role = c("aut", "cre"),
                    email = "mahmoudelkasabi@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘rlang’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘rlang’
  All declared Imports should be used.

Check History

NOTE 10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Mahmoud Elkasabi <mahmoudelkasabi@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Mahmoud",
                    family = "Elkasabi",
                    role = c("aut", "cre"),
                    email = "mahmoudelkasabi@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Mahmoud Elkasabi <mahmoudelkasabi@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Mahmoud",
                    family = "Elkasabi",
                    role = c("aut", "cre"),
                    email = "mahmoudelkasabi@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘rlang’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘rlang’
  All declared Imports should be used.

Dependency Network

Dependencies Reverse dependencies reshape survey haven matrixStats dplyr rlang crayon DHS.rates

Version History

new 0.9.2 Mar 10, 2026
updated 0.9.2 ← 0.9.1 diff Jan 10, 2024
updated 0.9.1 ← 0.9.0 diff Dec 8, 2021
updated 0.9.0 ← 0.8.0 diff Jun 17, 2021
updated 0.8.0 ← 0.7.1 diff Oct 11, 2020
updated 0.7.1 ← 0.7.0 diff May 17, 2020
updated 0.7.0 ← 0.6.0 diff Apr 4, 2019
updated 0.6.0 ← 0.5.0 diff Jan 26, 2019
updated 0.5.0 ← 0.4.0 diff Jan 11, 2019
updated 0.4.0 ← 0.3.1 diff Sep 15, 2018
updated 0.3.1 ← 0.3.0 diff Jun 9, 2018
updated 0.3.0 ← 0.2.0 diff Apr 15, 2018
updated 0.2.0 ← 0.1.0 diff Mar 10, 2018
new 0.1.0 Mar 4, 2018