Closed jw5 closed 3 years ago
That's very nice! @michaelquinn32 do you agree?
This works for me! Would you mind opening a pull request so that we can merge this into the code?
I am going to mention that the reason we do that currently is so we can display the data name in the print by making it an attributedf_name
. We could also create a convenience function to return that.
@jw5 If you would send us a PR, please also add yourself as a contributor in the description file.
@jw5 @michaelquinn32 I think it would make sense to get this into the next release, do you agree?
I agree. This is a great addition. Thanks!
Interestingly it also has the benefit of removing the `` (backticks) around the data set name.
It looks to me as though this breaks tidy select. I'll push up a branch with failing tests after I look at it some more.
It's in the dataname branch.
With a small backward compatible change it would be possible to invoke skim from within other functions and pass the original variable name from a caller higher up the call stack rather than using the temporary name internal to the calling function.
For example
Shows the name of myData as "x", rather than the more desirable "myData".
However, a small change to the current code:
could be changed to this:
would allow
To display the original variable name "myData" in the skim output.
Thanks, Jim