Package: nestedscales
Title: Nested Scales and Multi-Dimensional Indexes for Modeling
Version: 0.2.0
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'
    <https://github.com/optimal2050/timescales> (calendars) and 'geoscales'
    <https://github.com/optimal2050/geoscales> (regions), designed for
    optimization and simulation models.
License: Apache License (>= 2)
Encoding: UTF-8
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'
NeedsCompilation: no
Packaged: 2026-10-22 01:32:14 UTC; admin
Author: Oleg Lugovoy [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-5546-9875>)
Maintainer: Oleg Lugovoy <olugovoy@optimalsolution.dev>
Repository: CRAN
Date/Publication: 2026-11-03 16:00:16 UTC
Built: R 4.5.3; ; 2026-11-04 00:08:17 UTC; windows
