CDRH/earlywashingtondc

Supplementary Documents that are cases

Closed this issue · 4 comments

This will probably have to wait until v2. But I noticed that in the cases from Maryland--i.e. category=Supplementary Documents--all of the case documents are showing up under Related Documents because they do not have a category=Case Papers (which we are using for the cases from the DC court).

See http://rosie.unl.edu/earlywashingtondc/cases/oscys.caseid.0338

In the future, we may want to figure out a way to make the documents for supplementary cases appear under Case Documents instead of Related Documents on their case page.

So is this just a "fix the TEI" issue, or will we need to change the ingest?

Right now, the rule that determines if something is a main vs related doc is this:

//keywords[@n='category']) = 'Case Papers'

So if I need to change that rule, just let me know.

It's not a matter of TEI. //keywords[@n='category']) = 'Case Papers' is only used for the documents from the DC Court.

But we have Supplementary Documents that are also case files from other courts. Right now, they are showing up as Related Documents on their case page, even though they are technically Case Documents.

Some new code will have to be written to account for that, which is why I placed this under v2.

@kacinash I'm afraid I don't entirely grasp how this issue can be fixed. Do you know if there are any logical rules we could use to set whether something is a case document or a related document? I think this would probably need to be changed during the part of the post script that adds documents to caseid files....like maybe if jurisdiction is not DC, then automatically it is a related document or something like that?

Let's just forget about this then.