Package: condformat 0.10.1.9000

condformat: Conditional Formatting in Data Frames

Apply and visualize conditional formatting to data frames in R. It renders a data frame with cells formatted according to criteria defined by rules, using a tidy evaluation syntax. The table is printed either opening a web browser or within the 'RStudio' viewer if available. The conditional formatting rules allow to highlight cells matching a condition or add a gradient background to a given column. This package supports both 'HTML' and 'LaTeX' outputs in 'knitr' reports, and exporting to an 'xlsx' file.

Authors:Sergio Oller Moreno [aut, cph, cre]

condformat_0.10.1.9000.tar.gz
condformat_0.10.1.9000.zip(r-4.5)condformat_0.10.1.9000.zip(r-4.4)condformat_0.10.1.9000.zip(r-4.3)
condformat_0.10.1.9000.tgz(r-4.4-any)condformat_0.10.1.9000.tgz(r-4.3-any)
condformat_0.10.1.9000.tar.gz(r-4.5-noble)condformat_0.10.1.9000.tar.gz(r-4.4-noble)
condformat_0.10.1.9000.tgz(r-4.4-emscripten)condformat_0.10.1.9000.tgz(r-4.3-emscripten)
condformat.pdf |condformat.html
condformat/json (API)
NEWS

# Install 'condformat' in R:
install.packages('condformat', repos = c('https://zeehio.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/zeehio/condformat/issues

On CRAN:

formattinghtmllatextablevisualisation

6.51 score 25 stars 1 packages 87 scripts 795 downloads 1 mentions 27 exports 56 dependencies

Last updated 1 years agofrom:c5cc171c65. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 03 2024
R-4.5-winOKNov 03 2024
R-4.5-linuxOKNov 03 2024
R-4.4-winOKNov 03 2024
R-4.4-macOKNov 03 2024
R-4.3-winOKNov 03 2024
R-4.3-macOKNov 03 2024

Exports:%>%cf_field_to_csscf_field_to_gtablecf_field_to_latexcondformatcondformat_examplecondformat2excelcondformat2grobcondformat2htmlcondformat2latexcondformat2widgetcondformatOutputrenderCondformatrule_cssrule_fill_barrule_fill_discreterule_fill_gradientrule_fill_gradient2rule_text_boldrule_text_colorshow_columnsshow_rowstheme_captiontheme_grobtheme_htmlTabletheme_htmlWidgettheme_kable

Dependencies:backportsbase64encbslibcachemcheckmateclicolorspacedigestdplyrevaluatefansifarverfastmapfontawesomefsgenericsgluegridExtragtablehighrhtmlTablehtmltoolshtmlwidgetsjquerylibjsonliteknitrlabelinglifecyclemagrittrmemoisemimemunsellopenxlsxpillarpkgconfigR6rappdirsRColorBrewerRcpprlangrmarkdownrstudioapisassscalesstringistringrtibbletidyselecttinytexutf8vctrsviridisLitewithrxfunyamlzip

Introduction to condformat

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2017-11-16
Started: 2015-05-20

Readme and manuals

Help Manual

Help pageTopics
How to export a cf_field to CSScf_field_to_css
How to export a cf_field to grobcf_field_to_gtable
How to export cf values to latexcf_field_to_latex
Conditional formatting for data framescondformat
Shiny bindings for condformatcondformat-shiny condformatOutput condformat_example renderCondformat
Writes the table to an Excel workbookcondformat2excel
Converts the table to a grid objectcondformat2grob
Converts the table to a htmlTable objectcondformat2html
Converts the table to LaTeX codecondformat2latex
Converts the table to a htmlTableWidgetcondformat2widget
Print method for knitr, exporting to HTML or LaTeX as neededknit_print.condformat_tbl
Prints the data frame in an HTML page and shows it.print.condformat_tbl
Apply a CSS style property as a conditional formatting rulerule_css
Fill column with a bar of a length proportional to a valuerule_fill_bar
Fill column with discrete colorsrule_fill_discrete
Fill column with sequential colour gradientrule_fill_gradient
Fill column with sequential color gradientrule_fill_gradient2
Use bold text if a condition is metrule_text_bold
Give a color to the text according to some expressionrule_text_color
Selects the variables to be printedshow_columns
Selects the rows to be printedshow_rows
Sets the caption of a condformat objecttheme_caption
Customizes appearance of condformat objecttheme_grob
Customizes appearance of condformat objecttheme_htmlTable
Customizes appearance of condformat objecttheme_htmlWidget
Customizes appearance of condformat objecttheme_kable