Giter Club home page Giter Club logo

Comments (2)

chadbrewbaker avatar chadbrewbaker commented on July 16, 2024

Ah. I see you did include the scraping scripts, my bad. Still I bet you have some advise on putting these legal documents into a normal form.

from utahcode.

divegeek avatar divegeek commented on July 16, 2024

Hi Chad,

Yeah, the best resource for how I did the scraping is the scripts. Beyond that, I don't know that I have a lot of advice to offer. The problem is that there is no standard and no consistency in how the code is provided. I've been looking into how to scrape the Colorado code (I live in CO now), and it's hosted by LexisNexis in a way that makes scraping very difficult. It also has some copyright notices on it, which have to be legally invalid, but which make me nervous.

What would really be ideal is nicely marked-up XML with CSS to provide all presentation. If you can't find that, an HTML version might be easy enough to clean up -- or not, depending. Plain text is the easiest to work with. You'll notice that the Utah code is managed and distributed in WordPerfect (seriously!) format. That makes sense historically, since Utah was one of the first states to move to electronic management of its code, long before the web came into prominence, and perhaps before it came into existence, and WordPerfect was not only a de-facto standard at the time it was a Utah company. Anyway, if it weren't for the existence of open source WordPerfect file conversion tools, I'd have been dead in the water. Utah also provides an HTML version, but it's pretty ugly HTML. Looks okay on screen, but would be a pain to parse.

Bottom line: You just have to look at the formats that Iowa makes available and figure out which one is the easiest for you to work with.

from utahcode.

Related Issues (4)

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.