{"repo":"pharmaverse/formatters","free":true,"listed":false,"github":"https://github.com/pharmaverse/formatters","clone":"git clone https://github.com/pharmaverse/formatters.git","description":"A framework for creating listings of raw data that include specialized formatting, headers, footers, referential footnotes, and pagination.","language":"R","stars":20,"topics":["matrix","format","table","r"],"license":null,"category":"chat-messaging","readme_excerpt":"formatters The formatters package provides two core pieces of functionality, both related to ASCII rendering: 1. format value provides the ability to format single- and multi-valued elements into ASCII display-ready strings 2. the matrix form framework provides generics for implementing ASCII rendering support for display tables Both of these feature sets are used in the rtables package. Motivation The core motivation for formatters is the rendering of reporting tables into ASCII. In this context a \"value\" is the raw content that to appear in a single table cell. Most commonly this is a numeric vector of length 1, 2 or – occasionally – 3. Installation formatters is available on CRAN and you can install the latest released version with: or you can install the latest development version directly from GitHub with: Packaged releases (both those on CRAN and those between official CRAN releases) can be found in the releases list. To understand how to use this package, please refer to the Introduction to formatters article, which provides multiple examples of code implementation. Format labels formatters ships with a large number of pre-defined formats appropriate for rendering values into ASCII strings. These existing formats are specified by their labels. We can see the list of these by calling the list valid format labels function: Each of these labels describes how the incoming (possibly multi-element) raw value will be formatted. xx indicates that an element of the value will b","default_branch":null,"files":null,"tree":[],"storefront":"/r/pharmaverse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pharmaverse/formatters/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}