annotate_mf_all: Annotate meaningful formatting for all cells

View source: R/annotate_mf_all.R

annotate_mf_allR Documentation

Annotate meaningful formatting for all cells

Description

Turns cell formatting into annotations for all values across all variables.

Usage

annotate_mf_all(xlfilepath)

Arguments

xlfilepath

Path to a single-sheet spreadsheet file (xls or xlsx).

Details

At this point, seven popular approaches for meaningful formatting (bold, colored text, italic, strikethrough, underline, double underline, and cell highlighting) are hardcoded in the function. sheets, skip, and range arguments for spreadsheet input are not supported. The hex8 code of the fill color used for text color and cell highlighting is also appended in the output. Ensure the data in the spreadsheet are rectangular before running.

Value

A tibble with meaningful formatting embedded as text for all rows and columns.

Examples

example_spreadsheet <- system.file("extdata/boutiques.xlsx", package = "unheadr")
annotate_mf_all(example_spreadsheet)

unheadr documentation built on Aug. 15, 2022, 9:08 a.m.