Secrecy in science is a corrosive force
ft.com
ft.com
The more dubious situation is when I say "based on my analysis of a massive quantity of data, which took my grad students a whole summer of full-time work to collect and which I won't publish here, I observe the following pattern which is evidence in favor of theory Y". But even in this case, a competing scientist with his or her own graduate students can collect data from different sources, or a different kind of data, and publish a paper saying "hey, the pattern in this other data provides evidence against theory Y".
the people running labs these days are usually 35+; they grew up before google. In a sense, they see the web as a way to do what they've always done faster, as opposed to doing new things. As younger people replace them this will change.
http://en.wikipedia.org/wiki/Open_Notebook_Science
In general you are required to put enough into the methods section of a paper to be able to reproduce the results, but as the computational side gets more and more complex and supplementary data sets get bigger and more complicated, the need to make the raw data and (if possible) code available for people to reproduce the results and/or test the assumptions becomes almost a necessity.
A number of folks are thinking along the publishing side as well. Theres PLoS One (http://plosone.org) and Cell has been doing some very interesting prototyping on the "paper of the future". People have already mentioned JoVE and OpenWetWare. It will happen, but it's going to take a few years. Too many years of established practice.
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.
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.
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.