Skip to contents

This dataset, drugsmisuse_tbl_df, is a tibble containing information about the use of pain relievers for non-medical purposes in the United States. It includes individual-level data for 100 cases, detailing misuse patterns across various opioid-based medications.

Usage

data(drugsmisuse_tbl_df)

Format

A tibble with 100 observations and 8 variables:

caseid

Character variable representing the unique case identifier

hydrocd

Integer variable indicating hydrocodone misuse (1 = Yes, 0 = No)

oxycodp

Integer variable indicating oxycodone misuse (1 = Yes, 0 = No)

codeine

Integer variable indicating codeine misuse (1 = Yes, 0 = No)

tramadl

Integer variable indicating tramadol misuse (1 = Yes, 0 = No)

morphin

Integer variable indicating morphine misuse (1 = Yes, 0 = No)

methdon

Integer variable indicating methadone misuse (1 = Yes, 0 = No)

vicolor

Integer variable indicating Vicodin or similar misuse (1 = Yes, 0 = No)

Source

Data taken from the package lay version 0.1.3

Details

The dataset name has been kept as 'drugsmisuse_tbl_df' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the MedxR package and assists users in identifying its specific characteristics. The suffix 'tbl_df' indicates that the dataset is a tibble. The original content has not been modified in any way.