https://github.com/danielvartan/groomr
🧹 Tidy Tools
https://github.com/danielvartan/groomr
data-cleaning data-munging r r-package string-manipulation
Last synced: 4 months ago
JSON representation
🧹 Tidy Tools
- Host: GitHub
- URL: https://github.com/danielvartan/groomr
- Owner: danielvartan
- License: other
- Created: 2023-06-23T05:01:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-31T06:52:33.000Z (7 months ago)
- Last Synced: 2025-04-12T23:47:24.612Z (6 months ago)
- Topics: data-cleaning, data-munging, r, r-package, string-manipulation
- Language: R
- Homepage: https://danielvartan.github.io/groomr/
- Size: 1.6 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codemeta: codemeta.json
Awesome Lists containing this project
- jimsghstars - danielvartan/groomr - 🧹📄 Tools to tidy strings and text files (R)
README
[](https://www.repostatus.org/#active)
[](https://github.com/danielvartan/groomr/actions)
[](https://app.codecov.io/gh/danielvartan/groomr)
[](https://choosealicense.com/licenses/mit/)
[](CODE_OF_CONDUCT.md)## Overview
`groomr` is an R package designed to help you tidy and organize R
objects and files efficiently. It provides a set of functions for
cleaning, renaming, splitting, and managing files and data, making your
workflows more streamlined and reproducible.> If you find this project useful, please consider giving it a star! Â
> [](https://github.com/danielvartan/groomr/)## Installation
You can install `groomr` using the
[`remotes`](https://github.com/r-lib/remotes) package:``` r
remotes::install_github("danielvartan/groomr")
```## Usage
Here are some functions that you can use with `groomr`:
- [`make_machine_readable()`](https://danielvartan.github.io/groomr/reference/make_machine_readable.html):
Make a string machine-readable.
- [`normalize_names()`](https://danielvartan.github.io/groomr/reference/normalize_names.html):
Make file and directory names machine-readable.
- [`remove_blank_line_dups()`](https://danielvartan.github.io/groomr/reference/remove_blank_line_dups.html):
Remove blank lines duplicates in files.
- [`replace_in_file()`](https://danielvartan.github.io/groomr/reference/replace_in_file.html):
Replace a pattern in files.
- [`sort_files_by_size()`](https://danielvartan.github.io/groomr/reference/sort_files_by_size.html):
Sort files based on their size.
- [`split_by_pattern()`](https://danielvartan.github.io/groomr/reference/split_by_pattern.html):
Split a character vector by a pattern.
- [`split_file()`](https://danielvartan.github.io/groomr/reference/split_file.html):
Split a single file into `n` parts.
- [`split_files_by_size()`](https://danielvartan.github.io/groomr/reference/split_files_by_size.html):
Split files based on their size.
- [`to_title_case_pt()`](https://danielvartan.github.io/groomr/reference/to_title_case_pt.html):
Convert to title case considering Portuguese rules.
- [`zip_files_by_pattern()`](https://danielvartan.github.io/groomr/reference/zip_files_by_pattern.html):
Zip files by a pattern.Click [here](https://danielvartan.github.io/groomr/) to see the full
list.## License
[](https://choosealicense.com/licenses/mit/)
`groomr` code is released under the [MIT
license](https://opensource.org/license/mit).## Contributing
[](CODE_OF_CONDUCT.md)
Contributions are welcome, including bug reports. Take a moment to
review the [Guidelines for
Contributing](https://danielvartan.github.io/groomr/CONTRIBUTING.html).[](https://github.com/sponsors/danielvartan)
You can also support the development of `groomr` by becoming a sponsor.
Click [here](https://github.com/sponsors/danielvartan) to make a
donation. Please mention `groomr` in your donation message.