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.7)forestry_0.1.0.zip(r-4.6)forestry_0.1.0.zip(r-4.5)
forestry_0.1.0.tgz(r-4.6-any)forestry_0.1.0.tgz(r-4.5-any)
forestry_0.1.0.tar.gz(r-4.7-any)forestry_0.1.0.tar.gz(r-4.6-any)
forestry_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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 from:8af83457c6. Checks:7 WARNING, 1 ERROR, 1 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | WARNING | 119 | ||
| source / vignettes | ERROR | 202 | ||
| linux-release-x86_64 | WARNING | 111 | ||
| macos-release-arm64 | WARNING | 91 | ||
| macos-oldrel-arm64 | WARNING | 106 | ||
| windows-devel | WARNING | 70 | ||
| windows-release | WARNING | 80 | ||
| windows-oldrel | WARNING | 69 | ||
| wasm-release | OK | 103 |
Exports:add_childassign_attrchildren_sortcreate_nodescreate_treecumsum_across_levelcumsum_by_levelfill_NA_levelfix_itemsfixnamespre_get_array
Vignettes and/or manual for this package failed to build, some documents may be unavailable. Please inspect thebuild logs for more information.
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 |
