library (datacleanr) # for interactive data viz10. Interactive data qc and data viz (Shiny apps)
While an all-purpose workflow for data checking and qc can never cover all the idiosyncracies of each dataset that a customized set of tests can, sometimes it’s a good place to start. If you find yourself in this situation, I recommend the datacleanr package. This is an interactive tool that launches a shiny website for exploring your data. This tool also provides an interactive tool for flagging suspect data from plots, an especially handy feature. The package authors have made some really excellent in depth tutorials. The basics of launching the app are below - so if you are person who likes to learn by trial and error and see what happens, follow the code below. Otherwise, peruse the linked tutorials.
Load packages
df <-read.csv (file.path('example_data', 'sunflower_data_broken.csv'))The dcr_app() command launches the interactive app.
dcr_app(df)