Package: hablar 0.3.2

hablar: Non-Astonishing Results in R

Simple tools for converting columns to new data types. Intuitive functions for columns with missing values.

Authors:David Sjoberg

hablar_0.3.2.tar.gz
hablar_0.3.2.zip(r-4.5)hablar_0.3.2.zip(r-4.4)hablar_0.3.2.zip(r-4.3)
hablar_0.3.2.tgz(r-4.4-any)hablar_0.3.2.tgz(r-4.3-any)
hablar_0.3.2.tar.gz(r-4.5-noble)hablar_0.3.2.tar.gz(r-4.4-noble)
hablar_0.3.2.tgz(r-4.4-emscripten)hablar_0.3.2.tgz(r-4.3-emscripten)
hablar.pdf |hablar.html
hablar/json (API)

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

Peer review:

Bug tracker:https://github.com/davidsjoberg/hablar/issues

On CRAN:

72 exports 58 stars 3.42 score 20 dependencies 1 dependents 402 scripts 1.5k downloads

Last updated 2 years agofrom:6698fd2973. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 28 2024
R-4.5-winOKAug 28 2024
R-4.5-linuxOKAug 28 2024
R-4.4-winOKAug 28 2024
R-4.4-macOKAug 28 2024
R-4.3-winOKAug 28 2024
R-4.3-macOKAug 28 2024

Exports:%minus_%%plus_%as_reliable_dteas_reliable_dtmas_reliable_intas_reliable_lglas_reliable_numcheck_complete_setcheck_duplicatescheck_infcheck_irrationalcheck_nacheck_nanchrconvertcould_chr_be_dtecould_chr_be_dtmcould_chr_be_intcould_chr_be_numcould_num_be_intcum_uniquecum_unique_cummean_cumsum_dbldtedtmdummydummy_fctfind_duplicatesfind_inffind_irrationalfind_nafind_nanfirst_first_non_nagivengiven_if_else_if_infif_naif_nanif_not_naif_zeroinf_ifintlast_lglmax_mean_median_min_n_uniquen_unique_na_ifnan_ifnumrationalizerepeat_dfretypessd_set_wd_to_script_pathsqueezesqueeze_sum_this_daythis_monththis_yearvar_zero_if

Dependencies:clicpp11dplyrfansigenericsgluelifecyclelubridatemagrittrpillarpkgconfigpurrrR6rlangtibbletidyselecttimechangeutf8vctrswithr

convert

Rendered fromconvert.Rmdusingknitr::rmarkdownon Aug 28 2024.

Last update: 2022-10-31
Started: 2018-10-14

hablar

Rendered fromhablar.Rmdusingknitr::rmarkdownon Aug 28 2024.

Last update: 2022-10-31
Started: 2019-06-09

retype

Rendered fromretype.Rmdusingknitr::rmarkdownon Aug 28 2024.

Last update: 2022-11-05
Started: 2018-10-14

s

Rendered froms.Rmdusingknitr::rmarkdownon Aug 28 2024.

Last update: 2022-10-31
Started: 2018-10-14

Readme and manuals

Help Manual

Help pageTopics
Reliable conversion to another data typeas_reliable as_reliable_dte as_reliable_dtm as_reliable_int as_reliable_lgl as_reliable_num
Special checkscheck_complete_set check_df check_duplicates check_inf check_irrational check_na check_nan
Convert data type of columnsAlways before character chr classes columns console conversion convert converts dbl dte dtm factors fct for functions. in information. int lgl more new num scoping the through to Type \code{convert} \code{vignette("convert")}
Tests is a vector could be of another data typecould_chr_be_dte could_chr_be_dtm could_chr_be_int could_chr_be_num could_dtm_be_dte could_num_be_int could_this_be_that
Create a simple dummycreate_dummy dummy dummy_
cumulative_cummean_ cumsum_ cumulative_ cum_unique cum_unique_
Special filtersfind_duplicates find_inf find_in_df find_irrational find_na find_nan
givengiven given_
if_this_else_that_if_else_
Ignore NA in math%minus_% %plus_% math ignore NA in math funs
n_uniquen_unique n_unique count unique elements n_unique_
Only allow rational values in numeric vectors 'rationalize' transforms all numeric elements to be rational values or NA, thus removes all 'NaN,Inf' and replaces them with 'NA'.rationalize rationalize.data.frame rationalize.default rationalize.numeric
repeat_dfrepeat_df
replacemnt and specialsif_inf if_na if_nan if_not_na if_zero inf_if nan_if na_if replacers zero_if
Return simple data typesretype retype.data.frame retype.Date retype.default retype.integer retype.list retype.logical retype.numeric retype.POSIXct
Make vector shorter and simplers
Set wd to script pathset_wd_to_script_path
this_datethis_date this_day this_month this_year
Combine aggregate functions and sfirst_ first_non_na last_ max_ mean_ median_ min_ sd_ squeeze squeeze_ sum_ var_ wrapper - s and summary funs