You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current package handles variable labels using the drop_label() function, similar to raw_or_label_headers in REDCapR. However, it can be further enhanced to handle value labels as well.
For instance, the REDCapR package offers the option to obtain raw data using API requests:
REDCapR::redcap_read_oneshot(redcap_uri="https://redcap.miami.edu/api/",
token=keyring::key_get("RED_API_KEY"),
raw_or_label = "raw" #raw option specifies to export the raw coded values rather than labels in multiple choice fields
)$data
To improve the package, I suggest incorporating the expss package functions, which allows handling data without removing labels. This enhancement will enable users to explore the value labels without needing to refer back to the "code dictionary" in Redcap. The expss::val_lab() function can be utilized for this purpose.
The text was updated successfully, but these errors were encountered:
The current package handles variable labels using the
drop_label()
function, similar toraw_or_label_headers
inREDCapR
. However, it can be further enhanced to handle value labels as well.For instance, the
REDCapR
package offers the option to obtain raw data using API requests:To improve the package, I suggest incorporating the
expss
package functions, which allows handling data without removing labels. This enhancement will enable users to explore the value labels without needing to refer back to the "code dictionary" in Redcap. Theexpss::val_lab()
function can be utilized for this purpose.The text was updated successfully, but these errors were encountered: