Data Cleaning Center for Survey and Assessment Data

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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("DCC")

1.2.1 by Kunxiang Ma, 21 days ago


https://github.com/weiandata/DCC


Report a bug at https://github.com/weiandata/DCC/issues


Browse source code at https://github.com/cran/DCC


Authors: Kunxiang Ma [aut, cre] , WEIAN DATA TECH (Beijing) Co. , Ltd. [cph, fnd]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports arrow, data.table, haven, jsonlite, openxlsx2, readODS, readxl, stringi, methods, stats, tools, utils, writexl, yaml

Suggests knitr, rmarkdown, testthat, withr


See at CRAN