generate_hpop_populations: Generate HPOP Population Table

View source: R/calculate_hpop_billion.R

generate_hpop_populationsR Documentation

Generate HPOP Population Table

Description

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.

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.

Value

Data frame in long format.


gpw13/billionaiRe documentation built on Sept. 27, 2024, 10:05 p.m.