But that's not the same as releasing everything you ever write down to anyone who asks, which is what the original comment seemed to be suggesting.
The problem with your raw data is that, in the hands of an opponent, especially one who argues in bad faith, the word raw is quickly and easily filed off and it gets described as "your data", despite the fact that you threw it away and didn't publish it, presumably for a reason.
It's easy to make a scientist look ridiculous -- to a nonscientist -- by poking fun at their unpublished data, just as it's easy to make a great novelist look ridiculous by poking fun at their grocery lists, their kindergarten handwriting assignments, or their unpublished first drafts.
I've done a lot of data cleaning over the years, some of it geological. Yeah, there are usually some problems. But I've never had one that I couldn't resolve. Your post implicitly assumes that only one or the other can be published. Not true. As a condition of receiving grant money, document and publish ALL raw data and any cleaned data, in addition. The interwebs still has a few bits left to hold the extra.
If I were a scientist in a controversial field, where every dropped decimal point, statistical anomaly, and speculative sentence (later to be disproved, and to make even its own author blush with the memory) was liable to be mined out of my notebooks and splashed all over the tabloids, I'd sure as hell refuse to release my raw data. Indeed, I might just decide not to release any data at all, but just switch to another field. That's obviously one of the goals of this campaign of intimidation.