home / cp40x

names

8 rows where case_id = 2198972

✎ 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
4494500 2198972 2198972 plaintiff Bowet Thomas     Bowet, Thomas 0
4494501 2198972 2198972 defendant Irland William de piper   Irland, William de, piper 0
4494502 2198972 2198972 defendant Cokes Ellis     Cokes, Ellis 1
4494503 2198972 2198972 defendant Alanby William de, junior     Alanby, William de, junior 2
4494504 2198972 2198972 defendant (not given) Adam vicar of Deram   Deram, Adam, vicar of 3
4494505 2198972 2198972 defendant Clifton Adam de   752218 752218 Clifton, Adam de, of Deram 4
4494506 2198972 2198972 defendant del More Thomas   763126 763126 del More, Thomas, of Bothil 5
4494507 2198972 2198972 defendant Malthous John   763127 763127 Malthous, John, of Kirkland 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 13.326ms