MatthieuStigler / matPkg

Other
2 stars 0 forks source link

mat_is_unique_combo: check for unnneseccary variables? #27

Open MatthieuStigler opened 5 years ago

MatthieuStigler commented 5 years ago

Would be nice to check if some are redundant....

library(tidyverse)
library(matPkg)
quick_stats %>% 
  select(1:3) %>% 
  distinct() %>%
  mutate(a=1) %>% 
  mat_is_unique_combo(program, year, period, a)
#> Is unique!

Created on 2019-08-13 by the reprex package (v0.3.0)

MatthieuStigler commented 5 years ago

agreed!