get_pop_by_breaks: Function that takes population data from Danmarks Statistik...

View source: R/get_pop_by_breaks.R

get_pop_by_breaksR Documentation

Function that takes population data from Danmarks Statistik and calculates population sizes in given brackets

Description

Function that takes population data from Danmarks Statistik and calculates population sizes in given brackets

Usage

get_pop_by_breaks(data = "../data/tidy_DST_pop.csv", age_breaks)

Arguments

data

dataframe. Tidy dataframe of DST population data

age_breaks

numeric vector. Upper limit of each age bracket

Value

a dataframe with population sizes by age brackets


ktbaek/c19dk documentation built on March 26, 2022, 1:47 a.m.