norway_population_by_age_cats | R Documentation |
A function that easily categorizes the populations for you
norway_population_by_age_cats( cats = NULL, border = fhidata::config$border, use_current_year_as_1900_pop = fhidata::config$use_current_year_as_1900_pop )
cats |
A list containing vectors that you want to categorize |
border |
The border year |
use_current_year_as_1900_pop |
Replaces the year 1900's population data with the current year's population data |
norway_population_by_age_cats(cats = list(c(1:10), c(11:20))) norway_population_by_age_cats(cats = list("one to ten" = c(1:10), "eleven to twenty" = c(11:20))) norway_population_by_age_cats(cats = list(c(1:10), c(11:20), "21+"=c(21:200)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.