-
Notifications
You must be signed in to change notification settings - Fork 11
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
Make validation more explicit #125
Comments
Thanks for the suggestion. Can you clarify what you mean with validation, since this R package does not offer full validation like frictionless-py. That said, it is possible to get warnings when reading a resource that doesn’t match the provided table schema. Note that:
For example, a schema might have 3 fields defined, while the data has only 2 columns. This mismatch can lead to readr (and therefore this package) to return a warning. Is this the validation you refer to? |
Yes, exactly. Thanks. It would be good to also point out the difference, and any reasons (if it's by design) why a |
I assume that with “point out the difference”, you mean the difference between this R package and frictionless-py.
Regarding clarifying the cause of sometimes obscure warnings returned by readr:
I’m in favour of implementing 1 and 3, would that be sufficient? Ping @PietrH |
@loleg I have discussed this in person with @PietrH. We decided the following:
|
Sorry for the slow reply. That looks to me like a more than reasonable proposal! Anything I could help with? |
Thanks, I will close this overarching issue. The remaining subtasks are part of https://github.com/frictionlessdata/frictionless-r/milestone/4 and will (with the already implemented changes) be included in version 1.1.0. @PietrH and I will probably get to that during the summer, but you are welcome to tackle #127 if you want. |
None of the documentation mentions when validation happens, though it's a key value add of this package. I would also suggest adding a native call to show the issues from the validator. At least a code snippet like this could be a useful example to tell people how to use readr to check their Data Package:
The text was updated successfully, but these errors were encountered: