AlgebraOfGraphics.jl
AlgebraOfGraphics.jl copied to clipboard
Unique naming to columns
In the pair syntax (e.g. :a => categorical), give names that take the function into account (as does DataFrames).
... and (if that doesn't work yet) also allow renaming?
Yes, I guess we should basically copy DataFrames, so basically :col => func gives you df.col_func = func(df.col), and :col => func => :new_name gives df.new_name = func(df.col). Maybe even :col => :newname, but let's wait to see if it's actually needed.
I agree that a simple renaming syntax would be very handy. I dislike to have to rename the actual data columns just for a quick plot to look right.
I like "mean(val)" better than "val_mean".