GOVERNMENTS have learned a cheap new way to improve people’s lives. Here is the basic recipe:

Take data that you and I have already paid a government agency to collect, and post it online in a way that computer programmers can easily use. Then wait a few months. Voilà! The private sector gets busy, creating Web sites and smartphone apps that reformat the information in ways that are helpful to consumers, workers and companies.

Not surprisingly, San Francisco, with its proximity to Silicon Valley, has been a pioneer in these efforts. For some years, Bay Area transit systems had been tracking the locations of their trains and buses via onboard GPS. Then someone got the bright idea to post that information in real time. Thus the delightful app Routesy was born. Install it on a smartphone and the app can tell you that your bus is stuck in traffic and will be 10 minutes late  or it can help you realize that you are standing on the wrong street, dummy. It gives consumers a great new way to find out when and where the bus is coming, and all at minimal government expense.

Another example involves weather data produced by the National Oceanographic and Atmospheric Administration. The forecasts you find on the Weather Channel, or on the evening news or online, use the agency’s information. Again, the government produces and releases raw data, and the private sector transforms it into something useful for the public.

Several other departments in the Obama administration are looking to expand the use of such techniques. On data.gov, you will find huge amounts of downloadable data that had heretofore been inaccessible. As a sign of the importance that President Obama has attached to this approach, he put it on the government’s agenda on Jan. 21, 2009, his second day in office. (Disclosure: My book, “Nudge,” published in 2008, advocated this broad idea; Cass R. Sunstein, co-author of the book, is now administrator of the White House Office of Information and Regulatory Affairs.)