larmarange / labelled

Manipulating labelled vectors in R
https://larmarange.github.io/labelled/
GNU General Public License v3.0
73 stars 16 forks source link

new functions `update_variable_labels_with()` #158

Closed larmarange closed 6 months ago

larmarange commented 6 months ago

and update_value_labels_with() allowing to update variable/value labels with a custom function

fix #153

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.85%. Comparing base (c725f53) to head (d86f369).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/larmarange/labelled/pull/158/graphs/tree.svg?width=650&height=150&src=pr&token=O6pU16FOqH&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange)](https://app.codecov.io/gh/larmarange/labelled/pull/158?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange) ```diff @@ Coverage Diff @@ ## main #158 +/- ## ========================================== + Coverage 93.72% 93.85% +0.12% ========================================== Files 17 18 +1 Lines 1148 1171 +23 ========================================== + Hits 1076 1099 +23 Misses 72 72 ``` | [Files](https://app.codecov.io/gh/larmarange/labelled/pull/158?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange) | Coverage Δ | | |---|---|---| | [R/update\_with.R](https://app.codecov.io/gh/larmarange/labelled/pull/158?src=pr&el=tree&filepath=R%2Fupdate_with.R&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joseph+Larmarange#diff-Ui91cGRhdGVfd2l0aC5S) | `100.00% <100.00%> (ø)` | |