extend_pop_estimates: Extend population Estimates

Description Usage Arguments Value

View source: R/extend_pop_estimates.R

Description

Take a tibble containing population estimates per year and extend this by copying the latest estimates n times up to max_pop_year

Usage

1
extend_pop_estimates(pops_df, max_pop_year, year_var = "year")

Arguments

pops_df

a tibble containing population estimates

max_pop_year

The latest year required

year_var

The variable containing the year

Value

a tibble with extra years added


Moohan/hscfunctions documentation built on Dec. 17, 2021, 4:20 a.m.