You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Structures which are actually sections that have children. #535
I'm not sure how to best handle this one, thought I'd see if @waldoj had any ideas. The more that I'm looking into how companies like American Legal store their codes, it doesn't appear that they make a differentiation between structural elements (aside from the top, grouping level) and all children. For instance, there's this in San Francisco, where Section 1 is the parent of the Subsections, but has it's own content and history:
For now the best I can do is represent Sec 1 alongside 1.1, 1.2, etc, but that's less than ideal. It would probably take a significant rewrite to move into a model where everything is merely a node with properties.
I'm afraid that I just get a 500 error for that link. (Oh, American Legal.) Could you just give me a citation, so I can browse to it, since apparently their delightful URLs are session-based? Based on your description, I don't quite understand, but surely if I see it I'll get it.
So what's the problem with representing § 1 alongside § 1.1, § 1.2, etc., in the normal manner? Is it that § 1.1 lacks the context of being an implicit child of § 1, as in the all-sections-in-one layout used by AM Legal? If you look at a printed version of the code, is the relationship between §§ 1 and 1.1 represented any differently (in terms of layout, for instance) than the relationship between §§ 2 and 3? Is there any difference in the relationship between §§ 1 and 1.1 and §§ 8 and 8(a)?
It's that § 1 is actually the parent of § 1.1 for most purposes, rather than a sibling. I've changed my strategery and have hacked metadata onto the Structure to hold that stuff, but in general the issue is the former one, that American Legal's data format just considers everything a Node, and so these shenanigans occur.
Well, there's American Legal's data format, there's American Legal's web-based representation of that data, and then there's how the data is actually represented within the text of the law. I encourage you to get your hands on a print copy of the San Francisco Municipal Codes and see how this information is supposed to be structured. Remember that, just about everywhere, the print version is the official version, and everything else is an afterthought!
:) I really have found that bad online representations of laws can create real confusion, confusion that can be resolved easily by looking at the print version. I hope that proves to be true here!
Activity
waldoj commentedon Mar 19, 2014
I'm afraid that I just get a 500 error for that link. (Oh, American Legal.) Could you just give me a citation, so I can browse to it, since apparently their delightful URLs are session-based? Based on your description, I don't quite understand, but surely if I see it I'll get it.
krusynth commentedon Mar 19, 2014
http://www.amlegal.com/library/ca/sfrancisco.shtml
Business, Article 1, Section 1 (and then 1.1, 1.2, etc)
waldoj commentedon Mar 19, 2014
So what's the problem with representing § 1 alongside § 1.1, § 1.2, etc., in the normal manner? Is it that § 1.1 lacks the context of being an implicit child of § 1, as in the all-sections-in-one layout used by AM Legal? If you look at a printed version of the code, is the relationship between §§ 1 and 1.1 represented any differently (in terms of layout, for instance) than the relationship between §§ 2 and 3? Is there any difference in the relationship between §§ 1 and 1.1 and §§ 8 and 8(a)?
krusynth commentedon Mar 19, 2014
It's that § 1 is actually the parent of § 1.1 for most purposes, rather than a sibling. I've changed my strategery and have hacked metadata onto the Structure to hold that stuff, but in general the issue is the former one, that American Legal's data format just considers everything a Node, and so these shenanigans occur.
waldoj commentedon Mar 19, 2014
Well, there's American Legal's data format, there's American Legal's web-based representation of that data, and then there's how the data is actually represented within the text of the law. I encourage you to get your hands on a print copy of the San Francisco Municipal Codes and see how this information is supposed to be structured. Remember that, just about everywhere, the print version is the official version, and everything else is an afterthought!
krusynth commentedon Mar 19, 2014
Man, I thought I was doing all this so I didn't have to pay for the print version. sigh I'll see if Alex G has a copy next time I'm in SF. ;)
waldoj commentedon Mar 19, 2014
:) I really have found that bad online representations of laws can create real confusion, confusion that can be resolved easily by looking at the print version. I hope that proves to be true here!
waldoj commentedon Aug 10, 2014
@krues8dr, have you found anything more about this?
krusynth commentedon Aug 10, 2014
Nope, hacked it in and ignored it. I'll send an email to SF to ask.
waldoj commentedon Aug 10, 2014
👍 Thanks!