View source: R/get_pop_by_breaks.R
get_pop_by_breaks | R Documentation |
Function that takes population data from Danmarks Statistik and calculates population sizes in given brackets
get_pop_by_breaks(data = "../data/tidy_DST_pop.csv", age_breaks)
data |
dataframe. Tidy dataframe of DST population data |
age_breaks |
numeric vector. Upper limit of each age bracket |
a dataframe with population sizes by age brackets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.