Formatted spreadsheets can still work in R
luisdva.github.io
luisdva.github.io
> Using text color (and nothing else) to indicate units. (Example: black in pounds, green in kilograms).
If you're starting with that kind of data-quality, what confidence can you have in the rest of it, even if the rest "appears" more normal?
To expand my thoughts further:
Data quality is like water-quality. If you find something bad in your water source, you're not going to think that you'll be okay just picking it out and carrying on with the rest. You need to have a proper process to treat it and more importantly, need to investigate the upstream source of the bad data.
>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.
But of course if inconsistency in the data is found it is further analyzed whether if it was a small mistake intentional wrong doing.
However, whenever I encounter this with a customer, I’ll take the challenge, show how much a burden it is to manage and how much more it will cost in the long run to maintain in the event the tiny bit of metadata would change inadvertently.
Usually, the customer is listening then for some guidance on how to (not) format spreadsheets and use them as clean db tables.
Then you got clean data easily ingestible. And the customer knows a thing or two about data management. Win-win for everyone.
Do you have reason to believe it is open-source/free ?
There is lottery.number, lottery.payoff, lottery2, lottery3. Further info is provided in the 1988 book The new S language: a programming environment for data analysis and graphics by Becker, Chambers & Wilks.