I’d like to remove a lot of skimmers, and add a
percentage_missing, which, as the name implies, is just the ratio between
n). However, this doesn’t work:
library(skimr) #> Warning: package 'skimr' was built under R version 3.4.4 skim_with(numeric = list(missing = NULL, complete = NULL, p0 = NULL, p25 = NULL, p75 = NULL, p100 = NULL, hist = NULL, percent_missing = n_missing/length)) #> Error in n_missing/length: non-numeric argument to binary operator
Can you help me?
PS I already asked a similar question some time ago (well, I opened an issue, actually, but I think it’s more appropriate to ask a question here). However, I’m facing a similar problem again. Maybe I’m just dense (or not enough familiar with
purrr), but I think that adding to the documentation some more examples on how to define new skimmers, would definitely help.