Federal Register API
federalregister.gov
federalregister.gov
And then there are the state courts of last resort, intermediate appellate courts, and trial courts...each having their own way of publishing decisions. In short, it's often really difficult, if not efficiently impossible, to gain access to public records to perform high-level analyses on them. This is so unfortunate, because at our disposal right now are extremely powerful computers and amazingly robust algorithms that could perform really complex, revealing, and important analyses of litigated issues.
I'm absolutely blown away. If all government websites (especially http://usaspending.gov, http://data.gov, http://itdashboard.gov, http://federalreporting.gov, http://recovery.gov) were this well designed I might start to think that the government was finally catching up.
Can you explain more about your team? Are you an outside company working on contract or are you federal employees? What process and team structure allowed the Federal Register site to be developed like this when so many other .govs are backwards and languishing? How can other federal websites follow your lead?
We're a team of three SF developers (Dave Augustine, Bob Burbach, and myself) working on FederalRegister.gov in our spare time (we have day jobs at airbnb.com and wested.org).
Two years ago we entered a developer competition run by the Sunlight Foundation to use content from the newly-released data.gov clearinghouse to build an open source application; we created http://GovPulse.us, and took second place; traffic grew and we kept working on the site.
Six months later, the Government Printing Office and the Office of the Federal Register contacted us; they wanted to know if we could take GovPulse and expand on it to create a new face for the Federal Register. We jumped at the opportunity, quickly formed a company, and got to work. Last July we launched Federal Register 2.0 and we've been iterating on it ever since.
It's hard to say what the lessons are; but we're definitely not typical government contractors. Largely I think it comes down to having the right people in the agencies who really want to make change, and having strong leadership from above encouraging such change. And I don't think its surprising that the Office of the Federal Register is on the cutting edge for openness--the Federal Register is one of the earliest and most important open-government institutions; and when trying to cut through red tape it doesn't hurt to have a staff comprised largely of regulatory lawyers.
I am a lawyer with a tech background and had ~10 years of experience with (comments on) Federal Rulemaking at the Natural Resources Defense Council. State of the art is still often hundreds of printouts of electronically submitted comments.
And that is on both sides of the coin: implementation itself looks to be very solid (Rails, JSONP, yay!) AND the concept itself is amazing to me. We get 'our' apps (and data) in a format that is open for us to not only use but to contribute to and improve upon!
I definitely hope to see more of this type of stuff in the future...
For examples of what I'm talking about, see http://blog.seliger.com/2008/03/27/grantsgov-lurches-into-th... and http://blog.seliger.com/2009/04/24/from-the-department-of-no... .
But otherwise: great site, really exciting to see stuff like this happening.
It's a little scary, though, that we need an API to list all the federal agencies and rules. Take a look at this:
http://api.federalregister.gov/v1/agencies.json
Grep gives a count of 551 federal agencies. Wow. Each one with millions to billions in annual budget. It'd be interesting to start cross referencing this versus budget and media coverage. You could identify things like "the most well-funded agency you've never heard of".
http://api.federalregister.gov/v1/articles.json
And that list seems to give every new federal rule published in the last day. At 9am Eastern, looks like we already have 20 new federal rules, applicable to every man, woman, and child in the US. Surely some people are now violating laws that just entered effect today. And the amazing thing is that a rule is actually a pretty high bar to clear, much harder to get than a simple guidance document.
I can say that at first glance the Federal Register API is far ahead of DoL which requires API keys, shared secrets, HMAC SHA1 encryption (for _every request_) and other assorted annoyances that made writing the wrapper a pain (it works quite well and easily however). The API in the OP looks much less annoying.
(edit: I've also got a repo with avery rough Clojure wrapper for the same API. Its very rough as it was a self-teaching exercise but it does work: https://github.com/mattdeboard/clj-usdol)
Thank you - I wish everybody did this. API keys go against everything the web is supposed to be about.
http://www.politifact.com/truth-o-meter/promises/obameter/pr...
If not, why not?