Package: dataprep
Type: Package
Title: Efficient and Flexible Data Preprocessing Tools
Version: 0.1.5
Author: Chun-Sheng Liang <liangchunsheng@lzu.edu.cn>, Hao Wu, Hai-Yan Li, Qiang Zhang, Zhanqing Li, Ke-Bin He, Lanzhou University, Tsinghua University
Maintainer: Chun-Sheng Liang <liangchunsheng@lzu.edu.cn>
Description: Efficiently and flexibly preprocess data using a set of data filtering, deletion, and interpolation tools.
    These data preprocessing methods are developed based on the principles of completeness, accuracy, threshold method, and linear interpolation and through the setting of constraint conditions, time completion & recovery, and fast & efficient calculation and grouping.
    Key preprocessing steps include deletions of variables and observations, outlier removal, and missing values (NA) interpolation, which are dependent on the incomplete and dispersed degrees of raw data.
    They clean data more accurately, keep more samples, and add no outliers after interpolation, compared with ordinary methods.
    Auto-identification of consecutive NA via run-length based grouping is used in observation deletion, outlier removal, and NA interpolation;
    thus, new outliers are not generated in interpolation. Conditional extremum is proposed to realize point-by-point weighed outlier removal that saves non-outliers from being removed.
    Plus, time series interpolation with values to refer to within short periods further ensures reliable interpolation.
    These methods are based on and improved from the reference: Liang, C.-S., Wu, H., Li, H.-Y., Zhang, Q., Li, Z. & He, K.-B. (2020) <doi:10.1016/j.scitotenv.2020.140923>.
Depends: R (>= 3.5.0)
Imports: ggplot2, scales, foreach, doParallel, dplyr, reshape2,
        data.table, zoo
License: GPL (>= 2)
Suggests: knitr, rmarkdown
VignetteBuilder: knitr, rmarkdown
Encoding: UTF-8
RoxygenNote: 7.1.1
NeedsCompilation: no
Packaged: 2022-01-15 11:42:46 UTC; 92576
Repository: CRAN
Date/Publication: 2022-01-15 13:32:42 UTC
Built: R 4.4.3; ; 2026-02-02 04:13:36 UTC; windows
