ropensci / visdat

Preliminary Exploratory Visualisation of Data
https://docs.ropensci.org/visdat/
Other
450 stars 47 forks source link

2 useful VISDAT PKG suggestions for Fx: vis_expect() #152

Open sfd99 opened 1 year ago

sfd99 commented 1 year ago

@njtierney Hi Nick!

Long-time user of visdat. Great PKG!.

Two Suggestions for vis_expect() :

1) allow not only a complete DF (all cols) as ".x" input, but ALSO just one or more specific DF vars as ".x" input. ie - allow just: airquality$Wind

2)
allow several AND/OR/NOT conditions

Example f/ both suggestions above:

vis_expect(airquality$Wind , ~.x >= 15   &   ~.x < 18)

This would be of great value...useful!

sf99 visdat PKG 060.9000 R, Rstudio, Ubuntu Linux 20.04 San Francisco.