As somebody who has had to compile (economic) datasets for public release, I understand that there is cleaning of raw data that needs to happen. However, this needs to happen in a transparent manner, and any transformations should be clearly called out or explained.
For example, if the conclusions are supported by the cleaned data but not the raw data, you need to worry about whether you have accidently written your conclusions in by hand during the cleaning process. One way to investigate this is to have two cleaning scripts, a lax one that only does no-brainer corrections, and a strict one that makes those delicate judgment calls. Then you can reprocess. If lax cleaning of the data supports your conclusions then they are fairly secure. If this sensitivity analysis reveals that the difference between lax and strict cleaning matters to your conclusions, then you groan, because you have waded into muddy waters and things are much harder than you initially thought. Maybe you have to recruit an assistant to clean the data blind, without knowing what the "right" answer is, or maybe you need to go on field trips to do direct checks on instruments.
If your research has important and expensive implications for public policy other people will want to do this kind of sensitivity analysis themselves and reach their own conclusions.
Also I see examples of people being hesitant to publish their data, as data collection is often the hard and lengthy process, and then people are afraid that someone else is going to scoop you on that discovery in your data. This means that people end up being cautious about releasing their data.
Now, I am not defending this behaviour, but I can understand what is happening. Personally I think that science grants should come with requirements for publishing raw data and methods completely openly.
This is science.
The risk of public science being misinterpreted by the public is less serious that the risk of private science being inaccessible to other scientists. The first risk is that the public will make incorrect decisions based on misunderstandings, the second risk is that the "science" will be wrong which can lead to the public making incorrect decisions which they believe to be backed by the leading scientists in the field. This second risk is far more dangerous. Whether non-technical people (including journalists) will misinterpret the data is less relevant. Does it matter whether non-technical people can make sense of Quantum Chromo-Dynamics? or General Relativity? or 2D COSY NMR Spectroscopy? What matters is that scientific theories and the data supporting them are available openly, so that others who can understand them can make use of them and can verify them. Anything else is just opinion masquerading as science.