Package: rolescry 0.3.1
rolescry: Name-Blind Variable-Role Detection by Data Signature
Deterministic, name-blind detection of variable roles (group, outcome, survival or duration time and event, coupled binary-continuous pairs, calendar time index, paired and agreement measurements, repeated measures and panels, scale and rating items, subject or entity identifier, covariate) in tabular data from any domain -- clinical, financial, social, experimental. 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.3.1.tar.gz
rolescry_0.3.1.zip(r-4.7-any)rolescry_0.3.1.zip(r-4.6-any)
rolescry_0.3.1.tar.gz(r-4.7-any)rolescry_0.3.1.tar.gz(r-4.6-any)
rolescry_0.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rolescry/json (API)
| # Install 'rolescry' in R: |
| install.packages('rolescry', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/canboynukara/rolescry/issues
Last updated from:a4f53bbd4c. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 132 | ||
| source / vignettes | OK | 172 | ||
| linux-release | OK | 131 | ||
| windows-devel | OK | 84 | ||
| windows-release | OK | 81 | ||
| wasm-release | OK | 84 |
Exports:compute_nmidetect_headerdetect_rolesharmonize_rolesread_datarolescry_default_name_bonusverify_roles
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 |
| Align detected variable roles across sites | harmonize_roles print.role_harmonization summary.role_harmonization |
| Read a data file with automatic header detection | read_data |
| Default name-bonus keyword dictionary | rolescry_default_name_bonus |
| Verify a declared analysis plan against the data signature | print.role_verification summary.role_verification verify_roles |
