Skip to content

codecountR

Counting Codes in a Text and Preparing Data for Analysis

v0.0.4.8 · Mar 1, 2025 · GPL-3

Description

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.

Downloads

251

Last 30 days

17651st

598

Last 90 days

2.4K

Last year

Trend: +30.7% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Version History

new 0.0.4.8 Mar 10, 2026
updated 0.0.4.8 ← 0.0.4.7 diff Feb 28, 2025
updated 0.0.4.7 ← 0.0.4.5 diff Jan 21, 2025
updated 0.0.4.5 ← 0.0.4.0 diff Oct 15, 2024
updated 0.0.4.0 ← 0.0.3.1 diff Dec 6, 2023
updated 0.0.3.1 ← 0.0.3.0 diff Sep 26, 2023
updated 0.0.3.0 ← 0.0.2.1 diff Sep 3, 2023
updated 0.0.2.1 ← 0.0.2.0 diff Aug 28, 2023
new 0.0.2.0 Aug 15, 2023