Closed ddsjoberg closed 4 months ago
@ddsjoberg I like it!! I prefer fmt_fn
as it matches the function arg
Add to the list:
missing_variable_summary_fns()
-> missing_summary_fns()
@bzkrouse that's a good one too! It's going to be annoying to update all of them, but I think it's the right thing to do 😭
Do you think we should do all of these or just some of?
I agree, I think doing all of them makes sense!
Just one more thought - Does it make sense to go all the way to have the function arguments match the cards output?
Right now there are going to be subtle differences:
e.g. stat_labels
(fun) vs stat_label
(output),
statistic
(fun) vs stat_name
/stat
(output)
Some naming conventions were done rather quickly, and could perhaps be a bit shorter/better. I couple come to mind:
c('stat_name', 'stat_label', 'statistic', 'statistic_fmt')
. Would it be better to call themc('stat_name', 'stat_label', 'stat', 'stat_fmt')
?'statistic_fmt_fn'
is pretty long. Is it better as simply'fmt_fn'
?continuous_variable_summary_fns()
,categorical_variable_summary_fns()
. We could probably name themcontinuous_summary_fns()
andcategorical_summary_fns()
while keeping the names quite descriptive.@bzkrouse What do you think? Are there any other names that could be improved before the first release?
missing_variable_summary_fns()
->missing_summary_fns()
continuous_variable_summary_fns()
->continuous_summary_fns()
categorical_variable_summary_fns()
->categorical_summary_fns()
foo(stat_labels)
->foo(stat_label)
'statistic_fmt_fn'
->'fmt_fn'
'statistic_fmt'
->'stat_fmt'
'statistic'
->'stat'