This update introduces a Shiny app and support for names of months in Spanish, German, and French.
fix_date_app()
which produces a shiny app
for accessing the features of datefixR
. Please note, the
package dependencies for this app (DT
,
htmltools
, readxl
, and shiny
) are
not installed alongside datefixR
. This allows datefixR to
be installed on secure systems where these packages may not be allowed.
If one of these dependencies is not installed on the system when this
function is called, then the user will have the option of installing
them.asciicast
to demonstrate the package.For this revision, datefixR
has undergone ropensci
peer review which has resulted in substantial changes and
improvements to the package. My sincerest thanks to the reviewers,
Kaique dos S. Alves and Al-Ahmadgaid B. Asaad, and the editor, Adam H.
Sparks.
fix_date()
and fix_dates()
have been
deprecated in favor of fix_date_char()
and
fix_date_df()
respectively to make the role of each
function clearer. The deprecated functions will continue to work but are
not guaranteed to have new features. Users will be gently encouraged to
transition to the new functions.fix_date_char()
now supports vectors as well as
character objects of length 1. This also means
fix_date_char()
can be used with
dplyr::mutate()
.exampledates
, is now provided with the package.NA
imputationformat
.id
argument to fix_dates()
. If not
explicitly stated, the first column is assumed to contain row IDs.day.impute = NA
or
month.impute = NA
will now result in NA if day or month is
missing respectively in a date and a warning is issued. If
day.impute = NULL
or month.impute = NULL
then
the function will error if day or month is missing respectively in a
datedatefixR
vignette which describes the package in
more detail than the READMEfix_date()
for fixing individual dates.NEWS.md
file to track changes to the
package.