Skip to content

Commit

Permalink
add missing PR numbers in NEWS
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Jan 7, 2025
1 parent db6722c commit eea1187
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ BREAKING CHANGES AND DEPRECATIONS
* *datawizard* now requires R >= 4.0 (#515).

* Argument `drop_na` in `data_match()` is deprecated now. Please use
`remove_na` instead.
`remove_na` instead (#556).

* In `data_rename()` (#567):
- argument `pattern` is deprecated. Use `select` instead.
Expand All @@ -17,39 +17,40 @@ BREAKING CHANGES AND DEPRECATIONS
must be named, e.g. `c(length = "Sepal.Length", "Sepal.Width")` errors.

* Order of arguments `by` and `probability_weights` in `rescale_weights()` has
changed, because for `method = "kish"`, the `by` argument is optional.
changed, because for `method = "kish"`, the `by` argument is optional (#575).

* The name of the rescaled weights variables in `rescale_weights()` have been
renamed. `pweights_a` and `pweights_b` are now named `rescaled_weights_a`
and `rescaled_weights_b`.
and `rescaled_weights_b` (#575).

* `print()` methods for `data_tabulate()` with multiple sub-tables (i.e. when
length of `by` was > 1) were revised. Now, an integrated table instead of
multiple tables is returned. Furthermore, `print_html()` did not work, which
was also fixed now.
was also fixed now (#577).

* `demean()` (and `degroup()`) gets an `append` argument that defaults to `TRUE`,
to append the centered variables to the original data frame, instead of
returning the de- and group-meaned variables only. Use `append = FALSE` to
for the previous default behaviour (i.e. only returning the newly created
variables).
variables) (#579).

CHANGES

* `rescale_weights()` gets a `method` argument, to choose method to rescale
weights. Options are `"carle"` (the default) and `"kish"`.
weights. Options are `"carle"` (the default) and `"kish"` (#575).

* The `select` argument, which is available in different functions to select
variables, can now also be a character vector with quoted variable names,
including a colon to indicate a range of several variables (e.g. `"cyl:gear"`).
including a colon to indicate a range of several variables (e.g. `"cyl:gear"`)
(#551).

* New function `row_sums()`, to calculate row sums (optionally with minimum
amount of valid values), as complement to `row_means()`.
amount of valid values), as complement to `row_means()` (#552).

* New function `row_count()`, to count specific values row-wise.
* New function `row_count()`, to count specific values row-wise (#553).

* `data_read()` no longer shows warning about forthcoming breaking changes
in upstream packages when reading `.RData` files.
in upstream packages when reading `.RData` files (#557).

* `data_modify()` now recognizes `n()`, for example to create an index for data
groups with `1:n()` (#535).
Expand Down

0 comments on commit eea1187

Please sign in to comment.