Description Usage Arguments Value
View source: R/extend_pop_estimates.R
Take a tibble containing population
estimates per year and extend this by copying the latest estimates n
times up to max_pop_year
1 | extend_pop_estimates(pops_df, max_pop_year, year_var = "year")
|
pops_df |
a tibble containing population estimates |
max_pop_year |
The latest year required |
year_var |
The variable containing the year |
a tibble with extra years added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.