Skip to contents

All functions

abort_bad_argument()
Abord bad argument
bind_others()
Bind other and parent values
check_analysis()
Check analysis
check_analysis_dap()
Check analysis
check_check_list()
Check cleaning log against data
check_cleaning_log()
Check cleaning log
check_list
Some table of checks
choices
Some choices sheet from a Kobo tool
cleaning_log
Some random cleaning log
clean_all()
Clean all
clean_workbook_list() clean_workbook_df()
Export a clean workbook
count_occ()
Count occurences of variables
count_occ_all()
Count all occurences
dap
Some random dap test
data
Some data produced from a Kobo tool
date_to_day_month()
Date to day and month ("fr" locale)
deselect()
Remove cols from tibble
diff_tibbles()
Remove cols from a tibble that exists in another tibble
encode()
Vector encoding (from Latin-1 to UTF-8)
fclcp()
FEWS NET Food Consumption-Livelihood Coping Matrix
fcm()
FCM - FEWS NET Food Consumption Matrix
fcp()
FC phase - Food Consumption phase according to the FCM
fcs()
FCS - Food Consumption Score
filter2_equal()
Extract a subset with one equal_to_value filter or two
filter2_nequal()
Extract a subset with one unequal_to_value filter or two
foodsec()
All foodsec indicators
get_choices()
Get choices from survey name (and paste them if you want!)
get_dictionary()
Get dictionary from survey sheet
get_other_parent()
Get all select multiple and parent other questions
get_select_multiple()
Get all select multiple from survey sheet
get_select_multiple_and_other_parent()
Get all select multiple and parent other questions
get_select_one()
Get all select one / simple choices from survey sheet
hhs()
HHS - Household Hunger Scale
if_not_in_stop()
Stop statement "If not in colnames" with colnames
if_vec_not_in_stop()
Stop statement "If not in vector"
impactR
Bring some survey analysis functions and some utils.
import_csv() import_xlsx() import_full_xlsx()
Initial import with clean names (not an option!)
label()
Label all select_one and select_multiple questions
label_all_select_multiple()
Label all select_multiple questions
label_all_select_one()
Label all selecy_one questions
label_columns()
Label data columns from survey sheet
label_select_multiple()
Label select_multiple question
label_select_one()
Label select_one question
lcsi()
LCSI - Livelihood Coping Strategy Index
left_joints()
Left join a few tibble from a list
log_names_en_fr()
Rename log columns from English to French
log_names_fr_en()
Rename log columns from French to English
make_all_logs()
Make all logs
make_analysis()
Make analysis
make_analysis_from_dap()
Make analysis from data analysis plan
make_log()
Make log
make_log_from_check_list()
Apply make_log to a tibble of check_list (one logical test per row)
make_log_other()
Make "other questions" log
make_log_outlier()
Make outlier log
modify_from_log()
Modify from log
mutate_if_nulla()
Mutate with replacement if NULL or NA values
named_group_split()
Named group split
na_count()
Count the number of occurrences of NAs over a data frame row-wise
numeric_cols()
Get numeric colum names
other_cols()
Get all other values
other_parent_cols()
Get all other values and parent values
outliers_iqr()
Get outliers using interquartile range (better for skewed-distribution)
outliers_sd()
Get outliers outside standard deviations from the mean
pull_uuid()
Pull uuid from a logical test
rcsi()
rCSI - reduced Coping Strategy Index
recode_na()
Replace many types of NAs of a tibble to NA
recode_other_from_log()
Recode "other_" from log
recode_other_parent_from_log()
Recode parent "other_" from log
recode_values()
Replace values of some tibble's columns to one value
remove_duplicate()
Remove duplicates
remove_from_log()
Delete from log
rename_cols()
Rename columns
rowwise_optimum()
Tidy rowwise optimum (default to pmax) of several columns
severity_score_reach()
MSNA severity scores names and colors
split_survey()
Split survey type and list name
string_count()
Count the number of occurrences of a string over a data frame row-wise
sublist_start()
Sublist of start pattern of list names
subvec_in()
Subvec in
subvec_not_in()
Subvec not in
survey
Some survey sheet from a Kobo tool
survey_difftime()
Check in-between surveys time
survey_duration()
Calculate the duration of a survey
svy_count_numeric()
Survey count for numeric variables
svy_interact()
Survey interaction means
svy_mean()
Survey mean
svy_median()
Survey median
svy_prop()
Survey proportion
svy_ratio()
Survey ratio
tbl_col_end()
Get colnames that end with pattern
tbl_col_start()
Get colnames that start with pattern
tbl_col_start_end()
Get colnames that start and end with patterns
update_rows_from_list()
Update rows from list