Citations

Citations used for cross-referencing caselaw.

class justopinion.citations.CAPCitation(**data)

A case citation generated by the Case Access Project.

Not to be confused with a CaseCitation created by the Eyecite library.

Parameters
  • cite – The text making up the citation.

  • reporter – Identifier for the reporter cited to.

  • category – The type of document cited, e.g. “reporters:federal”

  • case_ids – A list of Case Access Project IDs for the cited case.

  • type – The kind of citation, e.g. “official”

justopinion.citations.normalize_case_cite(cite)

Get just the text that identifies a citation.

Return type

str