Package: R2DT 0.2

R2DT: Translation of Base R-Like Functions for 'data.table' Objects

Some heavily used base R functions are reconstructed to also be compliant to data.table objects. Also, some general helper functions that could be of interest for working with data.table objects are included.

Authors:Robin Van Oirbeek

R2DT_0.2.tar.gz
R2DT_0.2.zip(r-4.5)R2DT_0.2.zip(r-4.4)R2DT_0.2.zip(r-4.3)
R2DT_0.2.tgz(r-4.4-any)R2DT_0.2.tgz(r-4.3-any)
R2DT_0.2.tar.gz(r-4.5-noble)R2DT_0.2.tar.gz(r-4.4-noble)
R2DT_0.2.tgz(r-4.4-emscripten)R2DT_0.2.tgz(r-4.3-emscripten)
R2DT.pdf |R2DT.html
R2DT/json (API)

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

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.32 score 21 scripts 170 downloads 1 mentions 19 exports 12 dependencies

Last updated 5 years agofrom:1dc763e5bf. Checks:OK: 7. Indexed: yes.

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

Exports:asCharacterDTasFactorDTasIntegerDTasLogicalDTasNumericDTcheckDTdetectWeirdLevelNamesDTextractLevelDTextractRefLevelDTisCharacterDTisFactorDTisIntegerDTisLogicalDTisNumericDTlowFreqLevel2MissingDTrbindDTremoveEmptyLevelsDTsetRefLevelDTsortByRowIndexDT

Dependencies:clidata.tabledevFuncgluelifecyclemagrittrplyrRcpprlangstringistringrvctrs

Readme and manuals

Help Manual

Help pageTopics
Forcing the character/string data type on a selected set of columns of a data.table objectasCharacterDT
Forcing the character/string data type on a selected set of columns of a data.table objectasFactorDT
Forcing the integer data type on a selected set of columns of a data.table objectasIntegerDT
Forcing the logical/boolean data type on a selected set of columns of a data.table objectasLogicalDT
Forcing the numeric data type on a selected set of columns of a data.table objectasNumericDT
Checking if an object is a data.table object and (optional) testing if some column names are valid for itcheckDT
Detecting which levels of which factor of a data.table object contain non-alpha numeric characters (including whitespace) charactersdetectWeirdLevelNamesDT
Extracting the levels of all or a selected set of the factor columns of a data.table objectextractLevelDT
Extracting the reference level of all or a selected set of the factor columns of a data.table objectextractRefLevelDT
Testing if a set of columns of a data.table object corresponds to the character/string data typeisCharacterDT
Testing if a set of columns of a data.table object corresponds to the factor data typeisFactorDT
Testing if a set of columns of a data.table object corresponds to the integer data typeisIntegerDT
Testing if a set of columns of a data.table object corresponds to the logical/boolean data typeisLogicalDT
Testing if a set of columns of a data.table object corresponds to the numeric data typeisNumericDT
Transform levels of all the factor columns of a data.table object to missing if too little observations pertain to a given level of it.lowFreqLevel2MissingDT
Glueing, not merging, two data.table objects together, by matching column namesrbindDT
Remove empty levels from all the factor columns of a data.table objectremoveEmptyLevelsDT
Setting the reference level of all or a selected set of the factor columns of a data.table objectsetRefLevelDT
Order the rows of a data.table object by indexsortByRowIndexDT