powered by
Creates a flextable in WaSHI's style.
washi_flextable( data, cols_bold = NULL, header_font = "Lato", body_font = "Poppins", header_font_color = "white", header_bg_color = washi_pal[["standard"]][["green"]], border_color = washi_pal[["standard"]][["tan"]] )
A flextable formatted in WaSHI's style.
Dataframe for the table.
Numeric indices of columns to bold. Defaults to NULL.
NULL
Font family for header text. Defaults to "Lato".
Font family for table body text. Defaults to "Poppins".
Hexcode color for header font. Defaults to white.
Hexcode color for header background. Defaults to WaSHI green.
Hexcode color for horizontal borders. Defaults to WaSHI tan.
subset( example_data_wide, select = c( "sampleId", "county", "crop", "totalN_%", "totalC_%" ) ) |> washi_flextable(cols_bold = 1)
Run the code above in your browser using DataLab