Package: arkhe 1.9.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.9.0.tar.gz
arkhe_1.9.0.tar.gz(r-4.5-noble)arkhe_1.9.0.tar.gz(r-4.4-noble)
arkhe_1.9.0.tgz(r-4.4-emscripten)arkhe_1.9.0.tgz(r-4.3-emscripten)
arkhe.pdf |arkhe.html
arkhe/json (API)
NEWS

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

Peer review:

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

Pkgdown site:https://packages.tesselle.org

3.99 score 10 packages 3 scripts 1.3k downloads 123 exports 0 dependencies

Last updated 17 days agofrom:44d52c1941. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 10 2024
R-4.5-linuxOKDec 10 2024

Exports:%+%%||%append_columnappend_rownamesassert_colnamesassert_constantassert_countassert_decreasingassert_dimassert_dimensionsassert_emptyassert_evenassert_filledassert_functionassert_greaterassert_increasingassert_infiniteassert_lengthassert_lengthsassert_lowerassert_missingassert_namesassert_ncolassert_negativeassert_nrowassert_oddassert_packageassert_positiveassert_rownamesassert_scalarassert_squareassert_symmetricassert_typeassert_uniqueassert_wholeassign_colnamesassign_rownamesbootstrapcheck_classclean_whitespacecompactcompact_colscompact_columnscompact_rowsconfidence_binomialconfidence_meanconfidence_multinomialcountdescribedetectdiscarddiscard_colsdiscard_columnsdiscard_rowsget_columnsget_rowshas_colnameshas_duplicateshas_infinitehas_lengthhas_missinghas_nameshas_rownamesinterval_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_columnskeep_rowslabel_percentmath_gcdmath_lcmneedsremove_constantremove_emptyremove_Infremove_NAremove_zeroreplace_emptyreplace_Infreplace_NAreplace_zeroscale_midpointscale_rangeseek_columnsseek_rowssparsityvalidate

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Add a (Named) Vector as a Columnappend_column append_column,data.frame-method append_column-method
Convert Row Names to an Explicit Columnappend_rownames append_rownames,data.frame-method append_rownames-method
Check Numeric Trendassert_constant assert_decreasing assert_increasing
Check Object Dimensionsassert_dim assert_ncol assert_nrow
Check Object Fillingassert_empty assert_filled
Check Infinite Valuesassert_infinite
Check Object Length(s)assert_length assert_lengths
Check Numeric Relationsassert_greater assert_lower
Check Missing Valuesassert_missing
Check Object Namesassert_colnames 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
Check Duplicatesassert_unique
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_columns compact_columns,ANY-method compact_columns-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_columns discard_columns,ANY-method discard_columns-method discard_rows discard_rows,ANY-method discard_rows-method
Get Rows/Columns by Nameget get_columns get_columns,ANY-method get_columns-method get_rows get_rows,ANY-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_columns keep_columns,ANY-method keep_columns-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
Attributes Predicateshas_length is_empty predicate-attributes
Utility Predicateshas_duplicates has_infinite has_missing is_unique predicate-data
Matrix Predicatesis_square is_symmetric predicate-matrix
Names Predicateshas_colnames has_names has_rownames predicate-names
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
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 Vector (minimum, midpoint, maximum)scale_midpoint
Rescale Continuous Vector (minimum, maximum)scale_range
Search Rows/Columns by Nameseek seek_columns seek_columns,data.frame-method seek_columns,matrix-method seek_columns-method seek_rows seek_rows,data.frame-method seek_rows,matrix-method seek_rows-method
Sparsitysparsity sparsity,data.frame-method sparsity,matrix-method sparsity-method
Validate a Conditionvalidate