rename_columns()
when
columns are already renamed.Tests for *_ip()
have been updated to account for
new IP addresses outside of US.
Examples requiring internet access are now interactive.
Tests requiring internet access are now skipped on CI in addition to CRAN.
{rgeolocate}
package now point toward URL for
package archive.qualtrics_fetch2
dataset that includes labels
as column names..data
pronoun in tidy selections. So .data
is no longer used in
select()
or other selection functions.usethis::use_tidy_description()
to tidy up
DESCRIPTION file.rename = TRUE
.install_github()
in the README to reduce dependencies.{iptools}
package has been replaced with the {ipaddress}
package.use_labels()
function extracts the Qualtrics
question labels included when importing with
qualtRics::fetch_survey()
and renames the column names with
these labels.qualtrics_fetch
data set offers an example data set
that is imported using the qualtRics::fetch_survey()
function.rename_columns()
function renames the columns to
match standard Qualtrics column names. This is primarily a utility
function for the mark_*()
functions but may be useful to
users in some circumstances.res_min
that will apply to both width and height. That is,
now you can test if at least one of the dimensions has a resolution
greater than res_min
. (#9){dplyr}
to 1.0.8 caught problem with using
across()
inside is.na()
. Instead, it now uses
if_all()
with is.na()
as argument. Thanks to
@romainfrancois for pull request
#7.remove_label_rows()
now properly converts numeric data
in Status and Finished columns.remove_label_rows()
function can now rename columns
to match the default column names used in all of the verb function
arguments.mark_ip_()
function now checks for (1) internet
connectivity, (2) whether the IP address data can be downloaded from
https://www.iwik.org/ipcountry/, and (3) if the country code is valid.
The function fails gracefully if any of these are not met.check_*()
functions should not be piped.*_ip()
function documentation has clarified the
internet connectivity requirements.{excluder}
package has now been
published in Journal of
Open Source Software. The JOSS badge has been added to the
README.*_ip()
functions are now skipped on CRAN to
avoid timeout delays.{cli}
to generate messages that
more clearly outputs numbers and text.print = FALSE
.*_ip()
functions now include include_na
as
an argument (like *_duplicates()
and
*_location()
functions), so users can decide whether to
include NA values in the data that meet exclusion criteria.keep_exclusion_column()
allows
users to keep the exclusion column in the output from
check_*()
functions and moves the column the first column
in the output. mark_rows()
does the bulk of the work
creating new columns for exclusion criteria and marking rows that meet
the criteria. print_data()
controls whether the output is
printed to the console. print_exclusion()
generates the
message about how many rows were excluded by the
exclude_*()
functions. validate_columns()
validates the number, names, and type of columns that are inputted as
arguments in the verb functions.unite_exclusions()
function now properly removes
multiple separators when multiple exclusion criteria are used.mark_duplicates()
function now properly counts and
includes the correct number of NAs for both IP addresses and locations
and properly prints data.{excluder}
package has now been approved by and
transferred to rOpenSci. The package
was peer reviewed by Joseph O’Brien (@jmobrien) and Julia Silge (@juliasilge), who are now listed as
reviewers in the DESCRIPTION file.mark_durations()
function now marks fast and slow
durations separately.check_*()
functions to the mark_*()
functions.
Thus, check_*()
and exclude_*()
now first call
mark_*()
to mark the rows with exclusion criteria, then
filter the excluded rows. The documentation for check_*()
and exclude_*()
now inherit the arguments from
mark_*()
. This change has been updated in the README and
Getting Started vignette.exclude__*()
functions now have
print = FALSE
and quiet = TRUE
set as default
argument values.rbind()
have been replaced with
bind_cols()
and dplyr::pull()
has been
replaced with [[]]
.all_of()
and any_of()
now refer
to {tidyselect}
rather than {dplyr}
.if()
statements are now more robust by using
identical()
rather than ==
and
&&
instead of &
.{stringr}
package is now imported instead of
suggested.*_ip()
functions and documentation have been
updated to fix a bug/typo to clarify that they mark, check, and exclude
rows with IP addresses outside of the specified country.collapse_exclusions()
has been renamed
unite_exclusions()
to match {tidyverse}
terminology. collapse_exclusions()
is now deprecated and
will be removed in a future version, use unite_exlusions()
.
unite_exlusions()
also switched from using NA to “” for
rows with no exclusions. Combined columns now no longer have leftover
separators.collapse_exclusions()
function. They can also opt to
not remove the excluded columns.collapse_exclusions()
function was fixed,
so now a subset of exclusion columns can be collapsed into a single
column.remove_label_rows()
function was fixed, so
now the Finished column is converted to a logical vector..data
to x
to avoid confusion with the
{rlang}
use of .data
.quo()
and sym()
to create
new names for columns used as arguments, .data[[var]]
is
now used.dupe_count
column was removed from
check_duplicates()
output. Tests were adjusted to account
for the new number of columns.check_duplicates()
now specifies the number of NA
columns.deidentify()
function was added, which removes IP
address, location, and computer information columns.check_qualtrics
argument was removed from
remove_label_rows()
because the functionality did not make
sense. This breaks backwards compatibility.remove_label_rows()
now only filters out label rows if
label rows are present and outputs invisibly.qualtrics_raw
dataset and the
remove_label_rows()
function.remove_label_rows()
now converts character columns to
dates for multiple date formats, including YYYY-MM-DD HH:MM:SS,
YYYY-MM-DD HH:MM, MM:DD:YYYY HH:MM:SS, and MM:DD:YYYY HH:MM (#1).