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

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