home / cp40x

names

8 rows where case_id = 2207540

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4523041 2207540 2207540 plaintiff Hane Peter clerk   Hane, Peter, clerk 0
4523042 2207540 2207540 defendant Carter John chaplain   Carter, John, chaplain 0
4523043 2207540 2207540 defendant Smyth John chaplain   Smyth, John, chaplain 1
4523044 2207540 2207540 defendant Thynden Nicholas     Thynden, Nicholas 2
4523045 2207540 2207540 defendant Hayward William clerk   Hayward, William, clerk 3
4523046 2207540 2207540 defendant Wodwward Thomas   765981 765981 Wodwward, Thomas, of Lekhampstede 4
4523047 2207540 2207540 defendant Furneux William   585869 585869 Furneux, William, of London 5
4523048 2207540 2207540 defendant Margerye John   765982 765982 Margerye, John, of Lekhamstede 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 14.975ms