Structure of a dataset comparison, without identifiers
Source:R/print_built_comparison.R
str.built_comparison.Rdstr() dispatches on the object rather than routing through
print.built_comparison(), so the default method would print the rows
attribute verbatim, including the identifier vectors. In this group's data
an identifier is a medical record number concatenated with a date of
surgery.
Usage
# S3 method for class 'built_comparison'
str(object, ...)Arguments
- object
An object of class
built_comparison.- ...
Passed to the underlying
utils::str()call.
Details
The hazard here is incidental disclosure, not retrieval. str() is what
people type reflexively to inspect an object, and its output is routinely
pasted into issues, chat, and logs, so PHI arrives without anyone having
asked for it. Deliberate retrieval stays available and unchanged:
attr(x, "rows")$only_oracle and $only_r.