Package: cleaner 1.5.5

cleaner: Fast and Easy Data Cleaning

Data cleaning functions for classes logical, factor, numeric, character, currency and Date to make data cleaning fast and easy. Relying on very few dependencies, it provides smart guessing, but with user options to override anything if needed.

Authors:Matthijs S. Berends [aut, cre]

cleaner_1.5.5.tar.gz
cleaner_1.5.5.zip(r-4.5)cleaner_1.5.5.zip(r-4.4)cleaner_1.5.5.zip(r-4.3)
cleaner_1.5.5.tgz(r-4.4-any)cleaner_1.5.5.tgz(r-4.3-any)
cleaner_1.5.5.tar.gz(r-4.5-noble)cleaner_1.5.5.tar.gz(r-4.4-noble)
cleaner_1.5.5.tgz(r-4.4-emscripten)cleaner_1.5.5.tgz(r-4.3-emscripten)
cleaner.pdf |cleaner.html
cleaner/json (API)
NEWS

# Install 'cleaner' in R:
install.packages('cleaner', repos = c('https://msberends.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/msberends/cleaner/issues

Datasets:
  • unclean - Example data that is not clean

On CRAN:

6.81 score 31 stars 9 packages 63 scripts 1.2k downloads 1 mentions 28 exports 15 dependencies

Last updated 3 days agofrom:7dcfb33a37. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winOKNov 19 2024
R-4.5-linuxOKNov 19 2024
R-4.4-winOKNov 19 2024
R-4.4-macOKNov 19 2024
R-4.3-winOKNov 19 2024
R-4.3-macOKNov 19 2024

Exports:as.currencyas.percentagecleanclean_characterclean_currencyclean_Dateclean_doubleclean_factorclean_integerclean_logicalclean_numericclean_percentageclean_POSIXctformat_datetimeformat_namesformat_p_valuefreqfreq.defaultheaderis.currencyis.freqis.percentagena_replacepercentagerdateregex_falseregex_truetop_freq

Dependencies:backportsclicrayonevaluatefansigluehighrknitrlifecyclepillarrlangutf8vctrsxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Clean column data to a classclean clean.data.frame clean_character clean_currency clean_Date clean_double clean_factor clean_integer clean_logical clean_numeric clean_percentage clean_POSIXct
Transform to currencyas.currency currency format.currency is.currency print.currency
Readable date format to POSIXformat_datetime
Format names and valuesformat_names
Format p values (APA guideline)format_p_value
Frequency tablefreq freq.Date freq.default freq.factor freq.hms freq.matrix freq.numeric freq.table header is.freq print.freq top_freq
Replace NA valuesna_replace na_replace.data.frame na_replace.Date na_replace.default na_replace.list na_replace.logical na_replace.matrix na_replace.numeric
Transform to percentageas.percentage format.percentage is.percentage percentage print.percentage
Generate random datesrdate
Regular expressions for 'TRUE' and 'FALSE'regex_false regex_true regex_true_false
Example data that is not cleanunclean