Description Usage Arguments Value Examples
Return the percent of responses to categorical answers at a specified frequency
1 2 3 4 5 6  | pct_response(
  dt,
  col_name = NULL,
  by = c("month", "quarter", "week"),
  date_name = "ref_date"
)
 | 
dt | 
 data table of responses  | 
col_name | 
 name of column containing responses  | 
by | 
 frequency of response aggregation, one of '"month"', '"quarter"', '"week"'  | 
date_name | 
 name of column containing dates  | 
The percent of responses at the frequency
1 2 3  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.