by ziddoap · 2y ago · 0 comments
>I then use the function pointblank::test_col_vals_in_set from the pointblank package to detect if there are any issues by setting no_issue to be either TRUE or FALSE.
>If there are any issues, I will isolate and display them.
>I will then correct the invalid dates accordingly and proceed. We just assume that the date was supposed to be 31-01-2017.
https://jeremy-selva.netlify.app/blog/2024-02-15-tackling-fo...
Automating that process (invalidation followed by filtering) is even worse, it will merely mask data quality issues when you want the opposite, to grind everything to a halt until you get workable and realistic data.
Perhaps I'm not "realistic" enough about real world data to work in data analytics. The frustration from ignoring bad data was a large part of why I quit data analysis for software development around 15 years ago.
But, more importantly, I think the blog is focused more on the practical "here's how to do x with some code", and less about the theory of data science.