Package: unheadr 0.4.0
unheadr: Handle Data with Messy Header Rows and Broken Values
Verb-like functions to work with messy data, often derived from spreadsheets or parsed PDF tables. Includes functions for unwrapping values broken up across rows, relocating embedded grouping values, and to annotate meaningful formatting in spreadsheet files.
Authors:
unheadr_0.4.0.tar.gz
unheadr_0.4.0.zip(r-4.5)unheadr_0.4.0.zip(r-4.4)unheadr_0.4.0.zip(r-4.3)
unheadr_0.4.0.tgz(r-4.4-any)unheadr_0.4.0.tgz(r-4.3-any)
unheadr_0.4.0.tar.gz(r-4.5-noble)unheadr_0.4.0.tar.gz(r-4.4-noble)
unheadr_0.4.0.tgz(r-4.4-emscripten)unheadr_0.4.0.tgz(r-4.3-emscripten)
unheadr.pdf |unheadr.html✨
unheadr/json (API)
NEWS
# Install 'unheadr' in R: |
install.packages('unheadr', repos = c('https://luisdva.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/luisdva/unheadr/issues
- AOEunits - Statistics for game units in Age of Empires II: Definitive Edition
- AOEunits_raw - Statistics for game units in Age of Empires II: Definitive Edition in a messy presentation
- primates2017 - Comparative data for 54 species of primates
- primates2017_broken - Comparative data for 16 species of primates with some broken values
- primates2017_wrapped - Comparative data for two species of primates
Last updated 6 months agofrom:5cf220b3c9. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 09 2024 |
R-4.5-win | OK | Nov 09 2024 |
R-4.5-linux | OK | Nov 09 2024 |
R-4.4-win | OK | Nov 09 2024 |
R-4.4-mac | OK | Nov 09 2024 |
R-4.3-win | OK | Nov 09 2024 |
R-4.3-mac | OK | Nov 09 2024 |
Exports:%>%annotate_mfannotate_mf_allmash_colnamesregex_valignsquish_newlinesunbreak_rowsunbreak_valsuntangle2unwrap_cols
Dependencies:cellrangerclicpp11crayondplyrfansiforcatsgenericsgluehmslifecyclemagrittrpillarpitonpkgconfigprettyunitsprogresspurrrR6Rcppreadxlrematchrlangstringistringrtibbletidyrtidyselecttidyxlutf8vctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Annotate meaningful formatting | annotate_mf |
Annotate meaningful formatting for all cells | annotate_mf_all |
Statistics for game units in Age of Empires II: Definitive Edition | AOEunits |
Statistics for game units in Age of Empires II: Definitive Edition in a messy presentation | AOEunits_raw |
boutiques.xlsx spreadsheet | boutiques.xlsx |
dog_test.xlsx spreadsheet | dog_test.xlsx |
Make many header rows into column names | mash_colnames |
Comparative data for 54 species of primates | primates2017 |
Comparative data for 16 species of primates with some broken values | primates2017_broken |
Comparative data for two species of primates | primates2017_wrapped |
Vertical character string alignment through regular expressions | regex_valign |
Deduplicate and remove trailing line breaks | squish_newlines |
Merge rows up | unbreak_rows |
Unbreak values using regex to match the lagging half of the broken value | unbreak_vals |
Rectangling embedded subheaders | untangle2 |
Unwrap values and clean up NAs used as padding | unwrap_cols |