Select some columns from a yspec object and create a column definition string
Optionally append the unit; QUESTION - should this default to TRUE?
Optionally convert to title case; QUESTION - should this default to TRUE?
Optionally convert to a single string; this currently defaults to TRUE
@KatherineKayMRG I simplified this quite a bit based on initial prototyping. I felt like it wasn't that obvious what columns were going to come back in the note and that it was reasonable to just ask to name the columns to appear. This would (I think) also allow user to enforce an order which might be nice.
Summary
yspec
object and create a column definition stringTRUE
?TRUE
?TRUE
@KatherineKayMRG I simplified this quite a bit based on initial prototyping. I felt like it wasn't that obvious what columns were going to come back in the note and that it was reasonable to just ask to name the columns to appear. This would (I think) also allow user to enforce an order which might be nice.
Example
Created on 2022-03-17 by the reprex package (v2.0.1)