View source: R/data-tbl-name-item-list.R
named_item_list | R Documentation |
Takes in a data.frame/tibble and creates a named list from a supplied grouping
variable. Can be used in conjunction with save_to_excel()
to create a new
sheet for each group of data.
named_item_list(.data, .group_col)
.data |
The data.frame/tibble. |
.group_col |
The column that contains the groupings. |
Requires a data.frame/tibble and a grouping column.
Steven P. Sanderson II, MPH
Other Data Table Functions:
category_counts_tbl()
,
los_ra_index_summary_tbl()
,
top_n_tbl()
,
ts_census_los_daily_tbl()
,
ts_signature_tbl()
library(healthyR.data)
df <- healthyR_data
df_list <- named_item_list(.data = df, .group_col = service_line)
df_list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.