Recoding

Functions for recoding data across databases

rec_with_table()

Recode with Table

Utility

Other useful functions

set_data_labels()

Set Data Labels

select_vars_by_role()

Vars selected by role

get_table_name()

Returns the name of the table for a table start variable

label_data()

label_data

is_equal()

Checks whether two values are equal including NA

Example worksheets

Examples of worksheets for databases

pbc_variables

Variables sheet for the pbc dataset

pbc_variable_details

Variable details sheet for the pbc dataset

tester_variables

Example variables sheet for vignettes

tester_variable_details

Example variable details sheet for vignettes

Example data

Data for examples

pbc

The pbc dataset

pbc_metadata

Metadata for the pbc dataset using the DCIM standard