Package: DCC
Type: Package
Title: Data Cleaning Center for Survey and Assessment Data
Version: 1.2.1
Authors@R: c(
    person("Kunxiang", "Ma", role = c("aut", "cre"),
           email = "makunxiang@weiandata.com"),
    person("WEIAN DATA TECH (Beijing) Co., Ltd.",
           role = c("cph", "fnd"), email = "contact@weiandata.com"))
Description: Rule-driven, auditable cleaning of survey and assessment
    response data, implementing the WeianData Detect-Execute-Report
    workflow. Provides a multi-format, multi-encoding input layer
    (CSV, 'Excel', 'SPSS', 'Stata', 'SAS', Parquet, JSON), the
    dcc_data container with a provenance chain, level-0 structural
    diagnostics, five built-in response-quality detectors (missing
    items, straight-lining, response time, trap items, score
    anomalies), a declarative YAML rule engine, an execution engine
    with a cell-level audit log, answer-key scoring, multi-form to
    master item bank mapping, a normalized report model rendered as bilingual
    staff workbooks and HTML, complete statistical bundles, and versioned
    machine JSON/JSONL with findings-to-changes reconciliation,
    cell-level lineage tracing, and
    manifest-based one-command reproduction. Includes a protected bilingual
    strict project workbook and matching JSON contract with cell-addressed
    validation, non-mutating preflight, preview-first execution, and localized
    staff guidance. All formally supported input backends install with the
    package; PDF is optional rather than a fixed report output.
License: GPL (>= 2)
Copyright: See file inst/COPYRIGHTS.
Encoding: UTF-8
Language: en
Depends: R (>= 4.1)
Imports: arrow, data.table (>= 1.14.0), haven (>= 2.5.5), jsonlite,
        openxlsx2 (>= 1.28), readODS (>= 2.3.5), readxl (>= 1.5.0),
        stringi (>= 1.7.0), methods, stats, tools, utils, writexl, yaml
Suggests: knitr, rmarkdown, testthat (>= 3.0.0), withr
Config/testthat/edition: 3
VignetteBuilder: knitr
URL: https://github.com/weiandata/DCC
BugReports: https://github.com/weiandata/DCC/issues
RoxygenNote: 7.3.2
Config/DCC/Installation: complete format backends in Imports; PDF
        optional
NeedsCompilation: no
Packaged: 2026-09-02 11:30:25 UTC; makunxiang
Author: Kunxiang Ma [aut, cre],
  WEIAN DATA TECH (Beijing) Co., Ltd. [cph, fnd]
Maintainer: Kunxiang Ma <makunxiang@weiandata.com>
Repository: CRAN
Date/Publication: 2026-09-25 22:40:07 UTC
