module documentation

Some information about the gerechtcodes that are used in ECLIs.

Note that this overlaps with the output of wetsuite.datacollect.rechtspraaknl.parse_instanties(), but this module hardcodes its own information so is fast and does not rely on the network.

Function case_insensitive_lookup Looksup information about a gerechtscode as is used in ECLI.
Variable data nested dict with gerecthtcode data that the lookup function looks in
def case_insensitive_lookup(code_text: str):

Looksup information about a gerechtscode as is used in ECLI.

Case insensitive lookup, in part because ECLI is technically case insensitive.

Parameters
code_text:stra gerechtscode stringm such as 'GHARL'
Returns

either None, or a a dict with some details like:

    {'abbrev': 'GHARL',
     'extra': ['gerechtshof'],
     'name': 'Gerechtshof Arnhem-Leeuwarden'}
data: dict[str, dict] =

nested dict with gerecthtcode data that the lookup function looks in