kailo_beewell_dashboard.synthesise_demographic
Functions which focus on demographic data - as part of several files which provide functions for synthesis (creation and aggregation) of data for the dashboard.
Module Contents
Functions
Adds a 'plot_group' column providing demographic topic group for each item |
|
Adds labels for each of the demographic survey questions / data in the |
|
Adds labels for each of the demographic survey questions / data in the |
- kailo_beewell_dashboard.synthesise_demographic.add_standard_demographic_groups(df)
Adds a ‘plot_group’ column providing demographic topic group for each item in ‘measure’, for the standard survey demographic responses / data.
Parameters
- dfDataframe
Dataframe containing ‘measure’ column, which we want to add ‘plot_group’ column to.