Closed njtierney closed 1 year ago
Current progress:
library(visdat)
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
vis_dat(airquality)
vis_dat(airquality, facet = Month)
vis_cor(airquality)
vis_cor(airquality, facet = Month)
airquality %>% data_vis_dat()
#> # A tibble: 918 × 4
#> rows variable valueType value
#> <int> <chr> <chr> <chr>
#> 1 1 Day integer 41
#> 2 1 Month integer 190
#> 3 1 Ozone integer 7.4
#> 4 1 Solar.R integer 67
#> 5 1 Temp integer 5
#> 6 1 Wind numeric 1
#> 7 2 Day integer 36
#> 8 2 Month integer 118
#> 9 2 Ozone integer 8
#> 10 2 Solar.R integer 72
#> # … with 908 more rows
airquality %>% group_by(Month) %>% data_vis_dat()
#> # A tibble: 765 × 5
#> # Groups: Month [5]
#> Month rows variable valueType value
#> <int> <int> <chr> <chr> <chr>
#> 1 5 1 Day integer 41
#> 2 5 1 Ozone integer 190
#> 3 5 1 Solar.R integer 7.4
#> 4 5 1 Temp integer 67
#> 5 5 1 Wind numeric 1
#> 6 5 2 Day integer 36
#> 7 5 2 Ozone integer 118
#> 8 5 2 Solar.R integer 8
#> 9 5 2 Temp integer 72
#> 10 5 2 Wind numeric 2
#> # … with 755 more rows
airquality %>% data_vis_cor()
#> # A tibble: 36 × 3
#> row_1 row_2 value
#> <chr> <chr> <dbl>
#> 1 Ozone Ozone 1
#> 2 Ozone Solar.R 0.348
#> 3 Ozone Wind -0.602
#> 4 Ozone Temp 0.698
#> 5 Ozone Month 0.165
#> 6 Ozone Day -0.0132
#> 7 Solar.R Ozone 0.348
#> 8 Solar.R Solar.R 1
#> 9 Solar.R Wind -0.0568
#> 10 Solar.R Temp 0.276
#> # … with 26 more rows
airquality %>% group_by(Month) %>% data_vis_cor()
#> # A tibble: 125 × 4
#> # Groups: Month [5]
#> Month row_1 row_2 value
#> <int> <chr> <chr> <dbl>
#> 1 5 Ozone Ozone 1
#> 2 5 Ozone Solar.R 0.243
#> 3 5 Ozone Wind -0.374
#> 4 5 Ozone Temp 0.554
#> 5 5 Ozone Day 0.302
#> 6 5 Solar.R Ozone 0.243
#> 7 5 Solar.R Solar.R 1
#> 8 5 Solar.R Wind -0.227
#> 9 5 Solar.R Temp 0.455
#> 10 5 Solar.R Day -0.0644
#> # … with 115 more rows
Created on 2022-11-25 with reprex v2.0.2
Resolves #78