cfpb / regulations-site

(DEPRECATED) Web interface for viewing U.S. federal regulations and other regulatory information
Other
28 stars 43 forks source link

Inter-Reg Cross Reference Linking #702

Open ascott1 opened 9 years ago

ascott1 commented 9 years ago

CFPB's Regs J, K and L are intertwined contain cross references to one another. Tool currently does not have the functionality to link between regs. Example shows a reference in Reg J section 1010.4(c) to Reg K section 1011.15(f).

40051934-c75b-11e4-9a50-7d7710338d72

cmc333333 commented 8 years ago

@ascott1 I think the necessary functionality for this lives in the parser. There's an explicit pass it takes to remove any "internal" citations that don't have an entry in the tree. That'd need to be modified to take into account other regulations. Another interesting challenge: which version of the other reg should it link to?

ascott1 commented 8 years ago

which version of the other reg should it link to?

jehlers commented 8 years ago

Another question, is it an internal or "external" link?

willbarton commented 8 years ago

which version of the other reg should it link to?

I have some thoughts that bear no relation to how simple/complex it would be to implement: I would imagine you'd want to link between versions with text that is co-effecitve.

So, J and K have only one version, effecitve 12/30/2011. L has two versions, a 12/30/2011 and 5/3/2012. So, if the section being cited didn't change in the 5/3/2012 version (which is later than 12/30/2011), we can link to it, otherwise link to 12/30/2011.

I'm thinking happy thoughts about this from the user side, because from the back-end, it seems like it'd be... complicated.

cmc333333 commented 8 years ago

That's a really interesting idea @willbarton ; I agree it'd be difficult to implement. Hypothetically, all of the data is present, though