-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension of createNotes() to work with levels specified by seperators #40
Comments
@panoptikum Hello, I have used your function CreateNodes() to create nodes, but got into the debug mode. Then I tried your function hts(), also got into the debug mode. Could you give a detail example? Thanks. |
@jnuvenus Thanks for trying out my function. I forgot to remove a browser() within the function which was there for debug purposes. It should work with the above example now, but I can highlight the crucial code changes as well. Let me know, if it works or not. |
@panoptikum Finally, I use hive sql to calculate the num of every level of the nodes, and then use R arrange() fun to sort them。 |
@jnuvenus Well, I'm sure others would like to stay within R and this package, but I'm pleased to hear that you've found a working solution for you. |
@panoptikum Hello, I use CreateNodes() in your new hts() function, [[2]] [[3]] [[2]] [[3]] Maybe you can try this fix on other examples. |
Is there any news in terms of this functionality? If I have 3 groups it finds max symbol length of each column and add some symbols in the end of each row so that it has the same length as the longest in the column. Then it concatinates 3 colums, Pivot by the concatinated key to columns and passes to HTS also giving the length of each group (max character length). |
Hello,
sorry for my novice behaviour regarding pull requests and so on.
I'm opening an issue for this as I've announced:
It would be great if nodes could be specified by a separator such as an underscore.
This way the function could handle different length of nodes names.
My current solution looks for hts.R can be found in my fork repo. This time I only use function from base R:
panoptikum@1d1ee22
I've tested with the examples:
and
gave me for
y$nodes
:and respectively:
Best
The text was updated successfully, but these errors were encountered: