create_proportion_tbl: Create and return the proportion calculations for each...

Description Usage Arguments

View source: R/demo_profiles_redshift.R

Description

Create and return the proportion calculations for each demographic x universe

Usage

1
2
3
4
5
6
7
8
9
create_proportion_tbl(
  recoded_experian_tbl,
  base_universe_tbl,
  base_universe_name,
  user_universe_list,
  user_universe_names,
  demographic_list,
  experian_id
)

Arguments

recoded_experian_tbl

(remote table) created by create_recoded_experian_tbl()

base_universe_tbl

(remote table) DEFAULT = NA | if not, a remote table with a column of id605/person_id605 of self defined baseline universe

base_universe_name

(string) Label name for the base universe in the plots

user_universe_list

(list of remote tables) each remote table should be just a table of 1 column = id605 or person_id605

user_universe_names

(list of strings) names of the universes from user_universe_list - must be in the same order

demographic_list

(list of strings with names) list of demographics to plot with names

experian_id

(string) id605 or person_id605


605data/DemoProfiles documentation built on June 12, 2020, 12:01 a.m.