From a604de93263822027988a1ef43862f99864f82f4 Mon Sep 17 00:00:00 2001 From: William Palin Date: Mon, 27 Jan 2025 10:00:52 -0500 Subject: [PATCH 1/2] fix(courts): inconsistency in jurisdiction fields --- courts_db/data/courts.json | 72 ++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 42 deletions(-) diff --git a/courts_db/data/courts.json b/courts_db/data/courts.json index a2c63bb..f8f6c20 100644 --- a/courts_db/data/courts.json +++ b/courts_db/data/courts.json @@ -778,7 +778,7 @@ "American Samoa District Court" ], "id": "amsamoatc", - "jurisdiction": "American Samoa", + "jurisdiction": "A.S.", "level": "gjc", "location": "American Samoa", "locations": 1, @@ -802,7 +802,7 @@ "High Court of American Samoa" ], "id": "amsamoa", - "jurisdiction": "American Samoa", + "jurisdiction": "A.S.", "level": "colr", "location": "American Samoa", "locations": 1, @@ -1643,9 +1643,7 @@ "examples": [], "federal_circuit": 8, "id": "ard", - "jurisdiction": [ - "A.R." - ], + "jurisdiction": "A.R.", "level": "gjc", "location": "Arkansas", "name": "United States District Court for the District of Arkansas", @@ -1773,9 +1771,7 @@ "examples": [], "federal_circuit": 9, "id": "caed", - "jurisdiction": [ - "C.A." - ], + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "United States District Court for the Eastern District of California", @@ -1812,9 +1808,7 @@ ], "federal_circuit": 9, "id": "cand", - "jurisdiction": [ - "C.A." - ], + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "United States District Court for the Northern District of California", @@ -1861,9 +1855,7 @@ ], "federal_circuit": 9, "id": "casd", - "jurisdiction": [ - "C.A." - ], + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "United States District Court for the Southern District of California", @@ -1956,7 +1948,7 @@ ], "examples": [], "id": "calctapp5d", - "jurisdiction": "CA", + "jurisdiction": "C.A.", "level": "iac", "location": "California", "name": "California Court of Appeal, Fifth Appellate District", @@ -1981,7 +1973,7 @@ ], "examples": [], "id": "calctapp1d", - "jurisdiction": "CA", + "jurisdiction": "C.A.", "level": "iac", "location": "California", "name": "California Court of Appeal, First Appellate District", @@ -2009,7 +2001,7 @@ ], "examples": [], "id": "calctapp4d", - "jurisdiction": "CA", + "jurisdiction": "C.A.", "level": "iac", "location": "California", "name": "California Court of Appeal, Fourth Appellate District", @@ -2035,7 +2027,7 @@ ], "examples": [], "id": "calctapp2d", - "jurisdiction": "CA", + "jurisdiction": "C.A.", "level": "iac", "location": "California", "name": "California Court of Appeal, Second Appellate District", @@ -2061,7 +2053,7 @@ ], "examples": [], "id": "calctapp6d", - "jurisdiction": "CA", + "jurisdiction": "C.A.", "level": "iac", "location": "California", "name": "California Court of Appeal, Sixth Appellate District", @@ -2085,7 +2077,7 @@ ], "examples": [], "id": "calctapp3d", - "jurisdiction": "CA", + "jurisdiction": "C.A.", "level": "iac", "location": "California", "name": "California Court of Appeal, Third Appellate District", @@ -2107,7 +2099,7 @@ ], "examples": [], "id": "caldistct", - "jurisdiction": "Cal.", + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "California District Court", @@ -2129,7 +2121,7 @@ ], "examples": [], "id": "montereydistct", - "jurisdiction": "Cal.", + "jurisdiction": "C.A.",, "level": "gjc", "location": "California", "name": "Monterey District Court", @@ -2149,7 +2141,7 @@ ], "examples": [], "id": "placerdistct", - "jurisdiction": "Cal.", + "jurisdiction": "C.A.",, "level": "gjc", "location": "California", "name": "Placer District Court", @@ -2169,7 +2161,7 @@ ], "examples": [], "id": "sacdistct", - "jurisdiction": "Cal.", + "jurisdiction": "C.A.",, "level": "gjc", "location": "California", "name": "Sacramento District Court", @@ -2189,7 +2181,7 @@ ], "examples": [], "id": "sfdistct", - "jurisdiction": "Cal.", + "jurisdiction": "C.A.",, "level": "gjc", "location": "California", "name": "San Francisco District Court", @@ -2209,7 +2201,7 @@ ], "examples": [], "id": "santacruzdistct", - "jurisdiction": "Cal.", + "jurisdiction": "C.A.",, "level": "gjc", "location": "California", "name": "Santa Cruz District Court", @@ -2229,7 +2221,7 @@ ], "examples": [], "id": "shastadistct", - "jurisdiction": "Cal.", + "jurisdiction": "C.A.",, "level": "gjc", "location": "California", "name": "Shasta District Court", @@ -2249,7 +2241,7 @@ ], "examples": [], "id": "siskiyoudistct", - "jurisdiction": "Cal.", + "jurisdiction": "C.A.",, "level": "gjc", "location": "California", "name": "Siskiyou District Court", @@ -2269,7 +2261,7 @@ ], "examples": [], "id": "trinitydistct", - "jurisdiction": "Cal.", + "jurisdiction": "C.A.",, "level": "gjc", "location": "California", "name": "Trinity District Court", @@ -2289,7 +2281,7 @@ ], "examples": [], "id": "yrekadistct", - "jurisdiction": "Cal.", + "jurisdiction": "C.A.",, "level": "gjc", "location": "California", "name": "Yreka District Court", @@ -2309,7 +2301,7 @@ ], "examples": [], "id": "yubadistct", - "jurisdiction": "Cal.", + "jurisdiction": "C.A.",, "level": "gjc", "location": "California", "name": "Yuba District Court", @@ -2361,7 +2353,7 @@ "California Superior Court County of Los Angeles" ], "id": "calsuppctla", - "jurisdiction": "CA", + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "Los Angeles Superior Court", @@ -2391,7 +2383,7 @@ "Superior Court in and for the City and County of San Francisco, State of California" ], "id": "calsuppctsf", - "jurisdiction": "CA", + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "San Francisco Superior Court", @@ -2686,9 +2678,7 @@ ], "federal_circuit": 9, "id": "cacd", - "jurisdiction": [ - "C.A." - ], + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "United States District Court for the Central District of California", @@ -2724,9 +2714,7 @@ "examples": [], "federal_circuit": 9, "id": "californiad", - "jurisdiction": [ - "C.A." - ], + "jurisdiction": "C.A.",, "level": "gjc", "location": "California", "name": "United States District Court for the District of California", @@ -10558,7 +10546,7 @@ ], "federal_circuit": 11, "id": "ca11", - "jurisdiction": "ca11", + "jurisdiction": null, "level": "iac", "location": "Georgia", "lower_courts": [ @@ -10651,7 +10639,7 @@ "Superior Court of Guam" ], "id": "superctguam", - "jurisdiction": "Guam", + "jurisdiction": "G.U.", "level": "gjc", "location": "Guam", "locations": 1, @@ -10675,7 +10663,7 @@ "Supreme Court of Guam" ], "id": "guam", - "jurisdiction": "Guam", + "jurisdiction": "G.U.", "level": "colr", "location": "Guam", "locations": 1, From 283fae93045b42cd5b88be769d4dd824ecb7052e Mon Sep 17 00:00:00 2001 From: William Palin Date: Mon, 27 Jan 2025 10:03:31 -0500 Subject: [PATCH 2/2] fix(courts): Typo and tests errant commas --- courts_db/data/courts.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/courts_db/data/courts.json b/courts_db/data/courts.json index f8f6c20..bf26453 100644 --- a/courts_db/data/courts.json +++ b/courts_db/data/courts.json @@ -2121,7 +2121,7 @@ ], "examples": [], "id": "montereydistct", - "jurisdiction": "C.A.",, + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "Monterey District Court", @@ -2141,7 +2141,7 @@ ], "examples": [], "id": "placerdistct", - "jurisdiction": "C.A.",, + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "Placer District Court", @@ -2161,7 +2161,7 @@ ], "examples": [], "id": "sacdistct", - "jurisdiction": "C.A.",, + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "Sacramento District Court", @@ -2181,7 +2181,7 @@ ], "examples": [], "id": "sfdistct", - "jurisdiction": "C.A.",, + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "San Francisco District Court", @@ -2201,7 +2201,7 @@ ], "examples": [], "id": "santacruzdistct", - "jurisdiction": "C.A.",, + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "Santa Cruz District Court", @@ -2221,7 +2221,7 @@ ], "examples": [], "id": "shastadistct", - "jurisdiction": "C.A.",, + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "Shasta District Court", @@ -2241,7 +2241,7 @@ ], "examples": [], "id": "siskiyoudistct", - "jurisdiction": "C.A.",, + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "Siskiyou District Court", @@ -2261,7 +2261,7 @@ ], "examples": [], "id": "trinitydistct", - "jurisdiction": "C.A.",, + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "Trinity District Court", @@ -2281,7 +2281,7 @@ ], "examples": [], "id": "yrekadistct", - "jurisdiction": "C.A.",, + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "Yreka District Court", @@ -2301,7 +2301,7 @@ ], "examples": [], "id": "yubadistct", - "jurisdiction": "C.A.",, + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "Yuba District Court", @@ -2714,7 +2714,7 @@ "examples": [], "federal_circuit": 9, "id": "californiad", - "jurisdiction": "C.A.",, + "jurisdiction": "C.A.", "level": "gjc", "location": "California", "name": "United States District Court for the District of California",