Package: formattable 0.2.1.9000

formattable: Create 'Formattable' Data Structures

Provides functions to create formattable vectors and data frames. 'Formattable' vectors are printed with text formatting, and formattable data frames are printed with multiple types of formatting in HTML to improve the readability of data presented in tabular form rendered in web pages.

Authors:Kun Ren [aut, cre], Kenton Russell [aut]

formattable_0.2.1.9000.tar.gz
formattable_0.2.1.9000.zip(r-4.7)formattable_0.2.1.9000.zip(r-4.6)formattable_0.2.1.9000.zip(r-4.5)
formattable_0.2.1.9000.tgz(r-4.6-any)formattable_0.2.1.9000.tgz(r-4.5-any)
formattable_0.2.1.9000.tar.gz(r-4.7-any)formattable_0.2.1.9000.tar.gz(r-4.6-any)
formattable_0.2.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
formattable/json (API)

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

Bug tracker:https://github.com/renkun-ken/formattable/issues

Pkgdown/docs site:https://renkun-ken.github.io

On CRAN:

Conda:

15.03 score 700 stars 20 packages 5.5k scripts 33k downloads 40 exports 3 dependencies

Last updated from:bc2df7c6f3. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK156
source / vignettesOK167
linux-release-x86_64OK136
macos-release-arm64OK117
macos-oldrel-arm64OK95
windows-develOK89
windows-releaseOK96
windows-oldrelOK94
wasm-releaseOK138

Exports:accountingareaas.datatableas.htmlwidgetcolor_barcolor_textcolor_tilecommacsscolorcurrencydigitsformat_tableformattableformattableOutputformattergradienticontextis.formattablenormalizenormalize_barnum_accountingnum_commanum_currencynum_digitsnum_percentnum_scientificparse_accountingparse_commaparse_currencyparse_percentpercentprefixproportionproportion_barqrankrenderFormattablescientificstylesuffixvmap

Dependencies:clilifecyclerlang

Formattable data frame
Simple examples | Cross formatting | Hiding columns | Using built-in formatters | Area formatting | Dynamically generating formatters | Converting to DT::datatables

Last update: 2023-10-09
Started: 2016-07-25

Introduction to formattable package

Last update: 2016-08-07
Started: 2016-07-25

Readme and manuals

Help Manual

Help pageTopics
The formattable packageformattable-package
Create an area to apply formatterarea
Generic function to create an htmlwidgetas.datatable
Convert 'formattable' to a 'DT::datatable()' htmlwidgetas.datatable.formattable
Generic function to create an htmlwidgetas.htmlwidget
Convert formattable to an htmlwidgetas.htmlwidget.formattable
Create a color-bar formattercolor_bar
Create a color-text formattercolor_text
Create a color-tile formattercolor_tile
Generate CSS-compatible color stringscsscolor
Format a data frame with formatter functionsformat_table
Generic function to create formattable objectformattable
Create a formattable data frameformattable.data.frame
Create a formattable Date vectorformattable.Date
Create a formattable objectformattable.default
Create a formattable factor objectformattable.factor
Create a formattable logical vectorformattable.logical
Create a formattable numeric vectorformattable.numeric
Create a formattable POSIXct vectorformattable.POSIXct
Create a formattable POSIXlt vectorformattable.POSIXlt
Widget output function for use in ShinyformattableOutput
Create a formatter function making HTML elementsformatter
Create a matrix from vector to represent colors in gradientgradient
Create icon-text elementsicontext
Test for objects of 'formattable' classis.formattable
Normalize a vector to fit zero-to-one scalenormalize
Create a color-bar formatter using normalizenormalize_bar
Numeric vector with accounting formatnum_accounting parse_accounting
Numeric vector with thousands separatorsnum_comma parse_comma
Numeric vector with currency formatnum_currency parse_currency
Numeric vector showing pre-specific digitsnum_digits
Numeric vector with percentage representationnum_percent parse_percent
Numeric vector with scientific formatnum_scientific
Formattable object with prefixprefix
Rescale a vector relative to the maximal absolute value in the vectorproportion
Create a color-bar formatter using proportionproportion_bar
Quantile ranks of a vectorqrank
Widget render function for use in ShinyrenderFormattable
Create a string-representation of CSS stylestyle
Formattable object with suffixsuffix
Vectorized map from element to case by index or string valuevmap