Package: rolescry 0.1.0
rolescry: Name-Blind Variable-Role Detection by Data Signature
Deterministic, name-blind detection of variable roles (group, outcome, survival time and event, paired and agreement measurements, repeated measures, scale items, subject identifier, covariate) in tabular data. Roles are assigned from each column's information-theoretic signature -- Shannon entropy, normalized mutual information, and distributional shape -- rather than from column names, so renaming columns to 'col_1', 'col_2', ... does not change the result ("Data inspice, non nomen"). An optional, capped name-based hint and automatic header-row detection are also provided. No large language models and no external data transmission. Extracted from the 'MDStatR' biostatistics engine; see Boynukara (2026) <doi:10.5281/zenodo.20707791>.
Authors:
rolescry_0.1.0.tar.gz
rolescry_0.1.0.zip(r-4.7)rolescry_0.1.0.zip(r-4.6)rolescry_0.1.0.zip(r-4.5)
rolescry_0.1.0.tgz(r-4.6-any)rolescry_0.1.0.tgz(r-4.5-any)
rolescry_0.1.0.tar.gz(r-4.7-any)rolescry_0.1.0.tar.gz(r-4.6-any)
rolescry_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
rolescry/json (API)
| # Install 'rolescry' in R: |
| install.packages('rolescry', repos = c('https://canboynukara.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/canboynukara/rolescry/issues
Last updated from:e807d0b315. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 165 | ||
| source / vignettes | OK | 150 | ||
| linux-release-x86_64 | OK | 112 | ||
| macos-release-arm64 | OK | 82 | ||
| macos-oldrel-arm64 | OK | 83 | ||
| windows-devel | OK | 99 | ||
| windows-release | OK | 64 | ||
| windows-oldrel | OK | 75 | ||
| wasm-release | OK | 103 |
Exports:compute_nmidetect_headerdetect_rolesread_datarolescry_default_name_bonus
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Normalized mutual information | compute_nmi |
| Detect the header row of a raw, unparsed table | detect_header |
| Detect variable roles by data signature, not by name | detect_roles print.role_detection summary.role_detection |
| Read a data file with automatic header detection | read_data |
| Default name-bonus keyword dictionary | rolescry_default_name_bonus |
