Package: salty 0.1.1
salty: Turn Clean Data into Messy Data
Take real or simulated data and salt it with errors commonly found in the wild, such as pseudo-OCR errors, Unicode problems, numeric fields with nonsensical punctuation, bad dates, etc.
Authors:
salty_0.1.1.tar.gz
salty_0.1.1.zip(r-4.5)salty_0.1.1.zip(r-4.4)salty_0.1.1.zip(r-4.3)
salty_0.1.1.tgz(r-4.4-any)salty_0.1.1.tgz(r-4.3-any)
salty_0.1.1.tar.gz(r-4.5-noble)salty_0.1.1.tar.gz(r-4.4-noble)
salty_0.1.1.tgz(r-4.4-emscripten)salty_0.1.1.tgz(r-4.3-emscripten)
salty.pdf |salty.html✨
salty/json (API)
NEWS
# Install 'salty' in R: |
install.packages('salty', repos = c('https://mdlincoln.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mdlincoln/salty/issues
Last updated 3 months agofrom:ed9d2688af. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 21 2024 |
R-4.5-win | OK | Nov 21 2024 |
R-4.5-linux | OK | Nov 21 2024 |
R-4.4-win | OK | Nov 21 2024 |
R-4.4-mac | OK | Nov 21 2024 |
R-4.3-win | OK | Nov 21 2024 |
R-4.3-mac | OK | Nov 21 2024 |
Exports:available_shakersinspect_shakerreplacement_shakersalt_capitalizationsalt_decimal_commassalt_deletesalt_digitssalt_emptysalt_insertsalt_letterssalt_nasalt_ocrsalt_punctuationsalt_replacesalt_substitutesalt_swapsalt_whitespaceshaker
Dependencies:assertthatcligluelifecyclemagrittrpurrrrlangstringistringrvctrs
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Access the original source vector for a given shaker function | inspect_shaker |
Sample a proportion of indices of a vector | p_indices |
Salt vectors with common data problems | salt salt_capitalization salt_decimal_commas salt_digits salt_letters salt_ocr salt_punctuation salt_whitespace |
Delete some characters from some values | salt_delete |
Insert new characters into some values in a vector | salt_insert |
Remove entire values from a vector | salt_empty salt_na |
Replace certain patterns into some values in a vector | salt_replace |
Substitute certain characters in a vector | salt_substitute |
Randomly swap out entire values in a vector | salt_swap |
salty: Turn Clean Data Into Messy Data | salty |
Get a set of values to use in 'salt_' functions | available_shakers replacement_shaker shaker |