Package: ilabelled 1.0.0

ilabelled: Simple Handling of Labelled Data

Simple handling of survey data. Smart handling of meta-information like e.g. variable-labels value-labels and scale-levels. Easy access and validation of meta-information. Useage of value labels and values respectively for subsetting and recoding data.

Authors:Christof Lewerenz [aut, cre]

ilabelled_1.0.0.tar.gz
ilabelled_1.0.0.zip(r-4.5)ilabelled_1.0.0.zip(r-4.4)ilabelled_1.0.0.zip(r-4.3)
ilabelled_1.0.0.tgz(r-4.4-x86_64)ilabelled_1.0.0.tgz(r-4.4-arm64)ilabelled_1.0.0.tgz(r-4.3-x86_64)ilabelled_1.0.0.tgz(r-4.3-arm64)
ilabelled_1.0.0.tar.gz(r-4.5-noble)ilabelled_1.0.0.tar.gz(r-4.4-noble)
ilabelled_1.0.0.tgz(r-4.4-emscripten)ilabelled_1.0.0.tgz(r-4.3-emscripten)
ilabelled.pdf |ilabelled.html
ilabelled/json (API)

# Install 'ilabelled' in R:
install.packages('ilabelled', repos = c('https://clewerenz.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/clewerenz/ilabelled/issues

On CRAN:

5.99 score 2 stars 13 scripts 139 downloads 56 exports 0 dependencies

Last updated 3 months agofrom:a99271a748. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-win-x86_64OKNov 05 2024
R-4.5-linux-x86_64OKNov 05 2024
R-4.4-win-x86_64OKNov 05 2024
R-4.4-mac-x86_64OKNov 05 2024
R-4.4-mac-aarch64OKNov 05 2024
R-4.3-win-x86_64OKNov 05 2024
R-4.3-mac-x86_64OKNov 05 2024
R-4.3-mac-aarch64OKNov 05 2024

Exports:%in%as.i_labelledi_annotationi_as_characteri_as_factori_as_numerici_assert_labelsi_get_annotationi_get_equal_subjecti_get_equal_wordingi_get_labeli_get_labelsi_get_na_rangei_get_na_valuesi_get_scalei_get_subjecti_get_wordingi_labeli_labelledi_labelsi_missing_to_nai_na_rangei_na_valuesi_print_annotationi_print_attributesi_print_labeli_print_labelsi_print_na_rangei_print_na_valuesi_print_scalei_print_subjecti_print_wordingi_recodei_remove_annotationi_remove_labeli_remove_labelsi_remove_missing_labelsi_remove_na_rangei_remove_na_valuesi_remove_scalei_remove_subjecti_remove_wordingi_scalei_sort_labelsi_subjecti_tablei_to_base_classi_unclassi_valid_annotationi_valid_labeli_valid_labelsi_valid_scalei_valid_subjecti_valid_wordingi_wordingis.i_labelled

Dependencies:

Class Coercion

Rendered fromclass-coercion.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2024-06-15
Started: 2024-06-15

Class Declaration

Rendered fromclass-declaration.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2024-06-15
Started: 2024-06-15

General Information

Rendered fromgeneral.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2024-08-09
Started: 2024-06-15

Indexation

Rendered fromindexation.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2024-06-15
Started: 2024-06-15

Meta Information

Rendered frommeta-information.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2024-06-15
Started: 2024-06-15

Readme and manuals

Help Manual

Help pageTopics
internal replacement of match function for remove missing values (match is much slower but can handle more data classes).i_find_in
Match values.i_in
backend for i_labelled.init
checks if vector is numeric sequence.is_sequential
combine old value labels with new value labels.merge_labels
validate annotation - intern.valid_annotation
validate variable label - intern.valid_label
validate value labels - intern.valid_labels
validate missing values/range - intern.valid_missing
validate scale label - intern.valid_scale
validate subject - intern.valid_subject
validate wording - intern.valid_wording
subsetting vectors of class i_labelled[.i_labelled
subsetting vectors of class i_labelled[[.i_labelled
coerce to i_labelled classas.i_labelled
generic for %in%%in% %in%,ANY,i_labelled-method %in%,i_labelled,ANY-method %in%,i_labelled,i_labelled-method grapesingrapes
add annotation to variablei_annotation
as characteri_as_character
as factori_as_factor
as numerici_as_numeric
Check for required value labels in set of variablesi_assert_labels
copy meta information from one variable to anotheri_copy
get annotationi_get_annotation
get variable names by subjecti_get_equal_subject
get variable names by wordingi_get_equal_wording
get variable labeli_get_label
get value labelsi_get_labels
get missing rangei_get_na_range
get missing valuesi_get_na_values
get scale leveli_get_scale
get subjecti_get_subject
get wordingi_get_wording
set variable labeli_label
class constructori_labelled
set value labelsi_labels
missing values to NAi_missing_to_na
define missing rangei_na_range
define missing valuesi_na_values
print annotationi_print_annotation
print attributesi_print_attributes
print variable labeli_print_label
print value labelsi_print_labels
print missing rangei_print_na_range
print missing valuesi_print_na_values
print scale leveli_print_scale
print subjecti_print_subject
print wordingi_print_wording
i_recode Function for recoding new variable from origin variable(s).i_recode
remove annotationi_remove_annotation
remove variable labeli_remove_label
remove all value labelsi_remove_labels
remove missing labelsi_remove_missing_labels
remove as na rangei_remove_na_range
remove as na valuesi_remove_na_values
remove scale leveli_remove_scale
remove subjecti_remove_subject
remove wordingi_remove_wording
set scale leveli_scale
sort value labels by values or by labelsi_sort_labels
add subject to variablei_subject
cross tabulation and table creation using i_labelled labelsi_table
remove class i_labelled and return base R classi_to_base_class
unclass variablesi_unclass
validate annotationi_valid_annotation
validate variable labelsi_valid_label
validate value labelsi_valid_labels
validate variable scale leveli_valid_scale
validate subjecti_valid_subject
validate wordingi_valid_wording
add wording to variablei_wording
Check if vector contains decimal valuesis_decimal
check for class i_labelledis.i_labelled
custom print method for i_labelledprint.i_labelled