Package: forestry 0.1.0
forestry: Reshape Data Tree
'forestry' a series of utility functions to help with reshaping hierarchy of data tree, and reform the structure of data tree.
Authors:
forestry_0.1.0.tar.gz
forestry_0.1.0.zip(r-4.5)forestry_0.1.0.zip(r-4.4)forestry_0.1.0.zip(r-4.3)
forestry_0.1.0.tgz(r-4.4-any)forestry_0.1.0.tgz(r-4.3-any)
forestry_0.1.0.tar.gz(r-4.5-noble)forestry_0.1.0.tar.gz(r-4.4-noble)
forestry_0.1.0.tgz(r-4.4-emscripten)forestry_0.1.0.tgz(r-4.3-emscripten)
forestry.pdf |forestry.html✨
forestry/json (API)
# Install 'forestry' in R: |
install.packages('forestry', repos = c('https://jienagu.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jienagu/forestry/issues
Datasets:
- exercise_df - Anonymized sample exercise data
- test_df - Anonymized sample data
Last updated 4 years agofrom:8af83457c6. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 22 2024 |
R-4.5-win | OK | Nov 22 2024 |
R-4.5-linux | OK | Nov 22 2024 |
R-4.4-win | OK | Nov 22 2024 |
R-4.4-mac | OK | Nov 22 2024 |
R-4.3-win | OK | Nov 22 2024 |
R-4.3-mac | OK | Nov 22 2024 |
Exports:add_childassign_attrchildren_sortcreate_nodescreate_treecumsum_across_levelcumsum_by_levelfill_NA_levelfix_itemsfixnamespre_get_array
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Add children node | add_child |
assign attributes to node; work with fix_items function | assign_attr |
Sort chidren nodes with certain order | children_sort |
create a tree with assigned name, children and fields | create_nodes |
create tree appended with each element of input list as a child | create_tree |
cumulative calculation | cumsum_across_level |
calculate cumsum for input level | cumsum_by_level |
Anonymized sample exercise data | exercise_df |
fill missing value of a field across a level with 0 | fill_NA_level |
assign certain children nodes and fill NA for empty fields | fix_items |
numericalize children numeric name to convert JSON object to JSON array | fixnames |
numericalize children numeric name to convert JSON object to JSON array | pre_get_array |
Anonymized sample data | test_df |