R: Manipulating Labelled Data

# Manipulating Labelled Data

## Documentation for package ‘labelled’ version 2.16.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

add_value_labels | Get / Set value labels
convert_list_columns_to_character | Look for keywords variable names and descriptions / Create a data dictionary
copy_labels | Copy variable and value labels and SPSS-style missing value
copy_labels_from | Copy variable and value labels and SPSS-style missing value
dictionary_to_value_labels | Convert a dictionary data frame into a list of variable / value labels
dictionary_to_variable_labels | Convert a dictionary data frame into a list of variable / value labels
drop_unused_value_labels | Drop unused value labels
dta_file | Datasets for testing
duplicated_tagged_na | Unique elements, duplicated, ordering and sorting with tagged NAs
foreign_to_labelled | Convert to labelled data
generate_dictionary | Look for keywords variable names and descriptions / Create a data dictionary
get_label_attribute | Get / Set a variable label
get_na_range | Get / Set SPSS missing values
get_na_values | Get / Set SPSS missing values
get_value_labels | Get / Set value labels
get_variable_labels | Get / Set a variable label
is_prefixed | Check if a factor is prefixed
is_regular_na | Get / Set SPSS missing values
is_user_na | Get / Set SPSS missing values
label_attribute | Get / Set a variable label
label_attribute<- | Get / Set a variable label
lookfor | Look for keywords variable names and descriptions / Create a data dictionary
lookfor_to_long_format | Look for keywords variable names and descriptions / Create a data dictionary
look_for | Look for keywords variable names and descriptions / Create a data dictionary
look_for_and_select | Look for keywords variable names and descriptions / Create a data dictionary
memisc_to_labelled | Convert to labelled data
names_prefixed_by_values | Turn a named vector into a vector of names prefixed by values
na_range | Get / Set SPSS missing values
na_range<- | Get / Set SPSS missing values
na_values | Get / Set SPSS missing values
na_values<- | Get / Set SPSS missing values
nolabel_to_na | Recode values with no label to NA
order_tagged_na | Unique elements, duplicated, ordering and sorting with tagged NAs
print.look_for | Look for keywords variable names and descriptions / Create a data dictionary
recode.haven_labelled | Recode values
recode_if | Recode some values based on condition
remove_attributes | Remove attributes
remove_labels | Remove variable label, value labels and user defined missing values
remove_user_na | Remove variable label, value labels and user defined missing values
remove_value_labels | Get / Set value labels
remove_val_labels | Remove variable label, value labels and user defined missing values
remove_var_label | Remove variable label, value labels and user defined missing values
set_label_attribute | Get / Set a variable label
set_na_range | Get / Set SPSS missing values
set_na_values | Get / Set SPSS missing values
set_value_labels | Get / Set value labels
set_variable_labels | Get / Set a variable label
sort_tagged_na | Unique elements, duplicated, ordering and sorting with tagged NAs
sort_val_labels | Sort value labels
spss_file | Datasets for testing
tagged_na_to_regular_na | Convert tagged NAs into user NAs
tagged_na_to_user_na | Convert tagged NAs into user NAs
to_character | Convert input to a character vector
to_character.data.frame | Convert input to a character vector
to_character.double | Convert input to a character vector
to_character.haven_labelled | Convert input to a character vector
to_character.survey.design | Convert input to a character vector
to_factor | Convert input to a factor.
to_factor.data.frame | Convert input to a factor.
to_factor.haven_labelled | Convert input to a factor.
to_factor.survey.design | Convert input to a factor.
to_gt | Look for keywords variable names and descriptions / Create a data dictionary
to_labelled | Convert to labelled data
to_labelled.data.frame | Convert to labelled data
to_labelled.data.set | Convert to labelled data
to_labelled.factor | Convert to labelled data
to_labelled.importer | Convert to labelled data
to_labelled.list | Convert to labelled data
unique_tagged_na | Unique elements, duplicated, ordering and sorting with tagged NAs
unlabelled | Convert input to a factor.
update_labelled | Update labelled data to last version
update_labelled.data.frame | Update labelled data to last version
update_labelled.haven_labelled | Update labelled data to last version
update_labelled.haven_labelled_spss | Update labelled data to last version
update_labelled.labelled | Update labelled data to last version
update_value_labels_with | Update variable/value labels with a function
update_variable_labels_with | Update variable/value labels with a function
user_na_to_na | Get / Set SPSS missing values
user_na_to_regular_na | Get / Set SPSS missing values
user_na_to_tagged_na | Get / Set SPSS missing values
val_label | Get / Set value labels
val_label<- | Get / Set value labels
val_labels | Get / Set value labels
val_labels<- | Get / Set value labels
val_labels_to_na | Recode value labels to NA
var_label | Get / Set a variable label
var_label.data.frame | Get / Set a variable label
var_label.survey.design | Get / Set a variable label
var_label<- | Get / Set a variable label
x_haven_2.0 | Datasets for testing
x_spss_haven_2.0 | Datasets for testing