Skip to contents

All functions

data_bmi
Sample data for body mass index (BMI) calculations.
data_bmicat
Sample data for body mass index (BMI) categorization.
data_cancer
Sample data: Survival of cancer patients in days.
data_cancer2
Sample data: Survival of cancer patients in days.
data_gadgets
Sample data: Gadgets owned by individuals
data_misspelled
Sample dataset with general information.
data_phone
Sample data for phone satistifaction feedback.
data_rename
Sample data for demographic and socioeconomic information.
data_sample
Sample data for demographic, technology, and employment information.
dict_labels
Dictionary with variable labels.
dict_misspelled
A dictionary with variable mappings for data standardization.
dict_recode
A dictionary with ariable value mappings with labels and ordered status.
dict_rename
A dictionary for variable name changes.
dta_bmi()
Calculate body mass index (BMI)
dta_bmicat()
Categorize BMI into weight categories
dta_columns()
Retrieve column names from a data frame
dta_crosstab()
Generate cross tabulations with optional percentages and totals
dta_drop_with_warning()
Drop rows with missing values and issue a warning
dta_duplicates()
Find duplicate rows based on specific columns
dta_freq()
Get frequency distribution of a specific column
dta_freq_mrq()
Frequency table for multiple response questions
dta_get_datasets()
Export the sample datasets to file
dta_gtable()
Create a styled gt table
dta_label()
Assign variable labels to data frame or tibble columns
dta_mrq()
Split multiple response question column into binary columns
dta_path()
Get the path to the example dataset
dta_recode()
Recode variables in a data frame based on a dictionary
dta_recode_auto()
Automatically recode categorical variables in a data frame
dta_recode_common_labels()
Recode columns using common labels
dta_rename()
Rename columns in a data frame and tibble based on a dictionary
dta_replace()
Correct misspelled data using a dictionary
dta_to_numeric()
Convert numeric strings in a data frame or tibble to numeric numbers
dta_transpose()
Transpose a data frame with specified column as variable names