{
  "_id": "6af75819b90b31e79afd8793",
  "Package": "SSPICE",
  "Type": "Package",
  "Title": "Systematic Skip-Pattern Integrity and Consistency Engine",
  "Version": "0.1.0",
  "Authors@R": "person( given = \"Pierpaolo\", family = \"Massoli\", role = c(\"aut\", \"cre\"),\nemail = \"pimassol@istat.it\" )",
  "Description": "Provides a graph-based framework for representing,\nanalyzing, and validating structured statistical data governed\nby explicit logical dependencies, including questionnaire\nrouting and other rule-based data structures. It supports the\nconstruction and structural analysis of directed acyclic\ngraphs, preparation of record-level data, detection and\nlocalization of logical and skip-pattern inconsistencies, and\ngeneration of variable domains and formal compatibility rules.\nIt also provides tools for evaluating empirical closure and\nminimality properties of the resulting Horn theory and for\nsupporting the correction of inconsistent statistical records.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Author": "Pierpaolo Massoli [aut, cre]",
  "Maintainer": "Pierpaolo Massoli <pimassol@istat.it>",
  "Packaged": {
    "Date": "2026-11-13 18:29:25 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-13 17:53:49 UTC",
  "RemoteUrl": "https://github.com/cran/SSPICE",
  "RemoteRef": "HEAD",
  "RemoteSha": "7e6cab926ec5a39553402e2c695e80056ded4b9d",
  "_user": "cran",
  "_type": "src",
  "_file": "SSPICE_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/1ff37601495c757786da50953fc8b61dc315c848c5008459f9c8db1a43bb4a84",
  "_filesize": 1669575,
  "_sha256": "1ff37601495c757786da50953fc8b61dc315c848c5008459f9c8db1a43bb4a84",
  "_expires": "2027-02-21T18:33:59.000Z",
  "_created": "2026-11-13T18:29:25.000Z",
  "_published": "2026-11-13T18:34:01.033Z",
  "_upstream": "https://github.com/cran/SSPICE",
  "_status": "success",
  "_maintainer": {
    "name": "Pierpaolo Massoli",
    "email": "pimassol@istat.it",
    "login": "pimassol",
    "description": "Senior Researcher | Data Science & Official Statistics",
    "uuid": 206063077
  },
  "_jobs": [
    {
      "job": 132084688173,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14065149684"
    },
    {
      "job": 132084688229,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14066082057"
    },
    {
      "job": 132082864912,
      "time": 196,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14065324159"
    },
    {
      "job": 132084688169,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14066416523"
    },
    {
      "job": 132084688138,
      "time": 195,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14067260206"
    },
    {
      "job": 132084688287,
      "time": 233,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14067220242"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/43482607339",
  "_commit": {
    "id": "7e6cab926ec5a39553402e2c695e80056ded4b9d",
    "author": "Pierpaolo Massoli <pimassol@istat.it>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1794592429
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "gmp",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pdftools",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "withr",
      "version": ">= 2.5.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-46",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-11-13"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pimassol",
      "count": 1,
      "uuid": 206063077
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 637,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SSPICE"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SSPICE.html"
  ],
  "_cranurl": false,
  "_exports": [
    "build_DAG",
    "cached_routing_check",
    "calculate_hits",
    "correct_data",
    "correction_control",
    "correction_quality_report",
    "count_admissible_patterns",
    "find_isolated_nodes",
    "find_longest_path",
    "prepare_data",
    "routing_check",
    "validate_extended_elog",
    "validate_horn_theory"
  ],
  "_help": [
    {
      "page": "build_DAG",
      "title": "Build and analyze a directed acyclic graph",
      "topics": [
        "build_DAG"
      ]
    },
    {
      "page": "cached_routing_check",
      "title": "Inspect or build a cached routing-check artifact",
      "topics": [
        "cached_routing_check"
      ]
    },
    {
      "page": "calculate_hits",
      "title": "Calculate HITS scores",
      "topics": [
        "calculate_hits"
      ]
    },
    {
      "page": "correct_data",
      "title": "Correct questionnaire records using MCMC simulated annealing",
      "topics": [
        "correct_data"
      ]
    },
    {
      "page": "correction_control",
      "title": "Configure SSPICE data correction",
      "topics": [
        "correction_control"
      ]
    },
    {
      "page": "correction_quality_report",
      "title": "Build a quality report for an SSPICE correction run",
      "topics": [
        "correction_quality_report"
      ]
    },
    {
      "page": "count_admissible_patterns",
      "title": "Count the admissible data patterns induced by a routing DAG",
      "topics": [
        "count_admissible_patterns"
      ]
    },
    {
      "page": "find_isolated_nodes",
      "title": "Find isolated graph nodes",
      "topics": [
        "find_isolated_nodes"
      ]
    },
    {
      "page": "find_longest_path",
      "title": "Find a longest path in a DAG",
      "topics": [
        "find_longest_path"
      ]
    },
    {
      "page": "prepare_data",
      "title": "Prepare record-level data for SSPICE validation",
      "topics": [
        "prepare_data"
      ]
    },
    {
      "page": "print.sspice_dag",
      "title": "Print an SSPICE DAG",
      "topics": [
        "print.sspice_dag"
      ]
    },
    {
      "page": "print.sspice_prepared_data",
      "title": "Print prepared SSPICE data",
      "topics": [
        "print.sspice_prepared_data"
      ]
    },
    {
      "page": "routing_check",
      "title": "Check record conformity with an SSPICE routing structure",
      "topics": [
        "routing_check"
      ]
    },
    {
      "page": "validate_extended_elog",
      "title": "Validate an extended canonical representation with ELOG variables",
      "topics": [
        "validate_extended_elog"
      ]
    },
    {
      "page": "validate_horn_theory",
      "title": "Validate the Horn theory induced by a routing DAG",
      "topics": [
        "validate_horn_theory"
      ]
    }
  ],
  "_readme": "https://github.com/cran/SSPICE/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "bit",
    "bit64",
    "cli",
    "clipr",
    "codetools",
    "cpp11",
    "crayon",
    "curl",
    "doParallel",
    "dplyr",
    "foreach",
    "generics",
    "glue",
    "gmp",
    "hms",
    "iterators",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "pdftools",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "qpdf",
    "R6",
    "Rcpp",
    "readr",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "panoramica-01.Rmd",
      "filename": "panoramica-01.html",
      "title": "01 — SSPICE overview and workflow",
      "author": "Pierpaolo Massoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why SSPICE",
        "Operational workflow",
        "Reading order",
        "Standalone first run"
      ],
      "created": "2026-11-13 17:53:49",
      "modified": "2026-11-13 17:53:49",
      "commits": 1
    },
    {
      "source": "metadati-02.Rmd",
      "filename": "metadati-02.html",
      "title": "02 — Metadata and external sources",
      "author": "Pierpaolo Massoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Input files",
        "Exogenous auxiliary variables and the observation unit",
        "Defining auxiliary-variable categories",
        "Purely arithmetic rules",
        "Mixed rules",
        "Application example: project auxiliary variables",
        "Dedicated routing guide",
        "Consistency of external sources",
        "Defining semantic edits: logical_edit_rules.csv",
        "Item mapping and semantic predicates"
      ],
      "created": "2026-11-13 17:53:49",
      "modified": "2026-11-13 17:53:49",
      "commits": 1
    },
    {
      "source": "routing-02b.Rmd",
      "filename": "routing-02b.html",
      "title": "02b — Building the routing file",
      "author": "Pierpaolo Massoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Scope and reference",
        "Physical format and row order",
        "Field dictionary",
        "Variable types",
        "Qualitative variables and nonconsecutive codes",
        "Quantitative variables",
        "Strings, leading zeros and identifiers",
        "Continuation, conditional jumps and unconditional jumps",
        "No jump: V6 = 0",
        "Conditional jump",
        "UNCONDITIONAL (absolute) jump: V6 = 98",
        "Historical V6 = -1 convention",
        "Logical groups",
        "OR: at least one selected member",
        "XOR: exactly one of two alternatives",
        "Standalone construction examples",
        "Checks before using routing metadata",
        "From questionnaire instructions to routing metadata",
        "Conditional and unconditional jumps",
        "A multiple-response question represented by an OR group",
        "OR groups and single-choice questions"
      ],
      "created": "2026-11-13 17:53:49",
      "modified": "2026-11-13 17:53:49",
      "commits": 1
    },
    {
      "source": "item-mapping-02c.Rmd",
      "filename": "item-mapping-02c.html",
      "title": "02c — Item mapping: observed codes and routing codes",
      "author": "Pierpaolo Massoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Purpose and place in the workflow",
        "Three representations of the same category",
        "Which codes to use where",
        "A jump, six records, and a correction",
        "VAUX and LEDIT retain the meaning of the original values",
        "The bundled FASE variable",
        "Supplying the file consistently",
        "Validation and common mistakes"
      ],
      "created": "2026-11-13 17:53:49",
      "modified": "2026-11-13 17:53:49",
      "commits": 1
    },
    {
      "source": "dag-03.Rmd",
      "filename": "dag-03.html",
      "title": "03 — Building and analysing the DAG",
      "author": "Pierpaolo Massoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "From routing metadata to a graph",
        "What to inspect",
        "Checking the meaning of the graph"
      ],
      "created": "2026-11-13 17:53:49",
      "modified": "2026-11-13 17:53:49",
      "commits": 1
    },
    {
      "source": "controlli-04.Rmd",
      "filename": "controlli-04.html",
      "title": "04 — Data preparation, routing checks and localization",
      "author": "Pierpaolo Massoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preparing and checking data",
        "Validating localization",
        "Representation of prepared data",
        "Reading the check object"
      ],
      "created": "2026-11-13 17:53:49",
      "modified": "2026-11-13 17:53:49",
      "commits": 1
    },
    {
      "source": "regole-05.Rmd",
      "filename": "regole-05.html",
      "title": "05 — Domains, rules and Horn theory",
      "author": "Pierpaolo Massoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Formal representation",
        "Validating the theory",
        "Domains and representation limits",
        "Mapping at export"
      ],
      "created": "2026-11-13 17:53:49",
      "modified": "2026-11-13 17:53:49",
      "commits": 1
    },
    {
      "source": "correzione-06.Rmd",
      "filename": "correzione-06.html",
      "title": "06 — Record correction",
      "author": "Pierpaolo Massoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Extended DAG and initial partition",
        "Configuring a pilot",
        "Correction with mapped categories",
        "Outputs and diagnosis",
        "Full runs, batches and workers",
        "Territorial stratum codes",
        "Preparation before the first batch",
        "Controls and returned objects"
      ],
      "created": "2026-11-13 17:53:49",
      "modified": "2026-11-13 17:53:49",
      "commits": 1
    },
    {
      "source": "qualita-correzione-07.Rmd",
      "filename": "qualita-correzione-07.html",
      "title": "07 — Correction reports and quality assessment",
      "author": "Pierpaolo Massoli",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why assess the result?",
        "Reading the report",
        "Selecting the result to assess",
        "Interpreting the counts",
        "Denominator and post-hoc uncertainty"
      ],
      "created": "2026-11-13 17:53:49",
      "modified": "2026-11-13 17:53:49",
      "commits": 1
    }
  ],
  "_score": 3.6532125137753435,
  "_indexed": true,
  "_nocasepkg": "sspice",
  "_universes": [
    "cran",
    "pimassol"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-13T18:31:40.000Z",
      "distro": "resolute",
      "commit": "7e6cab926ec5a39553402e2c695e80056ded4b9d",
      "fileid": "https://r2.ropensci.org/ba326bea8e751d845e66dc7f9e8b9906c744cdb63d439a7240656ef055d75028",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43482607339"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-13T18:31:27.000Z",
      "distro": "resolute",
      "commit": "7e6cab926ec5a39553402e2c695e80056ded4b9d",
      "fileid": "https://r2.ropensci.org/081178f763e75d18b76e3a7184886b1aab34c4e0ebc9cfccebff281fb778bf3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43482607339"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-11-13T18:31:39.000Z",
      "commit": "7e6cab926ec5a39553402e2c695e80056ded4b9d",
      "fileid": "https://r2.ropensci.org/44828a8d2c69d92b6d83c0e6209206de9234d3ae4bb08eb7ffa65b82e99daf7a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43482607339"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-13T18:31:38.000Z",
      "commit": "7e6cab926ec5a39553402e2c695e80056ded4b9d",
      "fileid": "https://r2.ropensci.org/1544d974ffaa72d382caa116b4daf63bbaf7eb9bd5e7db1bf16a1498c69d5742",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43482607339"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-13T18:32:07.000Z",
      "commit": "7e6cab926ec5a39553402e2c695e80056ded4b9d",
      "fileid": "https://r2.ropensci.org/8607a9bfab5d9ee69b0072fee0a82dd3c97af4b3590df90517520e4a595291ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43482607339"
    }
  ]
}