Changelog
Source:NEWS.md
impactR 0.9.9.9000
- Added:
svy_interact()
gains thearrange
argument, to arrange by proportion highest value first. (#102) - Bug fix:
make_analysis()
now usessvy_count_numeric()
as a backend for “prop_multiple” and “prop_multiple_overall”. (#101) - New feature: the
svy_*()
family now output the total unweighted count by group. (#100)
impactR 0.9.8.9000
- New feature: addition of unweighted counts and stat for all
svy_*()
. - Added: Checks for emptiness and uniqueness of column ‘id_analysis’ for
make_analysis_from_dap()
whenbind = TRUE
. - Deprecated: all food security indicators functions are deprecated and will be removed in the next iteration. They have been moved to package
humind
(https://github.com/gnoblet/humind).
impactR 0.9.2.9000
- Bug fix:
get_choices
now returns an empty character string or tibble ifcol
is not in survey$name.
impactR 0.9.0.9000
It might be breaking some things. * Some rewrite for analysis and checks. * Added documentation for analysis
impactR 0.8.11.9000
- Small bug fix:
label_columns()
. - New feature:
label_columns()
andget_dictionary()
gets a new parametername_as_label
.
impactR 0.8.10.9000
- New feature: it is now possible to label columns (
label_columns()
) and to get a dictionary of variables from the Kobo survey sheet (get_dictionary()
). - New functions: experimental check functions
check_analysis()
andcheck_analysis_dap()
- Add some documentation to
make_analysis()
impactR 0.8.9.9000
- Bug fix: bug fix to
label_select_one()
andlabel_select_multiple()
when there are logical columns.
impactR 0.8.8.9000
- Bug fix: bug fix to
make_log_other()
when binding others: make sure all “other” columns are of type character. - Bug fix: bug fix to
check_cleaning_log()
for identical other_parent_question that are allowed.
impactR 0.8.7.9000
- Bug fix: bug fix to
make_analysis_from_dap()
when binding if choices for one analysis are numeric and for another one are character.
impactR 0.8.6.9000
- Bug fix: bug fix to
check_cleaning_log()
for checking identical other old and new values.
impactR 0.8.3.9000
- New feature:
check_cleaning_log()
now checks whether the identification column for each surveyid_col
exists in the cleaning log. It also checks whether all ids from the cleaning log exists in data. (#69) - New feature:
na_count()
adds a column with the counts of NAs row-wise over the character columns.
impactR 0.8.1.9000
- Update:
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’.
impactR 0.8.9000
- Breaking:
date_to_day_month()
loses the uselesslocale
parameter. It now follows the system env locale. - New:
string_count()
adds a column with the counts of the string pattern per row over the character columns.
impactR 0.7.12.9000
New features
-
make_analysis()
andmake_analysis_from_dap()
gets a lot fresher look and are totally usable. There’s still the need for acheck_dap()
function.
impactR 0.7.11.9000
New features
-
get_choices()
now returns a tibble whenlabel = TRUE
. Two columns, the name and the label. (#61) -
make_analysis()
andmake_analysis_from_dap()
gets a fresh look and can now be used while still under total development. (#62)
impactR 0.7.10.9000
New features
- Four new foodsec indicators calculation: Food Consumption Score
fcs()
, reduce Coping Strategy Indexrcsi()
, Household Hunger Scalehhs()
, Livelihood Coping Strategy Indexlcsi()
. (#59) - Fews net matrix and scores: FEWS NET Food Consumption Matrix’s cell
fcm()
, Food Consumption phase according to the FCMfcp()
and FEWS NET Food Consumption-Livelihood Coping phasefclcp()
. (#59) - A general function that calculates all:
foodsec()
. (#59) - Thanks to SaeedR1987/healthyr.
impactR 0.7.9.9000
New features
- Two new helpers to export nice excel workbooks using
openxlsx
:clean_workbook_list()
to export a named list of dataframes andclean_workbook_df()
to export one dataframe. (#57) - Updated README.
impactR 0.7.8.9000
New features
-
check_cleaning_log()
gains many features (#51) -
clean_all()
now internally usescheck_cleaning_log()
before cleaning (#52) -
modify_from_log()
now internally usesreadr::type_convert()
to ensure type conversion of new values from cleaning log (#55)
impactR 0.7.7.9000
Minor bug fixes
-
modify_from_log()
gains aother
argument, it now only modify values if the id_check is different than theother
pattern
impactR 0.7.6.9000
Minor bug fixes
-
numeric_cols()
now do not throw an error when a numeric variable from paramsurvey
is not in.tbl
colnames. It knows keep only those that are in both (#47)
impactR 0.7.5.9000
Minor bug fixes
-
make_all_logs()
now throws a warning when there is no column name that starts with the “other” pattern and skips usingmake_log_other()
(#45)
impactR 0.7.2
New features
- Redispatched R files (#35)
Breaking changes
-
rm_cols()
becomesdeselect()
(#35) -
rec_na()
andrec_values()
becomerecode_na()
andrecode_values()
(#35) -
get_one()
becomesget_select_one()
;get_multiple()
becomesget_select_multiple()
; and,get_multiple_and_other_parent()
becomesget_select_multiple_and_other_parent()
(#35) -
svy_difftime()
andsvy_duration()
becomesurvey_difftime()
andsurvey_duration()
to avoid confusion with survey analysissvy_*
functions (#35) -
survey_duration()
gains anew_colname
parameter that allows for deciding the new column name of the survey duration (#35)
impactR 0.7.1
Minor bug fixes
-
clean_all()
and all internals functions now have tidy eval and take into account the “other” string (#30)
impactR 0.7
New features
- Added a
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, andlabel_all_select_multiple()
for multiple choice columns (#26) -
label_select_one()
andlabel_select_multiple()
are helpers, they label one column (#26)
Breaking changes
-
get_choices()
now has alabel
parameter to get labelled choices, that takes precedence over theconc
parameter (#28)