statedecoded

Legal codes, for humans.

  • Owner: statedecoded/statedecoded
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

The State Decoded

What is The State Decoded?

The State Decoded is a free, open source, web-based application to display laws online. Although it's meant for laws, it'll basically work for any structured legal text. It makes legal text searchable, interconnected, and machine-readable, adding an API, bulk downloads, and powerful semantic analysis tools. With The State Decoded, legal codes become vastly easier to read, more useful, and more open. Here's an actual before-and-after from the Code of Virginia:

Before and After

Can I try it out?

Sure! This project can be seen in action on sites for Virginia, Chicago, San Francisco, and a growing list of others. If you want to install it, you can also download a Vagrant image from GitMachines, or just download and install it from scratch.

Is this ready for prime time?

Quite nearly! The current release is being used in production on a half-dozen different sites, with no serious bugs, and is certainly in good enough shape to be used on websites that aren't official, government-run repositories of the law.

This is a v1.0 release, which is to say that it's functionally complete but may have minor issues. A capable developer who is comfortable with legal terminology should be able to wrangle her laws into this release with a couple of hours of work. There is, however, no built-in upgrade path to new releases. That said, it's easy enough to install a new version and just re-import your site's legal code.

There are two ways.

  1. Natively, The State Decoded imports XML in The State Decoded XML format. If you have your legal code as XML, you can adapt the provided XSLT to transform it into the proper format. Or if you don't have your legal code as XML, you can convert it into XML.
  2. Skip XML entirely and modify the included parser to import it in the format in which you have it.

Project documentation

Project documentation can be found at docs.statedecoded.com, which explains how to install the software, configure it, customize it, use the API, and more. The documentation is stored as a GitHub project, with its content automatically published via Jekyll, so in addition to reading the documentation, you are welcome to make improvements to it!

How to help

  • Use State Decoded sites and share your feedback in the form of filing issues—suggestions for new features, notifications of bugs, etc.
  • Write or edit documentation on the wiki.
  • Read through unresolved issues and comment on those on which you have something to add, to help resolve them.
  • Contribute code to fix bugs or add features.
  • Comb through existing code to clean it up—standardizing code formatting, adding docblocks, or editing/adding comments.

Keep up to date

Follow along on Twitter @StateDecoded, or on the project website at StateDecoded.com.

Supported by

Development of The State Decoded was funded by the John S. and James L. Knight Foundation’s News Challenge.

Main metrics

Overview
Name With Ownerstatedecoded/statedecoded
Primary LanguagePHP
Program languageApacheConf (Language Count: 10)
Platform
License:Other
所有者活动
Created At2011-06-12 03:28:21
Pushed At2021-05-12 00:14:49
Last Commit At2017-04-24 12:01:05
Release Count11
Last Release Name1.0 (Posted on )
First Release Namev0.1 (Posted on 2012-05-31 16:29:02)
用户参与
Stargazers Count256
Watchers Count30
Fork Count53
Commits Count1.8k
Has Issues Enabled
Issues Count638
Issue Open Count85
Pull Requests Count85
Pull Requests Open Count4
Pull Requests Close Count8
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private