Skip to content

Instantly share code, notes, and snippets.

View 1danjordan's full-sized avatar

Daniel Jordan 1danjordan

View GitHub Profile
@1danjordan
1danjordan / app.R
Last active January 14, 2019 12:51
Data Quality Explorer Prototype
library(shiny)
library(plotly)
library(dplyr)
data(diamonds, package = "ggplot2")
df <- as_tibble(diamonds)
vars <- names(df)
numeric_vars <- df %>% select_if(is.numeric) %>% names()
categorical_vars <- df %>% select_if(~ !is.numeric(.x)) %>% names()