View source: R/get_polymod_population.R
get_polymod_population | R Documentation |
returns the polymod-average population age distribution in
5y increments (weight country population distributions by number of
participants). Note that we don't want to weight by survey age
distributions for this, since the total number of participants
represents the sampling. It uses the participant data from the polymod
survey as well as the age specific population data from socialmixr
R package to return the age specific average population of different,
countries weighted by the number of participants from those countries who
participated in the polymod survey.
get_polymod_population(
countries = c("Belgium", "Finland", "Germany", "Italy", "Luxembourg", "Netherlands",
"Poland", "United Kingdom")
)
countries |
countries to extract data from. Default is to get: Belgium, Finland, Germany, Italy, Luxembourg, Netherlands, Poland, and United Kingdom. |
A conmat_population
data frame with two columns: lower.age.limit
and population
get_polymod_population()
get_polymod_population("Belgium")
get_polymod_population("United Kingdom")
get_polymod_population("Italy")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.