Package: arkhe 1.6.0

Nicolas Frerebeau

arkhe: Tools for Cleaning Rectangular Data

A dependency-free collection of simple functions for cleaning rectangular data. This package allows to detect, count and replace values or discard rows/columns using a predicate function. In addition, it provides tools to check conditions and return informative error messages.

Authors:Nicolas Frerebeau [aut, cre], Brice Lebrun [ctb], Université Bordeaux Montaigne [fnd], CNRS [fnd]

arkhe_1.6.0.tar.gz
arkhe_1.6.0.zip(r-4.5)arkhe_1.6.0.zip(r-4.4)arkhe_1.6.0.zip(r-4.3)
arkhe_1.6.0.tgz(r-4.4-any)arkhe_1.6.0.tgz(r-4.3-any)
arkhe_1.6.0.tar.gz(r-4.5-noble)arkhe_1.6.0.tar.gz(r-4.4-noble)
arkhe_1.6.0.tgz(r-4.4-emscripten)arkhe_1.6.0.tgz(r-4.3-emscripten)
arkhe.pdf |arkhe.html
arkhe/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/tesselle/arkhe/issues

On CRAN:

data-cleaningstatistics

121 exports 10 stars 2.99 score 0 dependencies 10 dependents 588 downloads

Last updated 5 months agofrom:fcb080b9d9 (on v1.6.0)

Exports:%+%%||%append_rownamesassert_colnamesassert_constantassert_countassert_decreasingassert_dimensionsassert_dimnamesassert_emptyassert_evenassert_filledassert_functionassert_greaterassert_increasingassert_infiniteassert_lengthassert_lengthsassert_lowerassert_missingassert_namesassert_negativeassert_oddassert_packageassert_positiveassert_rownamesassert_scalarassert_squareassert_symmetricassert_typeassert_uniqueassert_wholeassign_colnamesassign_rownamesbootstrapcheck_classcircleclean_whitespacecompactcompact_colscompact_rowsconfidence_binomialconfidence_meanconfidence_multinomialcountdescribedetectdiscarddiscard_colsdiscard_rowsget_columnsget_rowshas_duplicateshas_infinitehas_lengthhas_missinghas_namesinch2lineinterval_credibleinterval_hdris_atomicis_characteris_constantis_decreasingis_doubleis_emptyis_erroris_evenis_greateris_increasingis_integeris_listis_logicalis_loweris_messageis_negativeis_numericis_oddis_positiveis_scalar_atomicis_scalar_characteris_scalar_doubleis_scalar_integeris_scalar_listis_scalar_logicalis_scalar_numericis_scalar_vectoris_squareis_symmetricis_uniqueis_vectoris_warningis_wholeis_zerojackknifekeepkeep_colskeep_rowslabel_autolabel_percentmath_gcdmath_lcmneedspalette_color_continuouspalette_color_discretepalette_shapepalette_sizeremove_constantremove_emptyremove_Infremove_NAremove_zeroreplace_emptyreplace_Infreplace_NAreplace_zeroscale_rangeseek_columnsseek_rowssparsityvalidate

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Convert Row Names to an Explicit Columnappend append_rownames append_rownames,data.frame-method append_rownames-method
Check Numeric Trendassert_constant assert_decreasing assert_increasing
Check Dataassert_data assert_infinite assert_missing assert_unique
Check Object Length/Dimensionsassert_dimensions assert_empty assert_filled assert_length assert_lengths
Check Numeric Relationsassert_greater assert_lower
Check Object Namesassert_colnames assert_dimnames assert_names assert_rownames
Check Numeric Valuesassert_count assert_even assert_negative assert_numeric assert_odd assert_positive assert_whole
Check the Availability of a Packageassert_package needs
Check Matrixassert_square assert_symmetric
Check Data Typesassert_function assert_scalar assert_type
Assign a Specific Row/Column to the Column/Row Namesassign assign_colnames assign_colnames,data.frame-method assign_colnames-method assign_rownames assign_rownames,data.frame-method assign_rownames-method
Bootstrap Estimationbootstrap bootstrap,numeric-method bootstrap-method
Remove Leading/Trailing Whitespaceclean_whitespace clean_whitespace,data.frame-method clean_whitespace,matrix-method clean_whitespace-method
Remove Empty Rows/Columnscompact compact,ANY-method compact-method compact_cols compact_cols,ANY-method compact_cols-method compact_rows compact_rows,ANY-method compact_rows-method
Concatenate%+% concat
Confidence Interval for Binomial Proportionsconfidence_binomial confidence_binomial,numeric-method confidence_binomial-method
Confidence Interval for a Meanconfidence_mean confidence_mean,numeric-method confidence_mean-method
Confidence Interval for Multinomial Proportionsconfidence_multinomial confidence_multinomial,numeric-method confidence_multinomial-method
Count Values Using a Predicatecount count,data.frame-method count,matrix-method count-method
Data Descriptiondescribe describe,ANY-method describe-method
Find Rows/Columns Using a Predicatedetect detect,ANY-method detect-method
Remove Rows/Columns Using a Predicatediscard discard,ANY-method discard-method discard_cols discard_cols,ANY-method discard_cols-method discard_rows discard_rows,ANY-method discard_rows-method
Get Rows/Columns by Nameget get_columns get_columns,data.frame-method get_columns-method get_rows get_rows,data.frame-method get_rows-method
Bayesian Credible Intervalinterval_credible interval_credible,numeric-method interval_credible-method
Highest Density Regionsinterval_hdr interval_hdr,numeric,missing-method interval_hdr,numeric,numeric-method interval_hdr-method
Scalar Type Predicatesis_scalar is_scalar_atomic is_scalar_character is_scalar_double is_scalar_integer is_scalar_list is_scalar_logical is_scalar_numeric is_scalar_vector
Jackknife Estimationjackknife jackknife,numeric-method jackknife-method
Keep Rows/Columns Using a Predicatekeep keep,ANY-method keep-method keep_cols keep_cols,ANY-method keep_cols-method keep_rows keep_rows,ANY-method keep_rows-method
Greatest Common Divisormath_gcd math_gcd,numeric,numeric-method math_gcd-method
Least Common Multiplemath_lcm math_lcm,numeric,numeric-method math_lcm-method
Default value for NULL%||% null
Color Mappingpalette_color palette_color_continuous palette_color_discrete
Symbol Mappingpalette_shape
Symbol Size Mappingpalette_size
Matrix Predicatesis_square is_symmetric predicate-matrix
Numeric Predicatesis_even is_negative is_odd is_positive is_whole is_zero predicate-numeric
Numeric Trend Predicatesis_constant is_decreasing is_greater is_increasing is_lower predicate-trend
Type Predicatesis_atomic is_character is_double is_error is_integer is_list is_logical is_message is_numeric is_vector is_warning predicate-type
Utility Predicateshas_duplicates has_infinite has_length has_missing has_names is_empty is_unique predicate-utils
Remove Constant Columnsremove_constant remove_constant,ANY-method remove_constant-method
Remove Rows/Columns with Empty Stringremove_empty remove_empty,ANY-method remove_empty-method
Remove Rows/Columns with Infinite Valuesremove_Inf remove_Inf,ANY-method remove_Inf-method
Remove Rows/Columns with Missing Valuesmissing remove_NA remove_NA,ANY-method remove_NA-method
Remove Rows/Columns with Zerosremove_zero remove_zero,ANY-method remove_zero-method zero
Replace Empty Stringreplace_empty replace_empty,data.frame-method replace_empty,matrix-method replace_empty-method
Replace Infinite Valuesreplace_Inf replace_Inf,data.frame-method replace_Inf,matrix-method replace_Inf-method
Replace Missing Valuesreplace_NA replace_NA,data.frame-method replace_NA,matrix-method replace_NA-method
Replace Zerosreplace_zero replace_zero,data.frame-method replace_zero,matrix-method replace_zero-method
Rescale Continuous Vectorscale_range
Search Rows/Columns by Nameseek seek_columns seek_columns,data.frame-method seek_columns-method seek_rows seek_rows,data.frame-method seek_rows-method
Sparsitysparsity sparsity,data.frame-method sparsity,matrix-method sparsity-method
Validate a Conditionvalidate