Coder Social home page Coder Social logo

joshdata / dc-code-prototype Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 6.0 30.21 MB

Unofficial Code of the District of Columbia in XML, produced under contract with the Council of the District of Columbia. Last updated in 2014.

License: Creative Commons Zero v1.0 Universal

dc-code-prototype's People

Contributors

joshdata avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dc-code-prototype's Issues

XSD?

I'm not going to be that guy, but I will start the ticket. Any XML document eventually wins itself a schema and the attendant standardification.

Clean up the <text> classes

The form, formc, table, tablec, and PlainText attributes are coming from the data source. Not sure what they mean.

Parser/generator?

How were these files generated? For any new formats it's always nice to have reference implementations.

Tombstones

What I called placeholders (section-like files for repealed sections) are called tombstones in other jurisdictions, apparently.

<level> type

I wonder if there's a way to make two containers: (1) law contents; and (2) law annotations. That way, it's easier to traverse the XML. Don't know whether this is a bad idea for other reasons, but it would be nice to be able to just select the contents of the law and not have to worry about children, siblings, etc.

Text as CDATA?

I'm not sure, but it seems like having an XML->seamlesslyinto->HTML format might be problematic for parsing - I wonder if text contents should usually/aways be wrapped in CDATA blocks?

Internal references

Since links to internal references to other Code sections are generated through (I assume) regular expressions, some sections get left unlinked... see, e.g. 50-1501.02(c)(5)(B)(vii).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.