svy_interact()
gains the arrange
argument, to arrange by proportion highest value first. (#102)make_analysis()
now uses svy_count_numeric()
as a backend for "prop_multiple" and "prop_multiple_overall". (#101)svy_*()
family now output the total unweighted count by group. (#100)svy_*()
.make_analysis_from_dap()
when bind = TRUE
.humind
(https://github.com/gnoblet/humind).fcplp()
for Phase 5. (#90)label_select_multiple()
now get NAs instead of "NA"s.get_choices()
correction of a glue error.fclcp()
correction for Phase 5, wrong condition before.svy_interact()
used across
outside of a dplyr-verb, corrected.get_choices
now returns an empty character string or tibble if col
is not in survey$name.check_analysis
is now less restrictive.It might be breaking some things. Some rewrite for analysis and checks. Added documentation for analysis
label_columns()
.label_columns()
and get_dictionary()
gets a new parameter name_as_label
.label_columns()
) and to get a dictionary of variables from the Kobo survey sheet (get_dictionary()
).check_analysis()
and check_analysis_dap()
make_analysis()
label_select_one()
and label_select_multiple()
when there are logical columns.make_log_other()
when binding others: make sure all "other" columns are of type character.check_cleaning_log()
for identical other_parent_question that are allowed.make_analysis_from_dap()
when binding if choices for one analysis are numeric and for another one are character.check_cleaning_log()
for checking identical other old and new values.filter2_equalt()
and filter2_nequal()
.make_log_from_check_list()
uses purrr::pmap()
instead of purrr::exec()
.check_cleaning_log()
now checks whether the identification column for each survey id_col
exists in the cleaning log. It also checks whether all ids from the cleaning log exists in data. (#69)na_count()
adds a column with the counts of NAs row-wise over the character columns.check_cleaning_log()
.check_cleaning_log()
now throw a warning if there are missing 'other_new_value' but 'other_old_value' contained more than 2 values and if there are remaining strings from the template in 'feedback' and 'new_value'.date_to_day_month()
loses the useless locale
parameter. It now follows the system env locale.string_count()
adds a column with the counts of the string pattern per row over the character columns.make_analysis()
and make_analysis_from_dap()
gets a lot fresher look and are totally usable. There's still the need for a check_dap()
function.get_choices()
now returns a tibble when label = TRUE
. Two columns, the name and the label. (#61)make_analysis()
and make_analysis_from_dap()
gets a fresh look and can now be used while still under total development. (#62)fcs()
, reduce Coping Strategy Index rcsi()
, Household Hunger Scale hhs()
, Livelihood Coping Strategy Index lcsi()
. (#59)fcm()
, Food Consumption phase according to the FCM fcp()
and FEWS NET Food Consumption-Livelihood Coping phase fclcp()
. (#59)foodsec()
. (#59)openxlsx
: clean_workbook_list()
to export a named list of dataframes and clean_workbook_df()
to export one dataframe. (#57)check_cleaning_log()
gains many features (#51)clean_all()
now internally uses check_cleaning_log()
before cleaning (#52)modify_from_log()
now internally uses readr::type_convert()
to ensure type conversion of new values from cleaning log (#55)modify_from_log()
gains a other
argument, it now only modify values if the id_check is different than the other
patternnumeric_cols()
now do not throw an error when a numeric variable from param survey
is not in .tbl
colnames. It knows keep only those that are in both (#47)make_all_logs()
now throws a warning when there is no column name that starts with the "other" pattern and skips using make_log_other()
(#45)visualizeR
(#43)survey_difftime()
got a fix for reading the end
parameterrm_cols()
becomes deselect()
(#35)rec_na()
and rec_values()
become recode_na()
and recode_values()
(#35)get_one()
becomes get_select_one()
; get_multiple()
becomes get_select_multiple()
; and, get_multiple_and_other_parent()
becomes get_select_multiple_and_other_parent()
(#35)svy_difftime()
and svy_duration()
become survey_difftime()
and survey_duration()
to avoid confusion with survey analysis svy_*
functions (#35)survey_duration()
gains a new_colname
parameter that allows for deciding the new column name of the survey duration (#35)clean_all()
and all internals functions now have tidy eval and take into account the "other" string (#30)NEWS.md
file to track changes to the package.label()
labels all simple and multiple choices column providing kobo data, survey, and choices; label_all_select_one()
does it for simple choice columns only, and label_all_select_multiple()
for multiple choice columns (#26)label_select_one()
and label_select_multiple()
are helpers, they label one column (#26)get_choices()
now has a label
parameter to get labelled choices, that takes precedence over the conc
parameter (#28)reach_cols()
gains a new parameter unnamed = T
that allows and has for default an unnamed output vector (#27)reach_cols()
had fixed hex codes (#27)Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.