Package: nestedscales Title: Nested Scales and Multi-Dimensional Indexes for Modeling Version: 0.2.0.9000 URL: https://optimal2050.github.io/nestedscales/r/, https://github.com/optimal2050/nestedscales BugReports: https://github.com/optimal2050/nestedscales/issues Authors@R: person(given = "Oleg", family = "Lugovoy", role = c("aut", "cre"), email = "olugovoy@optimalsolution.dev", comment = c(ORCID = "0000-0001-5546-9875")) Description: 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' (calendars) and 'geoscales' (regions), designed for optimization and simulation models. License: Apache License (>= 2) Encoding: UTF-8 Roxygen: list(markdown = TRUE) Depends: R (>= 4.2) Imports: dplyr, jsonlite, rlang, S7, stats, utils Suggests: arrow, cluster, data.table, dtplyr, ggplot2, knitr, pkgdown, rmarkdown, testthat (>= 3.0.0), tibble, withr, yaml Config/testthat/edition: 3 Config/Needs/website: pkgdown, rmarkdown, ggplot2, optimal2050/timescales, optimal2050/geoscales, optimal2050/energypal VignetteBuilder: knitr Config/roxygen2/version: 8.1.1 Collate: 'scale-class.R' 'aliases.R' 'product-class.R' 'array.R' 'attributes.R' 'backend.R' 'definition.R' 'catalog.R' 'cluster.R' 'contiguity.R' 'convert.R' 'dataset.R' 'distance.R' 'navigate.R' 'filter.R' 'frames.R' 'join.R' 'map.R' 'nestedscales-package.R' 'recast.R' 'product-recast.R' 'reconcile.R' 'rules.R' 'scale-construct.R' 'shipped-scales.R' 'sweep.R' 'utils.R' 'zzz.R' Repository: https://optimal2050.r-universe.dev Date/Publication: 2026-11-03 18:08:58 UTC RemoteUrl: https://github.com/optimal2050/nestedscales RemoteRef: HEAD RemoteSha: 268fa16ca105a4b5e234f14c3dfa349139b29dd1 NeedsCompilation: no Packaged: 2026-11-05 01:23:24 UTC; root Author: Oleg Lugovoy [aut, cre] (ORCID: ) Maintainer: Oleg Lugovoy