I'm really tempted to collect the XML files and put them on github, with periodic checkpoints to update it with the latest. Watching the evolution of law over time is a fascinating thing and using SW engineering tools to help would be really fun.
Please do! This is the kind of thing that hatches in my mind as a great idea, but withers due to a total lack of follow-up.
The entire US Code is now online in XML
11–20 of 244 posts
Re: The entire US Code is now online in XML
#12For those of us who don't know anything about it, what are the uses of machine readable law?
Right now lots of people do this manually.
Maybe computers can do it better.
If computers can do it better, maybe people could focus on writing new laws and refactoring old ones instead of repeatedly interpreting old laws for each case.
Re: The entire US Code is now online in XML
#13XML? this should be in json!
As the schema guide explains, in 1999 they picked XML based on the study from 1996: "Following a 1999 feasibility study on XML/SGML, the Committee on House Administration adopted XML as a data standard for the exchange of legislative documents" http://uscodebeta.house.gov/download/resources/USLM-User-Gui... It took the US Govt 17 years to release 200,000 pages of the US code in XML.
Re: The entire US Code is now online in XML
#14XML? this should be in json!
As the schema guide explains, in 1999 they picked XML based on the study from 1996: "Following a 1999 feasibility study on XML/SGML, the Committee on House Administration adopted XML as a data standard for the exchange of legislative documents" http://uscodebeta.house.gov/download/resources/USLM-User-Gui... It took the US Govt 17 years to release 200,000 pages of the US code in XML.
Re: The entire US Code is now online in XML
#15I'm really tempted to collect the XML files and put them on github, with periodic checkpoints to update it with the latest. Watching the evolution of law over time is a fascinating thing and using SW engineering tools to help would be really fun.
Re: The entire US Code is now online in XML
#16Earlier quoted context omitted.
Please do! This is the kind of thing that hatches in my mind as a great idea, but withers due to a total lack of follow-up.
It would also be fascinating to see the visualizations of this evolution. And perhaps by matching it with the voting data from congress, one could track the footprint of each congressman.
Re: The entire US Code is now online in XML
#17Re: The entire US Code is now online in XML
#18XML? this should be in json!
As the schema guide explains, in 1999 they picked XML based on the study from 1996: "Following a 1999 feasibility study on XML/SGML, the Committee on House Administration adopted XML as a data standard for the exchange of legislative documents" http://uscodebeta.house.gov/download/resources/USLM-User-Gui... It took the US Govt 17 years to release 200,000 pages of the US code in XML.
Interchanging formats should be relatively easy. Back in 1999, json wasn't even around.
IMO in today's API centric, and javascript ruled world. json would be a lot more useful.
Re: The entire US Code is now online in XML
#19I'm really tempted to collect the XML files and put them on github, with periodic checkpoints to update it with the latest. Watching the evolution of law over time is a fascinating thing and using SW engineering tools to help would be really fun.
I was under the impression law is essentially "append only". New laws override existing laws, but the text of the existing law never changes.
"When sections are repealed, their text is deleted and replaced by a note summarizing what used to be there." https://en.wikipedia.org/wiki/United_States_Code#Treatment_o...
Re: The entire US Code is now online in XML
#20XML? this should be in json!