From 01932e0828703970f9e7bf61353f1199c470670d Mon Sep 17 00:00:00 2001 From: Nick Jackson Date: Wed, 18 Sep 2024 15:43:17 +0100 Subject: [PATCH] fix(FCL-299): remove incorrect end_year values for courts These courts did _not_ end in the year given, and claiming they did is causing data errors elsewhere. --- courts.md | 72 +++++++++++----------- src/ds_caselaw_utils/data/court_names.yaml | 36 ----------- 2 files changed, 36 insertions(+), 72 deletions(-) diff --git a/courts.md b/courts.md index 0cd78df..863bf27 100644 --- a/courts.md +++ b/courts.md @@ -7,97 +7,97 @@ | Name | Code | Param | Start | End | | --- | --- | --- | --- | --- | -| United Kingdom Supreme Court | UKSC | uksc | 2014 | 2022 | +| United Kingdom Supreme Court | UKSC | uksc | 2014 | – | ## privy_council | Name | Code | Param | Start | End | | --- | --- | --- | --- | --- | -| Privy Council | UKPC | ukpc | 2014 | 2022 | +| Privy Council | UKPC | ukpc | 2014 | – | ## Court of Appeal (court_of_appeal) | Name | Code | Param | Start | End | | --- | --- | --- | --- | --- | -| Civil Division | EWCA-Civil | ewca/civ | 2003 | 2022 | -| Criminal Division | EWCA-Criminal | ewca/crim | 2003 | 2022 | +| Civil Division | EWCA-Civil | ewca/civ | 2003 | – | +| Criminal Division | EWCA-Criminal | ewca/crim | 2003 | – | ## High Court (England & Wales) (high_court) | Name | Code | Param | Start | End | | --- | --- | --- | --- | --- | -| Administrative Court | EWHC-QBD-Admin | ewhc/admin | 2003 | 2022 | -| Administrative Court | EWHC-KBD-Admin | ewhc/admin | 2022 | 2022 | -| Admiralty Court | EWHC-QBD-Admiralty | ewhc/admlty | 2003 | 2022 | -| Admiralty Court | EWHC-KBD-Admiralty | ewhc/admlty | 2022 | 2022 | +| Administrative Court | EWHC-QBD-Admin | ewhc/admin | 2003 | – | +| Administrative Court | EWHC-KBD-Admin | ewhc/admin | 2022 | – | +| Admiralty Court | EWHC-QBD-Admiralty | ewhc/admlty | 2003 | – | +| Admiralty Court | EWHC-KBD-Admiralty | ewhc/admlty | 2022 | – | | Business and Property Courts | EWHC-QBD-BusinessAndProperty | – | – | – | | Business and Property Courts | EWHC-KBD-BusinessAndProperty | – | – | – | | Business and Property Courts | EWHC-Chancery-BusinessAndProperty | – | – | – | | Business List | EWHC-Chancery-Business | – | – | – | | High Court (Chancery Appeals) | EWHC-Chancery-Appeals | – | – | – | -| Chancery Division | EWHC-Chancery | ewhc/ch | 2003 | 2022 | +| Chancery Division | EWHC-Chancery | ewhc/ch | 2003 | – | | Circuit Commercial Court | EWHC-QBD-Commercial-Circuit | – | – | – | | Circuit Commercial Court | EWHC-KBD-Commercial-Circuit | – | – | – | -| Commercial Court | EWHC-QBD-Commercial | ewhc/comm | 2003 | 2022 | -| Commercial Court | EWHC-KBD-Commercial | ewhc/comm | 2022 | 2022 | -| Family Division | EWHC-Family | ewhc/fam | 2003 | 2022 | +| Commercial Court | EWHC-QBD-Commercial | ewhc/comm | 2003 | – | +| Commercial Court | EWHC-KBD-Commercial | ewhc/comm | 2022 | – | +| Family Division | EWHC-Family | ewhc/fam | 2003 | – | | Financial List | EWHC-QBD-Commercial-Financial | – | – | – | | Financial List | EWHC-KBD-Commercial-Financial | – | – | – | | Financial List | EWHC-Chancery-Financial | – | – | – | | Insolvency and Companies List | EWHC-Chancery-InsolvencyAndCompanies | – | – | – | -| Intellectual Property Enterprise Court | EWHC-Chancery-IPEC | ewhc/ipec | 2003 | 2022 | +| Intellectual Property Enterprise Court | EWHC-Chancery-IPEC | ewhc/ipec | 2003 | – | | Intellectual Property List | EWHC-Chancery-IntellectualProperty | – | – | – | -| King's / Queen's Bench Division | EWHC-KBD | ewhc/kb | 2003 | 2022 | -| King's Bench Division | EWHC-KBD | ewhc/kb | 2022 | 2022 | +| King's / Queen's Bench Division | EWHC-KBD | ewhc/kb | 2003 | – | +| King's Bench Division | EWHC-KBD | ewhc/kb | 2022 | – | | Mercantile Court | EWHC-Mercantile | ewhc/mercantile | 2008 | 2014 | -| Patents Court | EWHC-Chancery-Patents | ewhc/pat | 2003 | 2022 | +| Patents Court | EWHC-Chancery-Patents | ewhc/pat | 2003 | – | | Queen's Bench Division | EWHC-QBD | ewhc/qb | 2003 | 2022 | | Planning Court | EWHC-QBD-Planning | – | – | – | | Planning Court | EWHC-KBD-Planning | – | – | – | | Property, Trusts and Probate List | EWHC-Chancery-PropertyTrustsProbate | – | – | – | -| Senior Courts Costs Office | EWHC-SeniorCourtsCosts | ewhc/scco | 2003 | 2022 | -| Technology and Construction Court | EWHC-QBD-TCC | ewhc/tcc | 2003 | 2022 | -| Technology and Construction Court | EWHC-KBD-TCC | ewhc/tcc | 2022 | 2022 | +| Senior Courts Costs Office | EWHC-SeniorCourtsCosts | ewhc/scco | 2003 | – | +| Technology and Construction Court | EWHC-QBD-TCC | ewhc/tcc | 2003 | – | +| Technology and Construction Court | EWHC-KBD-TCC | ewhc/tcc | 2022 | – | ## Other Courts (lower_courts) | Name | Code | Param | Start | End | | --- | --- | --- | --- | --- | -| Crown Court | EWCR | ewcr | 2024 | 2024 | -| County Court | EWCC | ewcc | 2024 | 2024 | -| Family Court | EWFC | ewfc | 2009 | 2022 | -| Family Court (B - district and circuit judges) | EWFC-B | ewfc/b | 2009 | 2022 | -| Court of Protection | EWCOP | ewcop | 2009 | 2022 | -| Court of Protection (Tier 1 - district judges) | EWCOP-T1 | ewcop/t1 | 2009 | 2022 | -| Court of Protection (Tier 2 - circuit judges) | EWCOP-T2 | ewcop/t2 | 2009 | 2022 | -| Court of Protection (Tier 3 - high court judges) | EWCOP-T3 | ewcop/t3 | 2009 | 2022 | +| Crown Court | EWCR | ewcr | 2024 | – | +| County Court | EWCC | ewcc | 2024 | – | +| Family Court | EWFC | ewfc | 2009 | – | +| Family Court (B - district and circuit judges) | EWFC-B | ewfc/b | 2009 | – | +| Court of Protection | EWCOP | ewcop | 2009 | – | +| Court of Protection (Tier 1 - district judges) | EWCOP-T1 | ewcop/t1 | 2009 | – | +| Court of Protection (Tier 2 - circuit judges) | EWCOP-T2 | ewcop/t2 | 2009 | – | +| Court of Protection (Tier 3 - high court judges) | EWCOP-T3 | ewcop/t3 | 2009 | – | ## investigatory_powers_tribunal | Name | Code | Param | Start | End | | --- | --- | --- | --- | --- | -| Investigatory Powers Tribunal | UKIPT | ukiptrib | 2024 | 2024 | +| Investigatory Powers Tribunal | UKIPT | ukiptrib | 2024 | – | ## employment_appeal_tribunal | Name | Code | Param | Start | End | | --- | --- | --- | --- | --- | -| Employment Appeal Tribunal | EAT | eat | 2021 | 2022 | +| Employment Appeal Tribunal | EAT | eat | 2021 | – | ## Upper Tribunals (upper_tribunals) | Name | Code | Param | Start | End | | --- | --- | --- | --- | --- | -| Administrative Appeals Chamber | UKUT-AAC | ukut/aac | 2022 | 2022 | -| Immigration and Asylum Chamber | UKUT-IAC | ukut/iac | 2003 | 2022 | +| Administrative Appeals Chamber | UKUT-AAC | ukut/aac | 2022 | – | +| Immigration and Asylum Chamber | UKUT-IAC | ukut/iac | 2003 | – | | Asylum & Immigration Tribunal | UKAIT | ukait | 2003 | 2010 | -| Lands Chamber | UKUT-LC | ukut/lc | 2015 | 2022 | -| Tax and Chancery Chamber | UKUT-TCC | ukut/tcc | 2017 | 2022 | +| Lands Chamber | UKUT-LC | ukut/lc | 2015 | – | +| Tax and Chancery Chamber | UKUT-TCC | ukut/tcc | 2017 | – | ## First-tier Tribunals (first_tier_tribunals) | Name | Code | Param | Start | End | | --- | --- | --- | --- | --- | -| Employment Tribunal | ET | – | 2022 | 2022 | -| General Regulatory Chamber | UKFTT-GRC | ukftt/grc | 2022 | 2022 | -| Tax Chamber | UKFTT-TC | ukftt/tc | 2022 | 2022 | +| Employment Tribunal | ET | – | 2022 | – | +| General Regulatory Chamber | UKFTT-GRC | ukftt/grc | 2022 | – | +| Tax Chamber | UKFTT-TC | ukftt/tc | 2022 | – | diff --git a/src/ds_caselaw_utils/data/court_names.yaml b/src/ds_caselaw_utils/data/court_names.yaml index d0b7661..d9545e4 100644 --- a/src/ds_caselaw_utils/data/court_names.yaml +++ b/src/ds_caselaw_utils/data/court_names.yaml @@ -8,7 +8,6 @@ ncn: \[(\d{4})\] (UKSC) (\d+) param: "uksc" start_year: 2014 - end_year: 2022 selectable: true listable: true - name: privy_council @@ -21,7 +20,6 @@ ncn: \[(\d{4})\] (UKPC) (\d+) param: "ukpc" start_year: 2014 - end_year: 2022 selectable: true listable: true - name: court_of_appeal @@ -35,7 +33,6 @@ ncn: \[(\d{4})\] (EWCA) (Civ) (\d+) param: "ewca/civ" start_year: 2003 - end_year: 2022 selectable: true listable: true - code: EWCA-Criminal @@ -45,7 +42,6 @@ ncn: \[(\d{4})\] (EWCA) (Crim) (\d+) param: "ewca/crim" start_year: 2003 - end_year: 2022 selectable: true listable: true - name: high_court @@ -59,7 +55,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((Admin)\) param: "ewhc/admin" start_year: 2003 - end_year: 2022 selectable: true listable: true - code: EWHC-KBD-Admin @@ -69,7 +64,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((Admin)\) param: "ewhc/admin" start_year: 2022 - end_year: 2022 selectable: false listable: false - code: EWHC-QBD-Admiralty @@ -79,7 +73,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((Admlty)\) param: "ewhc/admlty" start_year: 2003 - end_year: 2022 selectable: true listable: true - code: EWHC-KBD-Admiralty @@ -89,7 +82,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((Admlty)\) param: "ewhc/admlty" start_year: 2022 - end_year: 2022 selectable: false listable: false - code: EWHC-QBD-BusinessAndProperty @@ -129,7 +121,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((Ch)\) param: "ewhc/ch" start_year: 2003 - end_year: 2022 selectable: true listable: true - code: EWHC-QBD-Commercial-Circuit @@ -153,7 +144,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((Comm)\) param: "ewhc/comm" start_year: 2003 - end_year: 2022 selectable: true listable: true - code: EWHC-KBD-Commercial @@ -163,7 +153,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((Comm)\) param: "ewhc/comm" start_year: 2022 - end_year: 2022 selectable: false listable: false - code: EWHC-Family @@ -173,7 +162,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((Fam)\) param: "ewhc/fam" start_year: 2003 - end_year: 2022 selectable: true listable: true - code: EWHC-QBD-Commercial-Financial @@ -209,7 +197,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((IPEC)\) param: "ewhc/ipec" start_year: 2003 - end_year: 2022 selectable: true listable: true - code: EWHC-Chancery-IntellectualProperty @@ -226,7 +213,6 @@ param: "ewhc/kb" extra_params: ["ewhc/qb"] start_year: 2003 - end_year: 2022 selectable: true listable: false - code: EWHC-KBD @@ -236,7 +222,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((KB)\) param: "ewhc/kb" start_year: 2022 - end_year: 2022 selectable: false listable: true - code: EWHC-Mercantile @@ -256,7 +241,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((Pat)\) param: "ewhc/pat" start_year: 2003 - end_year: 2022 selectable: true listable: true - code: EWHC-QBD @@ -295,7 +279,6 @@ param: "ewhc/scco" extra_params: ["ewhc/costs"] start_year: 2003 - end_year: 2022 selectable: true listable: true - code: EWHC-QBD-TCC @@ -305,7 +288,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((TCC)\) param: "ewhc/tcc" start_year: 2003 - end_year: 2022 selectable: true listable: true - code: EWHC-KBD-TCC @@ -315,7 +297,6 @@ ncn: \[(\d{4})\] (EWHC) (\d+) \((TCC)\) param: "ewhc/tcc" start_year: 2022 - end_year: 2022 selectable: false listable: false - name: lower_courts @@ -328,7 +309,6 @@ ncn: \[(\d{4})\] (EWCR) (\d+) param: "ewcr" start_year: 2024 - end_year: 2024 selectable: false listable: false - code: "EWCC" @@ -337,7 +317,6 @@ ncn: \[(\d{4})\] (EWCC) (\d+) param: "ewcc" start_year: 2024 - end_year: 2024 selectable: true listable: true - code: EWFC @@ -346,7 +325,6 @@ ncn: \[(\d{4})\] (EWFC) (\d+) param: "ewfc" start_year: 2009 - end_year: 2022 selectable: true listable: true - code: "EWFC-B" @@ -356,7 +334,6 @@ ncn: \[(\d{4})\] (EWFC) (B) (\d+) param: "ewfc/b" start_year: 2009 - end_year: 2022 selectable: false listable: false - code: EWCOP @@ -365,7 +342,6 @@ ncn: \[(\d{4})\] (EWCOP) (\d+) param: "ewcop" start_year: 2009 - end_year: 2022 selectable: true listable: true - code: EWCOP-T1 @@ -374,7 +350,6 @@ ncn: \[(\d{4})\] (EWCOP) (T1) (\d+) param: "ewcop/t1" start_year: 2009 - end_year: 2022 selectable: false listable: false - code: EWCOP-T2 @@ -383,7 +358,6 @@ ncn: \[(\d{4})\] (EWCOP) (T2) (\d+) param: "ewcop/t2" start_year: 2009 - end_year: 2022 selectable: false listable: false - code: EWCOP-T3 @@ -392,7 +366,6 @@ ncn: \[(\d{4})\] (EWCOP) (T3) (\d+) param: "ewcop/t3" start_year: 2009 - end_year: 2022 selectable: false listable: false @@ -408,7 +381,6 @@ listable: true param: "ukiptrib" start_year: 2024 - end_year: 2024 - name: employment_appeal_tribunal display_name: ~ @@ -422,7 +394,6 @@ listable: true param: "eat" start_year: 2021 - end_year: 2022 - name: upper_tribunals display_name: "Upper Tribunals" is_tribunal: true @@ -436,7 +407,6 @@ listable: true param: "ukut/aac" start_year: 2022 - end_year: 2022 - code: UKUT-IAC grouped_name: Immigration and Asylum Chamber name: Upper Tribunal (Immigration and Asylum Chamber) @@ -447,7 +417,6 @@ param: "ukut/iac" extra_params: ["ukait"] start_year: 2003 - end_year: 2022 - code: UKAIT selectable: false listable: false @@ -466,7 +435,6 @@ listable: true param: "ukut/lc" start_year: 2015 - end_year: 2022 - code: UKUT-TCC grouped_name: Tax and Chancery Chamber name: Upper Tribunal (Tax and Chancery Chamber) @@ -476,7 +444,6 @@ listable: true param: "ukut/tcc" start_year: 2017 - end_year: 2022 - name: first_tier_tribunals display_name: "First-tier Tribunals" is_tribunal: true @@ -486,7 +453,6 @@ name: First-tier Tribunal (Employment Tribunal) link: https://www.gov.uk/courts-tribunals/employment-tribunal start_year: 2022 - end_year: 2022 selectable: false listable: false - code: UKFTT-GRC @@ -496,7 +462,6 @@ link: https://www.gov.uk/courts-tribunals/first-tier-tribunal-general-regulatory-chamber ncn: \[(\d{4})\] (UKFTT) (\d+) \((GRC)\) start_year: 2022 - end_year: 2022 selectable: true listable: true jurisdictions: @@ -552,6 +517,5 @@ ncn: \[(\d{4})\] (UKFTT) (\d+) \((TC)\) param: "ukftt/tc" start_year: 2022 - end_year: 2022 selectable: true listable: true