downloadSRB: Extract SRB estimates from WPP2019

downloadSRBR Documentation

Extract SRB estimates from WPP2019

Description

We use the WPP2019_births dataset from DemoToolsData for the sex ratio at birth. Births from WPP 2019 were graduates to single year totals.

Usage

downloadSRB(SRB, location, DatesOut, verbose = TRUE)

Arguments

SRB

sex ratio at birth. Either NULL, a scalar to assume constant, or a vector of length 3, assumed.

location

UN Pop Div LocName or LocID

DatesOut

numeric vector of three decimal dates produced by basepop_ive()

verbose

logical, shall we send optional messages to the console?

Value

numeric vector with three SRB estimates


timriffe/DemoTools documentation built on Oct. 14, 2024, 12:53 p.m.