Skip to contents

# Create a data overview data.frame ready for sparklines

Source: `R/data-summary.R`
`overview_vars.Rd`

Create a data overview data.frame ready for sparklines

## Usage

    overview_vars(data)

## Arguments

data

  data

## Value

data.frame

## Examples

    mtcars |> overview_vars()
    #> # A tibble: 11 × 6
    #>    class   name  n_missing p_complete n_unique vals
    #>    <chr>   <chr>     <dbl>      <dbl>    <int> <named list>
    #>  1 numeric mpg           0          1       25 <dbl [32]>
    #>  2 numeric cyl           0          1        3 <dbl [32]>
    #>  3 numeric disp          0          1       27 <dbl [32]>
    #>  4 numeric hp            0          1       22 <dbl [32]>
    #>  5 numeric drat          0          1       22 <dbl [32]>
    #>  6 numeric wt            0          1       29 <dbl [32]>
    #>  7 numeric qsec          0          1       30 <dbl [32]>
    #>  8 numeric vs            0          1        2 <dbl [32]>
    #>  9 numeric am            0          1        2 <dbl [32]>
    #> 10 numeric gear          0          1        3 <dbl [32]>
    #> 11 numeric carb          0          1        6 <dbl [32]>