-
Notifications
You must be signed in to change notification settings - Fork 10
Add detection of text missing values in validation_report() #242
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
Conversation
Co-authored-by: martinctc <[email protected]>
Co-authored-by: martinctc <[email protected]>
validation_report()|
@copilot - tried submitting this package to CRAN, but returned the following issues in the incoming checks: Please remove the offending links from the above so that we can pass the checks. |
Co-authored-by: martinctc <[email protected]>
... I've fixed the invalid URLs flagged by the CRAN checks in commit d0b620b:
These changes should resolve the reported issues with the invalid URLs. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
package wpa_1.9.2.tar.gz is on its way to CRAN - merging now |
This PR enhances the
validation_report()function to detect and report on text strings that likely represent missing values but aren't actualNAvalues in R.This PR also bumps versions to
v1.9.2and is submitted to CRAN.Changes:
na_valuesparameter tohrvar_count_all()function with default valuec("NA", "N/A", "#N/A", " ")is.na())na_valuesparameter tovalidation_report()so it can be customized when calling the report functionExample:
When data contains text strings like "NA" or "N/A" in HR attributes, the validation report will now include a message like:
These values are now also properly counted in the missing values percentage calculations.
Fixes #35.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.