Closed christophsax closed 5 years ago
Implemented a print method in #8
Did not reuse the str() function, as it had a lot of dependencies (some copied, and some yet unresolved).
Reimplemented the str() function now, and calling it from within print()
I thing that's pretty good for now. Let's collect feedback.
It would be useful to have a print method for swissdata object,
print.swissdata
. I think having something like the output ofstr(x)
andhead(x$data)
could be useful.Can you give it a try?
More important than the resulting function is the concept behind and the ease of use. When you do
drop_dim
,drop_level
, etc, which kind of print output is most useful? We can tweak and adjust as we move along.