All Projects → mkearney → Printbl

mkearney / Printbl

Licence: other
Printable Tibbles

Programming Languages

r
7636 projects

printbl

lifecycle

Printable Tibbles

Installation

Install the development version from Github with:

## install remotes pkg if not already
if (!requireNamespace("remotes")) {
  install.packages("remotes")
}

## install from github
remotes::install_github("mkearney/printbl")

Problem

A limitation of tibble printing is that variables are hidden if they cannot fit within the device’s width.

Solution

{printbl} solves this problem via printing rows. This means users get to preview ALL of the data while preserving the pretty printing behaviors of tibbles.

Example

## load {printbl} package
library(printbl)

## generate a data frame with lots of variables
rt <- rtweet::search_tweets("lang:en -filter:quote", include_rts = FALSE)

## select non-ID columns
x <- rt[, c(3, 6:30, 61:69, 76:82)]

## print rows
print_tbl_df(x)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].