home / cp40x

names

8 rows where case_id = 2279971

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4748154 2279971 2279971 plaintiff Lyle William     Lyle, William 0
4748155 2279971 2279971 defendant Mustard Walter   603462 603462 Mustard, Walter, of Reading, Berks, bailiff 0
4748156 2279971 2279971 defendant Russhebrok John   586852 586852 Russhebrok, John, of Twyford, bailiff 1
4748157 2279971 2279971 defendant Fashakerley Simon   585882 585882 Fashakerley, Simon, of Wokyngham, bailiff 2
4748158 2279971 2279971 defendant Havyle William   781129 781129 Havyle, William, of Mulsford, bailiff 3
4748159 2279971 2279971 defendant Burton William   609982 609982 Burton, William, of Henle on Thames, Oxon, bailiff 4
4748160 2279971 2279971 defendant Otale John   795867 795867 Otale, John, of Wyghtam, Berks, bailiff 5
4748161 2279971 2279971 defendant Pleystowe Richard   589060 589060 Pleystowe, Richard, of Wantynge, bailiff 6

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 15.73ms