Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some laws have no identifiers—now what? #32

Open
waldoj opened this issue Jul 24, 2016 · 1 comment
Open

Some laws have no identifiers—now what? #32

waldoj opened this issue Jul 24, 2016 · 1 comment

Comments

@waldoj
Copy link
Member

waldoj commented Jul 24, 2016

The solution to #29 highlighted that there are some really weird laws out there, in terms of their XML. For instance, § 54.1-3040.5 has a weird header. Normally a law's header looks like this:

<anchor id="_1-2" />
<heading>
   <desig>§ 1-2.</desig>
   <title>Effective date of Code</title>
</heading>

But § 54.1-3040.5 looks like this:

<heading>
   <title>§ 54.1-3040.5. (Contingent effective date -- see note) Additional authorities invested in party state licensing boards</title>
</heading>

So we have no desig, no id, the result of which is that we're inserting a law with no identifier whatsoever.

Further, instead of having the text contained within <level levelType="section">, it is within <level levelType="hierarchy-note">

This import is still underway, but there are already 144 sections without any identifier.

This is tough to solve, because there is no desig. We can't use the identifier in title, because every other law includes no identifier in the title field. This might just need to be chalked up to an upstream problem that we cannot deal with—it is up to Lexis-Nexis to fix it.

@krusynth
Copy link
Collaborator

I solve this at the State class level on American Legal, as every section appears with the section number and title as one field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants