Package: nestedscales 0.2.0.9000
nestedscales: Nested Scales and Multi-Dimensional Indexes for Modeling
Provides multi-level discrete representations of data dimensions for modeling, data processing and visualization. A nested scale records its finest units (atoms) and their membership in coarser levels (frames), including nested, cross-cutting and partially covered relationships. Recasts tabular data between levels using explicit, direction-aware rules for sums, means, standard deviations, copying and within-parent shares. Also supports labeling, subsetting, combining scales into multi-dimensional indexes, clustering units and storing data with its scale metadata. Members may carry attributes (a calorific value, an emission factor) and aliases, resolved along the hierarchy and applied row by row, and a scale is exchanged as a language-neutral definition file: a 'JSON' header with inline, 'Arrow' or 'CSV' tables ('YAML' accepted), with a catalogue of the definitions installed packages ship. Forms the dimension-agnostic core of 'timescales' <https://github.com/optimal2050/timescales> (calendars) and 'geoscales' <https://github.com/optimal2050/geoscales> (regions), designed for optimization and simulation models.
Authors:
nestedscales_0.2.0.9000.tar.gz
nestedscales_0.2.0.9000.zip(r-4.7-any)nestedscales_0.2.0.9000.zip(r-4.6-any)nestedscales_0.2.0.9000.zip(r-4.5-any)
nestedscales_0.2.0.9000.tgz(r-4.6-any)nestedscales_0.2.0.9000.tgz(r-4.5-any)
nestedscales_0.2.0.9000.tar.gz(r-4.7-any)nestedscales_0.2.0.9000.tar.gz(r-4.6-any)
nestedscales_0.2.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
nestedscales/json (API)
| # Install 'nestedscales' in R: |
| install.packages('nestedscales', repos = c('https://optimal2050.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/optimal2050/nestedscales/issues
Pkgdown/docs site:https://optimal2050.github.io
Last updated from:268fa16ca1. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 172 | ||
| source / vignettes | OK | 209 | ||
| linux-release | OK | 143 | ||
| macos-release | OK | 223 | ||
| macos-oldrel | OK | 447 | ||
| windows-devel | OK | 122 | ||
| windows-release | OK | 124 | ||
| windows-oldrel | OK | 119 | ||
| wasm-release | OK | 110 |
Exports:as_scale_arrayas_scale_tableattach_aliases_scaleattach_attributes_scalebackend_bind_rowsbackend_distinctbackend_is_lazybackend_lazybackend_ofbackend_pullbackend_restorebackend_scanbackend_schemaclear_scale_dirsclear_scale_distancesclear_scale_mapsclear_scale_rulescluster_contiguouscluster_medoidscluster_scalecluster_sweepconvert_scalefilter_productfilter_scaleget_scale_distanceget_scale_mapget_scale_map_betweenget_scale_ruleis_valid_framejoin_productjoin_scalelist_scale_classeslist_scale_dirslist_scale_distanceslist_scale_mapslist_scale_rulesopen_scale_datasetproduct_atomsproduct_coverageproduct_framesproduct_keysproduct_sizeproduct_weightsprune_scaleread_scalerecastrecast_crosswalkrecast_from_atomsrecast_productrecast_scalerecast_to_atomsreconcile_scaleregister_scale_classregister_scale_dirregister_scale_distanceregister_scale_mapregister_scale_map_betweenregister_scale_rulescale_alias_propertyscale_aliasesscale_ancestorsscale_ancestryscale_atom_levelscale_atom_pairsSCALE_ATTRIBUTE_KINDSscale_attributesscale_axesscale_catalogscale_childrenscale_classscale_coveragescale_crossesscale_dataset_infoscale_descendantsscale_distanceSCALE_DISTANCESscale_examplescale_example2scale_familyscale_framesscale_from_leaftablescale_isscale_is_productscale_is_uniformscale_keyscale_leaftablescale_mapscale_map_betweenscale_matchscale_nestsscale_parentsscale_payload_collapsescale_payload_slicescale_productscale_product_classscale_rankscale_read_payloadscale_residualsSCALE_RULESscale_sharescale_unitsscale_vocabscale_weightsscale_write_payloadwrite_scalewrite_scale_dataset
Dependencies:clidplyrgenericsgluejsonlitelifecyclemagrittrpillarpkgconfigR6rlangS7tibbletidyselectutf8vctrswithr
Last update: 2026-10-21
Started: 2026-10-21
Last update: 2026-10-21
Started: 2026-10-09
Last update: 2026-10-21
Started: 2026-10-21
