Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data wrangling / formatting package outsourced from scrutiny #65

Open
lhdjung opened this issue Mar 9, 2024 · 0 comments
Open

Data wrangling / formatting package outsourced from scrutiny #65

lhdjung opened this issue Mar 9, 2024 · 0 comments

Comments

@lhdjung
Copy link
Owner

lhdjung commented Mar 9, 2024

If we outsource multiple new "backend packages", as proposed in ianhussey/ERROR#6, one of them should be dedicated to data wrangling and formatting. However, it would also be a core (i.e., user-facing) package because data wrangling is needed in both internal development code and analysis scripts.

The new package would be focused on the idea of "number-strings" as defined in the docs of is_numeric_like(): "strings that can be coerced to numeric without introducing new NAs". Such strings are needed because many scrutiny / errorverse functions care about trailing zeros. However, some data wrangling functions might be relevant to the errorverse for reasons other than number-strings, such as row_to_colnames().

Functions to include in the new package

To assess number-string-like properties of objects:

Dedicated "data wrangling" functions:

Others?

lhdjung added a commit to lhdjung/numberstrings that referenced this issue Sep 24, 2024
* This completes the list of functions at lhdjung/scrutiny#65, with one exception: `split_by_parens()` is meant to be superseded by `separate_wider_parens()`, and to avoid confusion, `split_by_parens()` will be left in scrutiny instead of being copied here.
* `check_new_args_without_dots()` no longer checks for `split_by_parens()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant