Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

skimr-vctrs

Functions for working with the vctrs package


Description

These make it clear that we need to use the tibble behavior when joining, concatenating or casting skim_df objects. For a better discussion, on why this is important and how these functions work, see: https://vctrs.r-lib.org/reference/howto-faq-coercion-data-frame.html.

Usage

## S3 method for class 'skim_df.skim_df'
vec_ptype2(x, y, ...)

## S3 method for class 'skim_df.tbl_df'
vec_ptype2(x, y, ...)

## S3 method for class 'tbl_df.skim_df'
vec_ptype2(x, y, ...)

## S3 method for class 'skim_df.skim_df'
vec_cast(x, to, ...)

## S3 method for class 'skim_df.tbl_df'
vec_cast(x, to, ...)

## S3 method for class 'tbl_df.skim_df'
vec_cast(x, to, ...)

Details

vec_ptype2.* handles finding common prototypes between skim_df and similar objects. vec_cast.* handles casting between objects. Note that as of dplyr 1.0.2, dplyr::bind_rows() does not full support combining attributes and vctrs::vec_rbind() is preferred instead.


skimr

Compact and Flexible Summaries of Data

v2.1.3
GPL-3
Authors
Elin Waring [cre, aut], Michael Quinn [aut], Amelia McNamara [aut], Eduardo Arino de la Rubia [aut], Hao Zhu [aut], Julia Lowndes [ctb], Shannon Ellis [aut], Hope McLeod [ctb], Hadley Wickham [ctb], Kirill Müller [ctb], RStudio, Inc. [cph] (Spark functions), Connor Kirkpatrick [ctb], Scott Brenstuhl [ctb], Patrick Schratz [ctb], lbusett [ctb], Mikko Korpela [ctb], Jennifer Thompson [ctb], Harris McGehee [ctb], Mark Roepke [ctb], Patrick Kennedy [ctb], Daniel Possenriede [ctb], David Zimmermann [ctb], Kyle Butts [ctb], Bastian Torges [ctb], Rick Saporta [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.