calculate_table: calculate percentage tables for comment themes

Description Usage Arguments Value

View source: R/calculate_table.R

Description

calculate percentage tables for comment themes

Usage

1
2
3
4
5
6
7
8
calculate_table(
  table_data,
  code_column,
  category_table,
  join_lookup,
  count_column,
  click_column = NULL
)

Arguments

table_data

A dataframe

code_column

String with name of column to summarise.

category_table

The table to join with.

join_lookup

A named vector giving the names to join on

count_column

String with the name of the column to count in the joined table

click_column

A string with the name of the category that has been clicked, if any

Value

a dataframe with category name, n, and


ChrisBeeley/staff_survey documentation built on March 14, 2021, 10:47 a.m.