Skip to contents

generate_hpop_populations() creates the country/population data frame necessary for correcting double counting within the HPOP Billion calculation. This is used within calculate_hpop_billion().

Usage

generate_hpop_populations(pop_year)

Arguments

pop_year

Year used to pull in HPOP populations, defaults to 2025.

Value

Data frame in long format.

Details

Because the underlying data from the wppdistro package is not publicly distributed for specific small WHO member states, this is not exported as an already created (and thus publicly available) table within the billionaiRe package, but instead dynamically generated each R session.