powered by
add sparklines to workbook
wb_add_sparklines(wb, sheet = current_sheet(), sparklines)
workbook
sheet to add the sparklines to
sparklines object created with create_sparklines()
create_sparklines()
sl <- create_sparklines("Sheet 1", "A3:K3", "L3") wb <- wb_workbook() %>% wb_add_worksheet() %>% wb_add_data(x = mtcars) %>% wb_add_sparklines(sparklines = sl)
Run the code above in your browser using DataLab