Skip to contents

Create a survey dataframe with per individual age information.

Usage

survey_by_individual_age(survey_features, age_df)

Arguments

survey_features

A dataframe containing information about age groups and sample sizes.

age_df

A dataframe containing 'age' and 'group'.

Value

A dataframe with overall sample sizes calculated by joining survey_features and age_df. This dataframe has columns including 'age' and 'overall_sample_size'.