An R package for creating formattable vectors and data frames to enhance data presentation in reports and dynamic documents.
Formattable is an R package that creates formattable data structures, allowing vectors and data frames to display with predefined formatting like percentages, currencies, and conditional styling while retaining their original numeric values. It solves the problem of presenting data in reports and dynamic documents in a more readable and visually informative manner without modifying the underlying data.
R users, data analysts, and researchers who create dynamic reports with knitr/rmarkdown and need to present data tables with enhanced formatting for better readability and insight communication.
Developers choose Formattable because it integrates seamlessly with the R ecosystem, especially knitr and rmarkdown, providing a simple yet powerful way to apply rich, conditional formatting to tables without complex custom code or external tools.
Formattable Data Structures
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Directly works with knitr and rmarkdown to generate formatted tables in HTML, PDF, and other dynamic document outputs, as shown in the README's examples with embedded tables.
Provides predefined formatters like percent, currency, and accounting that automatically display vectors with appropriate symbols and formatting, preserving original numeric values.
Enables color tiles, bars, icons, and text styling based on conditions, allowing for intuitive data visualization in tables without altering underlying data.
Maintains original vector values for arithmetic operations and functions while displaying formatted versions, ensuring both human-readable output and programmatic accuracy.
Primarily designed for static or basic interactive tables via htmlwidget conversion; lacks built-in support for advanced interactivity like sorting or filtering without additional packages.
Relies on Bootstrap glyphicons for icon-based formatting, which may require internet access or manual setup, potentially complicating offline or custom deployments.
Tightly integrated with R and its tools (e.g., knitr), making it unsuitable for projects using other programming languages or requiring cross-platform portability.