Package: codecountR 0.0.4.8

Philippe Cohard
codecountR: Counting Codes in a Text and Preparing Data for Analysis
Data analysis often requires coding, especially when data are collected through interviews, observations, or questionnaires. As a result, code counting and data preparation are essential steps in the analysis process. Analysts may need to count the codes in a text (Tokenization, counting of pre-established codes, computing the co-occurrence matrix by line) and prepare the data (e.g., min-max normalization, Z-score, robust scaling, Box-Cox transformation, and non-parametric bootstrap). For the Box-Cox transformation (Box & Cox, 1964, <https://www.jstor.org/stable/2984418>), the optimal Lambda is determined using the log-likelihood method. Non-parametric bootstrap involves randomly sampling data with replacement. Two random number generators are also integrated: a Lehmer congruential generator for uniform distribution and a Box-Muller generator for normal distribution. Package for educational purposes.
Authors:
codecountR_0.0.4.8.tar.gz
codecountR_0.0.4.8.tar.gz(r-4.5-noble)codecountR_0.0.4.8.tar.gz(r-4.4-noble)
codecountR_0.0.4.8.tgz(r-4.4-emscripten)codecountR_0.0.4.8.tgz(r-4.3-emscripten)
codecountR.pdf |codecountR.html✨
codecountR/json (API)
# Install 'codecountR' in R: |
install.packages('codecountR', repos = 'https://cloud.r-project.org') |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 1 months agofrom:1df0f5e8c7. Checks:3 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 31 2025 |
R-4.5-linux | OK | Mar 31 2025 |
R-4.4-linux | OK | Mar 31 2025 |
Exports:analysCodesListbootStrapBoxAndCoxBoxMullerGencodeCountcongruGencoocloadCodesnormMinMaxrobustScalsubCalcBoxAndCoxtestPairstokenizationverifyzScore
Dependencies:
Citation
To cite package ‘codecountR’ in publications use:
Cohard P (2025). codecountR: Counting Codes in a Text and Preparing Data for Analysis. R package version 0.0.4.8, https://CRAN.R-project.org/package=codecountR.
Corresponding BibTeX entry:
@Manual{, title = {codecountR: Counting Codes in a Text and Preparing Data for Analysis}, author = {Philippe Cohard}, year = {2025}, note = {R package version 0.0.4.8}, url = {https://CRAN.R-project.org/package=codecountR}, }
Readme and manuals
Help Manual
Help page | Topics |
---|---|
analysCodesList | analysCodesList |
bootStrap | bootStrap |
BoxAndCox | BoxAndCox |
BoxMullerGen | BoxMullerGen |
codeCount | codeCount |
congruGen | congruGen |
cooc | cooc |
loadCodes | loadCodes |
normMinMax | normMinMax |
robustScal | robustScal |
subCalcBoxAndCox | subCalcBoxAndCox |
testPairs | testPairs |
tokenization | tokenization |
verify | verify |
zScore | zScore |